pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jim Nasby <Jim.Nasby@BlueTreble.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Robert Haas <rhaas@postgresql.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Add max_parallel_workers GUC.
Date: Fri, 02 Dec 2016 17:45:11 -0500
Message-ID: <989.1480718711@sss.pgh.pa.us> (raw)
In-Reply-To: <afd34a76-c902-7439-94e5-a7a77bb93a47@BlueTreble.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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

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.

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

* 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