pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
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: Fri, 2 Dec 2016 21:15:01 -0500
Message-ID: <F9847DA0-DC8E-45EA-9252-7F7DFC7604DA@gmail.com> (raw)
In-Reply-To: <989.1480718711@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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Dec 2, 2016, at 5:45 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Jim Nasby <Jim.Nasby@BlueTreble.com> writes:
>>> On 12/2/16 2:34 PM, Robert Haas wrote:
>>> Signs point to "no".  It seemed like a good idea to leave some daylight between max_parallel_workers and max_worker_processes, but evidently this wasn't the way to get there. Or else we should just give up on that thought.
> 
>> Could the defaults be scaled based on max_connections, with a max on the 
>> default?
> 
> 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.

...Robert

-- 
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: <F9847DA0-DC8E-45EA-9252-7F7DFC7604DA@gmail.com>
Permalink:  ../F9847DA0-DC8E-45EA-9252-7F7DFC7604DA@gmail.com/
Also on:    postgresql.org/message-id/F9847DA0-DC8E-45EA-9252-7F7DFC7604DA@gmail.com

 · 

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: robertmhaas@gmail.com, tgl@sss.pgh.pa.us, Jim.Nasby@BlueTreble.com, rhaas@postgresql.org, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Add max_parallel_workers GUC.
  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>

* 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