Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCwaD-0003Xk-IA for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Dec 2016 22:45:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cCwaD-0003gg-3L for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Dec 2016 22:45:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cCwaC-0003ga-NW for pgsql-hackers@postgresql.org; Fri, 02 Dec 2016 22:45:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cCwZw-0002VK-51; Fri, 02 Dec 2016 22:45:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id uB2MjBca000990; Fri, 2 Dec 2016 17:45:11 -0500 From: Tom Lane To: Jim Nasby cc: Robert Haas , Robert Haas , pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Add max_parallel_workers GUC. In-reply-to: References: <20338.1480712866@sss.pgh.pa.us> Comments: In-reply-to Jim Nasby message dated "Fri, 02 Dec 2016 14:37:13 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <988.1480718711.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 02 Dec 2016 17:45:11 -0500 Message-ID: <989.1480718711@sss.pgh.pa.us> X-Pg-Spam-Score: -4.8 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Jim Nasby 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 w= asn'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= =20 > 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 --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers