Re: [PERFORM] Estimation problem with a LIKE clause containing a /

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: [PERFORM] Estimation problem with a LIKE clause containing a /
Дата
Msg-id 1d4e0c10711091257w401c95f4s5f63ae32daecd14e@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PERFORM] Estimation problem with a LIKE clause containing a /  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom,

Just to confirm you that your last commit fixed the problem:

lbo=# explain analyze select * from cms_items where ancestors LIKE '1062/%';
                                                  QUERY PLAN
---------------------------------------------------------------------------------------------------------------
 Seq Scan on cms_items  (cost=0.00..688.26 rows=*9097* width=103)
(actual time=0.011..22.605 rows=11326 loops=1)
   Filter: ((ancestors)::text ~~ '1062/%'::text)
 Total runtime: 30.022 ms
(3 rows)

Thanks for your time.

--
Guillaume

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Latest xml patch breaks some of the buildfarm
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: last note to rewrite function