Re: max_parallel_degree > 0 for 9.6 beta
От | Amit Kapila |
---|---|
Тема | Re: max_parallel_degree > 0 for 9.6 beta |
Дата | |
Msg-id | CAA4eK1Juv9is8jk_kS8u69Pd_8ojsqO6W8xWP3FewvssCY2Bgg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: max_parallel_degree > 0 for 9.6 beta (Gavin Flower <GavinFlower@archidevsys.co.nz>) |
Ответы |
Re: max_parallel_degree > 0 for 9.6 beta
|
Список | pgsql-hackers |
On Fri, Apr 22, 2016 at 1:31 AM, Gavin Flower <GavinFlower@archidevsys.co.nz> wrote:
IIUC, the idea to change max_parallel_degree for beta is to catch any bugs in parallelism code, not to do any performance testing of same. So, I think either 1 or 2 should be sufficient to hit the bugs if there are any. Do you have any reason to think that we might miss some category of bugs if we don't use higher max_parallel_degree?
With Regards,
Amit Kapila.
On 22/04/16 06:07, Robert Haas wrote:On Thu, Apr 21, 2016 at 1:48 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:I'm curious.Robert Haas <robertmhaas@gmail.com> writes:That's what Andres, thought, too. From my point of view, the bigOn Wed, Apr 20, 2016 at 2:28 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:It has to be at least 2 for beta purposes, else you are not testingAndres Freund <andres@anarazel.de> writes:So, I suggest that the only sensible non-zero values here are probablymax_parallel_degree currently defaults to 0. I think we should enable
it by default for at least the beta period. Otherwise we're primarily
going to get reports back after the release.
"1" or "2", given a default pool of 8 worker processes system-wide.
Andres told me yesterday he'd vote for "2". Any other opinions?
situations with more than one worker process at all, which would be
rather a large omission no?
thing is to be using workers at all. It is of course possible that
there could be some bugs where a single worker is not enough, but
there's a lot of types of bug where even one worker would probably
find the problem. But I'm OK with changing the default to 2.
Why not 4?
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: