| От | Tom Lane |
|---|---|
| Тема | Re: Performance problem on 8.2.4, but not 8.2.3 |
| Дата | |
| Msg-id | 21464.1180125226@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Performance problem on 8.2.4, but not 8.2.3 ("Steinar H. Gunderson" <sgunderson@bigfoot.com>) |
| Ответы |
Re: Performance problem on 8.2.4, but not 8.2.3
|
| Список | pgsql-performance |
"Steinar H. Gunderson" <sgunderson@bigfoot.com> writes:
> It looks like the estimated cost is lower for 8.2.4 -- could it be that the
> fact that he's giving it more memory lead to the planner picking a plan that
> happens to be worse?
Offhand I don't think so. More work_mem might make a hash join look
cheaper (or a sort for a mergejoin), but the problem here seems to be
that it's switching away from a hash and to a nestloop. Which is a
loser because there are many more outer-relation rows than it's
expecting.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера