Re: 9.5: Memory-bounded HashAgg

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: 9.5: Memory-bounded HashAgg
Дата
Msg-id 53FC55CF.9040504@vmware.com
обсуждение исходный текст
Ответ на Re: 9.5: Memory-bounded HashAgg  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: 9.5: Memory-bounded HashAgg  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
Summary of this thread so far:

There was a lot of discussion comparing this with Tomas Vondra's Hash 
Join patch. The conclusion was that while it would be nice to be able to 
dump transition state to disk, for aggregates like array_agg, the patch 
is fine as it is. Dumping transition states would require much more 
work, and this is already useful without it. Moreover, solving the 
array_agg problem later won't require a rewrite; rather, it'll build on 
top of this.

You listed a number of open items in the original post, and these are 
still outstanding:

> * costing
> * EXPLAIN details for disk usage
> * choose number of partitions intelligently
> * performance testing

I think this is enough for this commitfest - we have consensus on the 
design. For the next one, please address those open items, and resubmit.

- Heikki




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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench throttling latency limit
Следующее
От: Emre Hasegeli
Дата:
Сообщение: Re: Selectivity estimation for inet operators