Re: [HACKERS] Parallel Append implementation

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Adrien Nayrat <adrien(dot)nayrat(at)anayrat(dot)info>, Amit Khandekar <amitdkhan(dot)pg(at)gmail(dot)com>, amul sul <sulamul(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Parallel Append implementation
Date: 2018-07-30 17:05:43
Message-ID: CA+TgmoYUQ+jN3dNw0MJzSMQfxxS=qm1FXsoJBLF1UMvR4hFrhQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jul 29, 2018 at 5:49 PM, Thomas Munro
<thomas(dot)munro(at)enterprisedb(dot)com> wrote:
> On Thu, May 10, 2018 at 7:08 AM, Robert Haas <robertmhaas(at)gmail(dot)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

Attachment Content-Type Size
parallel-append-doc-v3.patch application/octet-stream 2.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2018-07-30 17:10:58 Re: request for new parameter for disable promote (slave only mode)
Previous Message Michael Goldshteyn 2018-07-30 16:28:28 Re: Would like to help with documentation for Postgres 11