| От | Tom Lane |
|---|---|
| Тема | Re: performace problem after VACUUM ANALYZE |
| Дата | |
| Msg-id | 8000.1045242018@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | performace problem after VACUUM ANALYZE (Scott Cain <cain@cshl.org>) |
| Ответы |
Re: performace problem after VACUUM ANALYZE
|
| Список | pgsql-performance |
Scott Cain <cain@cshl.org> writes:
> [ much stuff ]
Could we see EXPLAIN ANALYZE, not just EXPLAIN, output for all these
alternatives? Your question boils down to "why is the planner
misestimating these queries" ... which is a difficult question to
answer when given only the estimates and not the reality.
A suggestion though is that you might need to raise the statistics
target on the indexed columns, so that ANALYZE will collect
finer-grained statistics. (See ALTER TABLE ... SET STATISTICS.)
Try booting it up to 100 (from the default 10), re-analyze, and
then see if/how the plans change.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера