Re: Parallel Aggregate
От | David Rowley |
---|---|
Тема | Re: Parallel Aggregate |
Дата | |
Msg-id | CAKJS1f-RaS=iNCOML_TDo1qF5V=EDPD0LR1tXWCAsu4Wgv0MYw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Parallel Aggregate (James Sewell <james.sewell@lisasoft.com>) |
Ответы |
Re: Parallel Aggregate
Re: Parallel Aggregate |
Список | pgsql-hackers |
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. There is also a comment in that function which states: /* * Limit the degree of parallelism logarithmically based on the size of the * relation. This probably needs to be a good deal more sophisticated, but we * need something here for now. */ So this will likely see some revision at some point, after 9.6. -- David Rowley http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: