Re: Spilling hashed SetOps and aggregates to disk

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Spilling hashed SetOps and aggregates to disk
Дата
Msg-id CAKJS1f94FsCbV0fqvT-tTP4F50JG0uVN7-+rZ1ddwunn7qU9Qw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Spilling hashed SetOps and aggregates to disk  (Andres Freund <andres@anarazel.de>)
Ответы Re: Spilling hashed SetOps and aggregates to disk  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 6 June 2018 at 00:45, Andres Freund <andres@anarazel.de> wrote:
> On 2018-06-05 09:35:13 +0200, Tomas Vondra wrote:
>> I wonder if an aggregate might use a custom context
>> internally (I don't recall anything like that). The accounting capability
>> seems potentially useful for other places, and those might not use AllocSet
>> (or at least not directly).
>
> Yea, that seems like a big issue.

Unfortunately, at least one of the built-in ones do. See initArrayResultArr.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Spilling hashed SetOps and aggregates to disk
Следующее
От: Dmitry Dolgov
Дата:
Сообщение: Re: why partition pruning doesn't work?