From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Josh berkus <josh(at)agliodbs(dot)com> |
Cc: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Peter Geoghegan <pg(at)heroku(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Rename max_parallel_degree? |
Date: | 2016-05-31 18:29:56 |
Message-ID: | 22406.1464719396@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Josh berkus <josh(at)agliodbs(dot)com> writes:
> One more consistency question: what's the effect of running out of
> max_parallel_workers?
ITYM max_worker_processes (ie, the cluster-wide pool size)?
> That is, say max_parallel_workers is set to 10, and 8 are already
> allocated. If I ask for max_parallel_X = 4, how many cores to I use?
One of my reasons for liking max_parallel_workers is that you can sensibly
compare it to max_worker_processes to figure out how many workers you're
likely to get. If you think in terms of "degree" it takes some additional
mental arithmetic to understand what will happen.
> Presumably the leader isn't counted towards max_parallel_workers?
Not under what I'm proposing.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Josh berkus | 2016-05-31 18:37:30 | Re: Rename max_parallel_degree? |
Previous Message | David G. Johnston | 2016-05-31 18:29:12 | Re: Rename max_parallel_degree? |