| От | Terje Elde |
|---|---|
| Тема | Re: Performance With Joins on Large Tables |
| Дата | |
| Msg-id | 45085F3A.1040108@elde.net обсуждение исходный текст |
| Ответ на | Re: Performance With Joins on Large Tables (Jeff Davis <pgsql@j-davis.com>) |
| Ответы |
Re: Performance With Joins on Large Tables
|
| Список | pgsql-performance |
Jeff Davis wrote: > Is it overestimating the cost of using indexes or underestimating the > cost of a seq scan, or both? Maybe explain with the 0.1 setting will > help? > If enable_seqscan is off, and cost is still set to 100000000, it could be that it's quite simply forcibly underestimating the cost of a seqscan in this case. If enable_secscan was off for the mentioned plan, it'd be interesting to see if things would be saner with seqscans enabled, and a more reasonable random page cost. If more 'sane' values still produce the desired plan, it might be better for other plans etc. Terje
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера