Re: Significant performance issues with array_agg() + HashAggregate plans on Postgres 17

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Significant performance issues with array_agg() + HashAggregate plans on Postgres 17
Дата
Msg-id 973a9511ab3c10d77ee46c4b2cd3bc3210a51550.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Significant performance issues with array_agg() + HashAggregate plans on Postgres 17  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On Fri, 2026-04-03 at 15:56 -0400, Tom Lane wrote:
> Would it make sense to accumulate those values in a separate field
> child_mem_allocated, rather than redefining what mem_allocated
> means?

I think so unless we can't afford the new field for some reason. It
would be convenient to have the single-context-total available when
deleting the context.

I'll try a quick patch. I'll need to be sure that we can properly
decrement the total in all paths.

Regards,
    Jeff Davis




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