pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Consider Parallel Append of partial paths for UNION [ALL].
Date: Thu, 22 Mar 2018 20:18:00 +0000
Message-ID: <E1ez6eu-0001Ew-Mu@gemulon.postgresql.org> (raw)

Consider Parallel Append of partial paths for UNION [ALL].

Without this patch, we can implement a UNION or UNION ALL as an
Append where Gather appears beneath one or more of the Append
branches, but this lets us put the Gather node on top, with
a partial path for each relation underneath.

There is considerably more work that could be done to improve
planning in this area, but that will probably need to wait
for a future release.

Patch by me, reviewed and tested by Ashutosh Bapat and Rajkumar
Raghuwanshi.

Discussion: http://postgr.es/m/CA+TgmoaLRAOqHmMZx=ESM3VDEPceg+-XXZsRXQ8GtFJO_zbMSw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/88ba0ae2aa4aaba8ea0d85c0ff81cc46912d9308

Modified Files
--------------
src/backend/optimizer/prep/prepunion.c | 93 +++++++++++++++++++++++++++++++++-
1 file changed, 91 insertions(+), 2 deletions(-)



Message-ID: <E1ez6eu-0001Ew-Mu@gemulon.postgresql.org>
Permalink:  ../E1ez6eu-0001Ew-Mu@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ez6eu-0001Ew-Mu@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Consider Parallel Append of partial paths for UNION [ALL].
  In-Reply-To: <E1ez6eu-0001Ew-Mu@gemulon.postgresql.org>
  References: <E1ez6eu-0001Ew-Mu@gemulon.postgresql.org>

* 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