Re: Push down Aggregates below joins

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: Push down Aggregates below joins
Дата
Msg-id 232cda0a-00b1-c375-b595-2bb0460b43a0@2ndquadrant.com
обсуждение исходный текст
Ответ на Push down Aggregates below joins  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On 06/20/2018 10:12 PM, Heikki Linnakangas wrote:
> Currently, the planner always first decides the scan/join order, and
> adds Group/Agg nodes on top of the joins. Sometimes it would be legal,
> and beneficial, to perform the aggregation below a join. I've been
> hacking on a patch to allow that.
> 

There was a patch [1] from Antonin Houska aiming to achieve something
similar. IIRC it aimed to push the aggregate down in more cases,
leveraging the partial aggregation stuff. I suppose your patch only aims
to do the pushdown when the two-phase aggregation is not needed?

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [Proposal] Table-level Transparent Data Encryption (TDE) and KeyManagement Service (KMS)
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Push down Aggregates below joins