pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Jim Nasby <Jim.Nasby@BlueTreble.com>
Cc: Robert Haas <rhaas@postgresql.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Add max_parallel_workers GUC.
Date: Sat, 03 Dec 2016 11:43:02 -0500
Message-ID: <20841.1480783382@sss.pgh.pa.us> (raw)
In-Reply-To: <F9847DA0-DC8E-45EA-9252-7F7DFC7604DA@gmail.com>
References: <E1cCnDa-0003Uh-0b@gemulon.postgresql.org>
	<20338.1480712866@sss.pgh.pa.us>
	<D7EBAA2C-2B1A-4E2F-AB7C-33E20B45E444@gmail.com>
	<afd34a76-c902-7439-94e5-a7a77bb93a47@BlueTreble.com>
	<989.1480718711@sss.pgh.pa.us>
	<F9847DA0-DC8E-45EA-9252-7F7DFC7604DA@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Robert Haas <robertmhaas@gmail.com> writes:
> On Dec 2, 2016, at 5:45 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Might work.  We've had very bad luck with GUC variables with
>> interdependent defaults, but maybe the user-visible knob could be a
>> percentage of max_connections or something like that.

> Seems like overkill. Let's just reduce the values a bit.

Agreed.  How about max_worker_processes = 8 as before, with
max_parallel_workers of maybe 6?  Or just set them both to 8.
I'm not sure that the out-of-the-box configuration needs to
leave backend slots locked down for non-parallel worker processes.
Any such process would require manual configuration anyway no?

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (8+ messages)  latest in thread

Message-ID: <20841.1480783382@sss.pgh.pa.us>
Permalink:  ../20841.1480783382@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20841.1480783382@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, Jim.Nasby@BlueTreble.com, rhaas@postgresql.org, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Add max_parallel_workers GUC.
  In-Reply-To: <20841.1480783382@sss.pgh.pa.us>
  References: <E1cCnDa-0003Uh-0b@gemulon.postgresql.org> <20338.1480712866@sss.pgh.pa.us> <D7EBAA2C-2B1A-4E2F-AB7C-33E20B45E444@gmail.com> <afd34a76-c902-7439-94e5-a7a77bb93a47@BlueTreble.com> <989.1480718711@sss.pgh.pa.us> <F9847DA0-DC8E-45EA-9252-7F7DFC7604DA@gmail.com> <20841.1480783382@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox