| От | Tom Lane |
|---|---|
| Тема | Re: BUG #8598: Row count estimates of partial indexes |
| Дата | |
| Msg-id | 16493.1384719519@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #8598: Row count estimates of partial indexes (Marko Tiikkaja <marko@joh.to>) |
| Ответы |
Re: BUG #8598: Row count estimates of partial indexes
|
| Список | pgsql-bugs |
Marko Tiikkaja <marko@joh.to> writes:
> Any suggestions for a workaround? When reading this index as a part of
> a bigger query the horrible estimate ensures that nobody's having fun.
Why is the estimate so bad? I suppose the answer is that those two
columns are very strongly correlated. Maybe you could refactor your
data representation to avoid that?
The long-term answer as far as Postgres is concerned is to learn about
cross-column correlations, but that's not happening in the near future.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера