Re: Different query plans on same servers

Поиск
Список
Период
Сортировка
От Mario Splivalo
Тема Re: Different query plans on same servers
Дата
Msg-id 4EDEB21D.3030703@megafon.hr
обсуждение исходный текст
Ответ на Re: Different query plans on same servers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On 12/06/2011 09:00 PM, Tom Lane wrote:
> 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).

They do, I guess. I did rsync postgres datadir from the prod server to
the test server. The only difference is that prod server was a bit more
loaded than the test server.

    Mario

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

Предыдущее
От: Havasvölgyi Ottó
Дата:
Сообщение: Response time increases over time
Следующее
От: Mario Splivalo
Дата:
Сообщение: Re: Different query plans on same servers