Re: [HACKERS] Parallel Append implementation
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Adrien Nayrat <adrien.nayrat@anayrat.info>,
Amit Khandekar <amitdkhan.pg@gmail.com>, amul sul <sulamul@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-07-30T17:05:43Z
Lists: pgsql-hackers
Attachments
- parallel-append-doc-v3.patch (application/octet-stream) patch v3
On Sun, Jul 29, 2018 at 5:49 PM, Thomas Munro <thomas.munro@enterprisedb.com> wrote: > On Thu, May 10, 2018 at 7:08 AM, Robert Haas <robertmhaas@gmail.com> wrote: >> [parallel-append-doc-v2.patch] > > + plans just as they can in any other plan. However, in a parallel plan, > + it is also possible that the planner may choose to substitute a > + <literal>Parallel Append</literal> node. > > Maybe drop "it is also possible that "? It seems a bit unnecessary > and sounds a bit odd followed by "may <verb>", but maybe it's just me. Changed. > + Also, unlike a regular <literal>Append</literal> node, which can only have > + partial children when used within a parallel plan, <literal>Parallel > + Append</literal> node can have both partial and non-partial child plans. > > Missing "a" before "<literal>Parallel". Fixed. > + Non-partial children will be scanned by only a single worker, since > > Are we using "worker" in a more general sense that possibly includes > the leader? Hmm, yes, other text on this page does that too. Ho hum. Tried to be more careful about this. New version attached. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Update parallel.sgml for Parallel Append
- ac535cd47806 11.0 landed
- e80f2b335ecd 12.0 landed
-
Support Parallel Append plan nodes.
- ab7271677812 11.0 landed
-
Remove BufFile's isTemp flag.
- 11e264517dff 11.0 cited
-
Improve comments for parallel executor estimation functions.
- 11c1d555cebe 11.0 landed
-
Separate reinitialization of shared parallel-scan state from ExecReScan.
- 41b0dd987d44 11.0 cited
-
Eat XIDs more efficiently in recovery TAP test.
- 08aed6604de2 10.0 cited
-
Avoid syntax error on platforms that have neither LOCALE_T nor ICU.
- 457a44487328 10.0 cited
-
Preparatory refactoring for parallel merge join support.
- a71f10189dc1 10.0 cited