pgsql: Consider Parallel Append of partial paths for UNION [ALL]. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Consider Parallel Append of partial paths for UNION [ALL].
Date
Msg-id E1ez6eu-0001Ew-Mu@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Sync up our various ways of estimating pg_class.reltuples.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Implement partition-wise grouping/aggregation.