Re: Selectivity estimation for equality and range queries
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Selectivity estimation for equality and range queries |
| Дата | |
| Msg-id | 4454.1198862966@sss.pgh.pa.us обсуждение |
| Ответ на | Selectivity estimation for equality and range queries (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: Selectivity estimation for equality and range queries
|
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> I have been observing a case where the row count estimation for LIKE 'foo' is
> (much) higher than for LIKE 'foo%', the rest of the query being the same.
> This is a special case of the estimation for equality being higher than for a
> range query that includes the value used in the equality.
Not really --- LIKE estimation is only weakly related to range
estimation.
Relevant questions here include exactly which PG version is in use and
what's the database encoding/locale. If it's not C locale, the fixes
I made in selfuncs.c during November might be relevant.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера