Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCzr1-0004ib-Lf for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Dec 2016 02:15:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cCzr1-00020x-8c for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Dec 2016 02:15:07 +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 1cCzr0-0001ze-4o for pgsql-hackers@postgresql.org; Sat, 03 Dec 2016 02:15:06 +0000 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cCzqx-0001B2-Nt; Sat, 03 Dec 2016 02:15:04 +0000 Received: by mail-qt0-x243.google.com with SMTP id m48so29600166qta.2; Fri, 02 Dec 2016 18:15:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-transfer-encoding :message-id:cc:from:subject:date:to; bh=clyAEAEBQXYppwRBMWsfR5Ea8ddF7dDkiFBgM66SqKI=; b=zBoB4EnWfyMAohDYihvVxPR90UaL5H8tDxKbci0s2gYh/XqfjTgU/oV81+ypAO/L1s TRz/9oOBvZrXws2JUdAVWgi8+6K98usqulfqc0acw484FE+aJ1b/Kw60no3F6SIYK45j Z/gK8DoguQQONSokYQN4vYo5Rf9lyRIRQdtoEvmLGcAwYfbDhyHI1MLpPfMjTyG6ZiZU +phb/L8owLIIo0rchAwOAu11Wrt83/QSbHQZcd/9iY52uBsSr+SLBf1gvbo7G685I9Gl 6Zv6A1QHsI5TRXoyEu0gXdMUKlwou25eYm8tbetO6zuSD8lK2WVIetOd1B/BS1FwBF/5 H4PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:mime-version:in-reply-to :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=clyAEAEBQXYppwRBMWsfR5Ea8ddF7dDkiFBgM66SqKI=; b=VgDZyuZqjAVil9cpd3PrdRxWz5eEYGP6WMj7Gan2o0GtMfXROIyQi7NOtMqYjRlPbm d0QTLSuABjZ4BjyvWvzsXlHK7qWYheq0LM/zjHO4bQWEieWv//r6X4WXCQrJHnxvNvR/ EZ9HaBMxrTfeucxHg+6AFFaehlQCe28Cw5n2QGP2x4GrBbgi1vb7EIhH3Yah5CghiLZl /6k7RFVItS0o7SqsAeR1xkhqb0kfKY3dLEO9yGrxyWHIUaraUh0fZOojoDhcC8yc690L fMkg+YRoi1VYuB9iAcZI4ns9W/pAxgfItHSxvNA55Lgcy9Ilg+0Hn5Sgl3PuBQlrFzao FWrQ== X-Gm-Message-State: AKaTC03RlZl8XuNlOb3MO3jd94TeNcvUQKnhOtL4Kj3c4Z0EAQ2yjiVO/4zxBBPvqHJRUw== X-Received: by 10.237.62.202 with SMTP id o10mr41463043qtf.2.1480731303151; Fri, 02 Dec 2016 18:15:03 -0800 (PST) Received: from [10.176.97.167] ([166.170.33.45]) by smtp.gmail.com with ESMTPSA id 46sm4030403qtw.6.2016.12.02.18.15.02 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Dec 2016 18:15:02 -0800 (PST) References: <20338.1480712866@sss.pgh.pa.us> <989.1480718711@sss.pgh.pa.us> Mime-Version: 1.0 (1.0) In-Reply-To: <989.1480718711@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: Cc: Jim Nasby , Robert Haas , pgsql-hackers@postgresql.org X-Mailer: iPhone Mail (13G35) From: Robert Haas Subject: Re: [COMMITTERS] pgsql: Add max_parallel_workers GUC. Date: Fri, 2 Dec 2016 21:15:01 -0500 To: Tom Lane X-Pg-Spam-Score: -2.7 (--) 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 On Dec 2, 2016, at 5:45 PM, Tom Lane wrote: > 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 = wasn't the way to get there. Or else we should just give up on that thought. >=20 >> Could the defaults be scaled based on max_connections, with a max on the= =20 >> default? >=20 > 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 --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers