Re: indexing with lower(...) -> queries are not optimised very well - Please Help
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: indexing with lower(...) -> queries are not optimised very well - Please Help |
| Дата | |
| Msg-id | 9549.1069394089@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | indexing with lower(...) -> queries are not optimised very well - Please Help (Martin Hampl <Martin.Hampl@gmx.de>) |
| Ответы |
Re: indexing with lower(...) -> queries are not optimised very well - Please Help
Re: indexing with lower(...) -> queries are not optimised very well - Please Help |
| Список | pgsql-general |
Martin Hampl <Martin.Hampl@gmx.de> writes:
> Index Scan using word_lower_idx on token (cost=0.00..98814.08
> rows=25382 width=16)
> Index Cond: (lower((word)::text) = 'saxophone'::text)
The rows estimate (and therefore also the cost estimate) is a complete
guess in this situation, because the system keeps no statistics about
the values of lower(word). Improving this situation is on the TODO list.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера