| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера