From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Consider Parallel Append of partial paths for UNION [ALL]. |
Date: | 2018-03-22 20:18:00 |
Message-ID: | E1ez6eu-0001Ew-Mu@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-03-22 21:07:03 | Re: pgsql: Implement partition-wise grouping/aggregation. |
Previous Message | Tom Lane | 2018-03-22 19:47:52 | pgsql: Sync up our various ways of estimating pg_class.reltuples. |