Re: Query much slower after upgrade to 9.6.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query much slower after upgrade to 9.6.1
Дата
Msg-id 3809.1478546209@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Query much slower after upgrade to 9.6.1  (Adam Brusselback <adambrusselback@gmail.com>)
Ответы Re: Query much slower after upgrade to 9.6.1  (Adam Brusselback <adambrusselback@gmail.com>)
Список pgsql-performance
Adam Brusselback <adambrusselback@gmail.com> writes:
> As suggested in the Postgres slack channel by lukasfittl, I disabled
> hashagg on my old server, and ran the query again. That changed one piece
> to a groupagg (like was used on the new server) and the performance was
> similar to the 9.6.1 box.

If the problem is "new server won't use hashagg", I'd wonder whether
the work_mem setting is the same, or whether maybe you need to bump
it up some (the planner's estimate of how big the hashtable would be
might have changed a bit).

            regards, tom lane


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

Предыдущее
От: Adam Brusselback
Дата:
Сообщение: Re: Query much slower after upgrade to 9.6.1
Следующее
От: Adam Brusselback
Дата:
Сообщение: Re: Query much slower after upgrade to 9.6.1