| От | Tom Lane |
|---|---|
| Тема | Re: Use my (date) index, darn it! |
| Дата | |
| Msg-id | 22764.1073285743@sss.pgh.pa.us обсуждение |
| Ответ на | Use my (date) index, darn it! (John Siracusa <siracusa@mindspring.com>) |
| Ответы |
Re: Use my (date) index, darn it!
|
| Список | pgsql-performance |
John Siracusa <siracusa@mindspring.com> writes:
> Obviously the planner is making some bad choices here.
A fair conclusion ...
> I know that it is trying to avoid random seeks or other scary things
> implied by a "correlation" statistic that is not close to 1 or -1, but
> it is massively overestimating the hit caused by those seeks and
> seemingly not taking into account the size of the table!
You haven't given any evidence to support these conclusions, though.
Could we see some table schemas, EXPLAIN ANALYZE output, and relevant
pg_stats entries for the various cases?
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера