parallel aggregation

Поиск
Список
Период
Сортировка
От Alexander Saydakov
Тема parallel aggregation
Дата
Msg-id CAA46WsqSxp9wt1ogxMtYAUFmFj_YcGBVirdffJD-c_wxfB+vuQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: parallel aggregation  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-general
I have a few questions regarding aggregate functions that would be parallel safe.
1. do the inputs of combinefunc always go through serialfunc-deserialfunc or they can come directly from sfunc (worker on the same machine, perhaps)?
2. can the result of combinefunc ever be fed to sfunc as opposed to other combiners or finalfunc?

I have in mind a scenario, when a different data structure is used in the combine stage. For that it would be good if the conversion can happen in serialfunc-deserialfunc, and the combiner does not even know about the other structure used for state transition during aggregation. If that is the case, the only problem remains with the finalfunc. It has to be ready to receive both types.

Thanks.

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

Предыдущее
От: Siddharth Jain
Дата:
Сообщение: Transaction Rollback errors
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: "PANIC: could not open critical system index 2662" - twice