pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Josh berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: David Rowley <david.rowley@2ndquadrant.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Rename max_parallel_degree?
Date: Tue, 31 May 2016 10:10:29 -0700
Message-ID: <574DC585.7010507@agliodbs.com> (raw )
In-Reply-To: <WM!fa29cdfaada6f23ea036083b3b09c992113c0dd0d39c12a9cb6f842c5da62c7ec3f6f29cf1a792b4d2a344288b7c1492!@mailstronghold-2.zmailcloud.com >
References: <20160426152217.GA548975@alvherre.pgsql >
<8309.1461684889@sss.pgh.pa.us >
<CA+Tgmoa7uxyQ=gCgTUpzhc5V+biZspi9Cot8v0S96LiATgnoYQ@mail.gmail.com >
<8684.1461685466@sss.pgh.pa.us >
<CA+TgmoYKkQigU+LeqVREnUvvd5eDx0ju8-i_QexbX_+BV0p0Fw@mail.gmail.com >
<CA+TgmobRmK649eDYvF6dgnQJNJVJvZffDz674wD+GWqCcb=YjQ@mail.gmail.com >
<CAA4eK1K9jEnnEs_xxR0b5MH_8RTybe22DfkufL=ksX2o-ZqCMw@mail.gmail.com >
<CAKJS1f_kijB4EPpUrML2q=pourNnQB+WOdBuCCBSDc27BK_gvw@mail.gmail.com >
<CA+TgmoYjMmSx93onaoOSrWcsNHmD2GOegfyrKoJs=1tbhUMHeg@mail.gmail.com >
<20160529053300.GD496776@tornado.leadboat.com >
<CA+TgmoYqLP6dPpcLvWU-ToJFNn4Dp3NE2qAmgXprKN3S6wTSFw@mail.gmail.com >
<WM!782dde02eb02f131fac86b9aa0affdd2fa2450ae598af9554b103693ecd60442e44967d03f38f3b7cda9ff5b35da9166!@mailstronghold-2.zmailcloud.com >
<574DBEA4.9000205@agliodbs.com >
<8716.1464714201@sss.pgh.pa.us >
<WM!fa29cdfaada6f23ea036083b3b09c992113c0dd0d39c12a9cb6f842c5da62c7ec3f6f29cf1a792b4d2a344288b7c1492!@mailstronghold-2.zmailcloud.com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 05/31/2016 10:03 AM, Tom Lane wrote:
> Josh berkus <josh@agliodbs.com> writes:
>> I realize there's a lot of water under the bridge here, but I think
>> we're going to get 1000 questions on -general of the type: "I asked for
>> 8 parallel workers, why did I only get 7?". I believe we will regret
>> this change.
>> So, one vote from me to revert.
>
> Well, that gets back to the question of whether average users will
> understand the "degree" terminology. For the record, while I do not
> like the current behavior either, this was not the solution I favored.
> I thought we should rename the GUC and keep it as meaning the number
> of additional worker processes.
I will happily bet anyone a nice dinner in Ottawa that most users will
not understand it.
Compare this:
"max_parallel is the maximum number of parallel workers which will work
on each stage of the query which is parallizable. If you set it to 4,
you get up to 4 workers."
with this:
"max_parallel_degree is the amount of parallelism in the query, with the
understanding that the original parent process counts as 1, which means
that if you set it to 1 you get no parallelism, and if you want 4
parallel workers you need to set it to 5."
Which one of those is going to require more explanations on -general and
-novice? Bets?
Let's not be complicated for the sake of being complicated.
--
--
Josh Berkus
Red Hat OSAS
(any opinions are my own)
--
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 (185+ messages) latest in thread
Message-ID: <574DC585.7010507@agliodbs.com>
Permalink: ../574DC585.7010507@agliodbs.com/
Also on: postgresql.org/message-id/574DC585.7010507@agliodbs.com
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: josh@agliodbs.com, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, noah@leadboat.com, david.rowley@2ndquadrant.com, amit.kapila16@gmail.com, alvherre@2ndquadrant.com, magnus@hagander.net, bruce@momjian.us
Subject: Re: Rename max_parallel_degree?
In-Reply-To: <574DC585.7010507@agliodbs.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