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: Parallel executor support.
Date: Tue, 29 Sep 2015 02:06:55 +0000
Message-ID: <E1ZgkJj-0001Ds-AR@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Parallel executor support.

This code provides infrastructure for a parallel leader to start up
parallel workers to execute subtrees of the plan tree being executed
in the master.  User-supplied parameters from ParamListInfo are passed
down, but PARAM_EXEC parameters are not.  Various other constructs,
such as initplans, subplans, and CTEs, are also not currently shared.
Nevertheless, there's enough here to support a basic implementation of
parallel query, and we can lift some of the current restrictions as
needed.

Amit Kapila and Robert Haas

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d1b7c1ffe72e86932b5395f29e006c3f503bc53d

Modified Files
--------------
src/backend/executor/Makefile        |    3 +-
src/backend/executor/execParallel.c  |  585 ++++++++++++++++++++++++++++++++++
src/backend/executor/instrument.c    |   78 +++++
src/backend/executor/tqueue.c        |    4 +-
src/backend/nodes/copyfuncs.c        |    1 +
src/backend/nodes/outfuncs.c         |    1 +
src/backend/nodes/params.c           |  155 +++++++++
src/backend/nodes/readfuncs.c        |    1 +
src/backend/optimizer/plan/planner.c |    1 +
src/backend/optimizer/plan/setrefs.c |    5 +
src/backend/utils/adt/datum.c        |  118 +++++++
src/include/executor/execParallel.h  |   36 +++
src/include/executor/instrument.h    |    5 +
src/include/nodes/params.h           |    3 +
src/include/nodes/plannodes.h        |    1 +
src/include/nodes/relation.h         |    2 +
src/include/utils/datum.h            |   10 +
17 files changed, 1007 insertions(+), 2 deletions(-)


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


Message-ID: <E1ZgkJj-0001Ds-AR@gemulon.postgresql.org>
Permalink:  ../E1ZgkJj-0001Ds-AR@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ZgkJj-0001Ds-AR@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: Parallel executor support.
  In-Reply-To: <E1ZgkJj-0001Ds-AR@gemulon.postgresql.org>
  References: <E1ZgkJj-0001Ds-AR@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