Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7pDh-0004P0-Fe for pgsql-hackers@arkaria.postgresql.org; Tue, 31 May 2016 19:20:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b7pDg-0001o7-SN for pgsql-hackers@arkaria.postgresql.org; Tue, 31 May 2016 19:20:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b7pCL-0000E6-7q for pgsql-hackers@postgresql.org; Tue, 31 May 2016 19:19:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b7pCI-0006nH-N0 for pgsql-hackers@postgresql.org; Tue, 31 May 2016 19:19:28 +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 u4VJJHJD024080; Tue, 31 May 2016 15:19:17 -0400 From: Tom Lane To: Josh berkus cc: Peter Eisentraut , Peter Geoghegan , Robert Haas , Noah Misch , David Rowley , Amit Kapila , Alvaro Herrera , Magnus Hagander , Bruce Momjian , PostgreSQL-development Subject: Re: Rename max_parallel_degree? In-reply-to: <22988.1464720407@sss.pgh.pa.us> References: <20160426152217.GA548975@alvherre.pgsql> <574DC881.5010006@agliodbs.com> <574DCDFC.6060506@agliodbs.com> <574DD1CE.2000307@agliodbs.com> <574DD! 64A.9090600@agliodbs.com> <22406.1464719396@sss.pgh.pa.us> <574DDA26.8050104@agliodbs.com> <22988.1! 464720407@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Tue, 31 May 2016 14:46:47 -0400" Date: Tue, 31 May 2016 15:19:17 -0400 Message-ID: <24079.1464722357@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) 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 I wrote: > At the risk of opening another can of worms, what about renaming > max_worker_processes as well? It would be a good thing if that > had "cluster" in it somewhere, or something that indicates it's a > system-wide value not a per-session value. "max_workers_per_cluster" > would answer, though I'm not in love with it particularly. Actually, after a bit more thought, maybe "max_background_workers" would be a good name? That matches its existing documentation more closely: Sets the maximum number of background processes that the system can support. This parameter can only be set at server start. The default is 8. However, that would still leave us with max_background_workers as the cluster-wide limit and max_parallel_workers as the per-query-node limit. That naming isn't doing all that much to clarify the distinction. 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