Re: Questions regarding distinct operation implementation

Поиск
Список
Период
Сортировка
От Ankit Kumar Pandey
Тема Re: Questions regarding distinct operation implementation
Дата
Msg-id 8be2893b-d78c-c440-2f95-728e1b11f4d9@gmail.com
обсуждение исходный текст
Ответ на Re: Questions regarding distinct operation implementation  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Questions regarding distinct operation implementation  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers


On 04/12/22 00:50, David Rowley wrote:

We do our best to ensure that a given executor node never uses more
than work_mem.  Certainly, we still do have nodes that can exceed this
by a long way.  It would be unlikely that we'd accept anything new
that could do this.  
Makes sense, also would definitely rule out any brute force algorithms. Good point to know
providing you can code it in such a way that you only allocate one of these at once, i.e not allocate one per DISTINCT aggregate all at once.
I am not sure if I understand this, does it means at given time, do allocation for only one distinct aggregate instead of all, in case of multiple aggregates using distinct?

-- 
Regards,
Ankit Kumar Pandey

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Questions regarding distinct operation implementation
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Generate pg_stat_get_* functions with Macros