From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Support parallel aggregation. |
Date: | 2016-03-21 13:33:28 |
Message-ID: | E1ahzxY-0004qA-GJ@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Support parallel aggregation.
Parallel workers can now partially aggregate the data and pass the
transition values back to the leader, which can combine the partial
results to produce the final answer.
David Rowley, based on earlier work by Haribabu Kommi. Reviewed by
Álvaro Herrera, Tomas Vondra, Amit Kapila, James Sewell, and me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/e06a38965b3bcdaa881e7e06892d4d8ab6c2c980
Modified Files
--------------
src/backend/executor/execQual.c | 8 +
src/backend/nodes/copyfuncs.c | 1 +
src/backend/nodes/equalfuncs.c | 1 +
src/backend/nodes/nodeFuncs.c | 2 +-
src/backend/nodes/outfuncs.c | 1 +
src/backend/nodes/readfuncs.c | 1 +
src/backend/optimizer/path/allpaths.c | 3 +-
src/backend/optimizer/path/costsize.c | 12 +-
src/backend/optimizer/plan/createplan.c | 4 +-
src/backend/optimizer/plan/planner.c | 520 ++++++++++++++++++++++++++++----
src/backend/optimizer/plan/setrefs.c | 251 ++++++++++++++-
src/backend/optimizer/prep/prepunion.c | 4 +-
src/backend/optimizer/util/clauses.c | 79 +++++
src/backend/optimizer/util/pathnode.c | 16 +-
src/backend/optimizer/util/tlist.c | 45 +++
src/backend/parser/parse_func.c | 3 +-
src/include/catalog/catversion.h | 2 +-
src/include/nodes/primnodes.h | 11 +-
src/include/nodes/relation.h | 2 +
src/include/optimizer/clauses.h | 18 ++
src/include/optimizer/cost.h | 2 +-
src/include/optimizer/pathnode.h | 7 +-
src/include/optimizer/tlist.h | 1 +
23 files changed, 911 insertions(+), 83 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2016-03-21 13:33:58 | Re: pgsql: Best-guess attempt at fixing MSVC build for 68ab8e8ba4a471d9. |
Previous Message | Tom Lane | 2016-03-21 13:25:18 | Re: pgsql: Best-guess attempt at fixing MSVC build for 68ab8e8ba4a471d9. |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-03-21 13:35:16 | Re: Parallel Aggregate |
Previous Message | Petr Jelinek | 2016-03-21 13:30:19 | Re: Applying logical replication changes by more than one process |