Re: Different query plans on same servers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Different query plans on same servers
Дата
Msg-id 14289.1323201649@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Different query plans on same servers  (Mario Splivalo <mario.splivalo@megafon.hr>)
Ответы Re: Different query plans on same servers  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: Different query plans on same servers  (Mario Splivalo <mario.splivalo@megafon.hr>)
Re: Different query plans on same servers  (Mario Splivalo <mario.splivalo@megafon.hr>)
Список pgsql-performance
Mario Splivalo <mario.splivalo@megafon.hr> writes:
> I have 8.4.8 on producion and 8.4.9 on test, could that explain the
> difference in plans chosen?

I'd wonder first if you have the same statistics settings on both.
The big problem here is that the estimation of the join size is bad
(8588 versus 0).

            regards, tom lane

В списке pgsql-performance по дате отправления:

Предыдущее
От: Mario Splivalo
Дата:
Сообщение: Different query plans on same servers
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Different query plans on same servers