pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Support parallel aggregation.
Date: Mon, 21 Mar 2016 13:33:28 +0000
Message-ID: <E1ahzxY-0004qA-GJ@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (5+ messages)  latest in thread

Message-ID: <E1ahzxY-0004qA-GJ@gemulon.postgresql.org>
Permalink:  ../E1ahzxY-0004qA-GJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ahzxY-0004qA-GJ@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: Support parallel aggregation.
  In-Reply-To: <E1ahzxY-0004qA-GJ@gemulon.postgresql.org>
  References: <E1ahzxY-0004qA-GJ@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