Re: Parallel Aggregate

Поиск
Список
Период
Сортировка
От Paul Ramsey
Тема Re: Parallel Aggregate
Дата
Msg-id CACowWR1CNsuCv4t=C-eRmtx3vH34fqpK8boCOOptO413Ar5eyQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Parallel Aggregate  (David Rowley <david.rowley@2ndquadrant.com>)
Ответы Re: Parallel Aggregate  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Sun, Mar 13, 2016 at 7:31 PM, David Rowley
<david.rowley@2ndquadrant.com> wrote:
> On 14 March 2016 at 14:52, James Sewell <james.sewell@lisasoft.com> wrote:
>> One question - how is the upper limit of workers chosen?
>
> See create_parallel_paths() in allpaths.c. Basically the bigger the
> relation (in pages) the more workers will be allocated, up until
> max_parallel_degree.

Does the cost of the aggregate function come into this calculation at
all? In PostGIS land, much smaller numbers of rows can generate loads
that would be effective to parallelize (worker time much >> than
startup cost).

P



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

Предыдущее
От: Vladimir Borodin
Дата:
Сообщение: Re: Background Processes and reporting
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Background Processes and reporting