| От | Tom Lane |
|---|---|
| Тема | Re: Inaccurate row count estimation |
| Дата | |
| Msg-id | 10684.1215709785@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Inaccurate row count estimation ("Vyacheslav Kalinin" <vka@mgcp.com>) |
| Ответы |
Re: Inaccurate row count estimation
|
| Список | pgsql-general |
"Vyacheslav Kalinin" <vka@mgcp.com> writes:
> Here is the reproduce code:
After tracing through this I see that the problem is that we don't have
statistics for inheritance trees, and so you're getting a default
estimate for the selectivity of the join condition. I'm not sure why
the similar example I tried last night didn't show a bogus-looking
rowcount estimate, but in any case the lack of stats is the real issue.
This should get fixed sometime, but don't hold your breath ...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера