Re: Rethinking representation of partial-aggregate steps

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Rethinking representation of partial-aggregate steps
Дата
Msg-id CANP8+jJcxwGifuy+3ojjLOppNC=wSCLf88NLG8DzZA9-Mt_8QA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Rethinking representation of partial-aggregate steps  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 23 June 2016 at 18:31, Robert Haas <robertmhaas@gmail.com> wrote:

Sure, but aggregating as early as possible will often have the effect
of dramatically reducing the number of tuples that have to pass
through upper levels of the plan tree, which seems it would frequently
far outweigh those considerations. 

Agreed

I can imagine plans where a useful aggregation occurs before every join, so N > 2 is easily possible.

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

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Bug in to_timestamp().
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Rethinking representation of partial-aggregate steps