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: Add optimizer and executor support for parallel index-only scans
Date: Sun, 19 Feb 2017 10:29:34 +0000
Message-ID: <E1cfOkI-0004vt-Jf@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Add optimizer and executor support for parallel index-only scans.

Commit 5262f7a4fc44f651241d2ff1fa688dd664a34874 added similar support
for parallel index scans; this extends that work to index-only scans.
As with parallel index scans, this requires support from the index AM,
so currently parallel index-only scans will only be possible for btree
indexes.

Rafia Sabih, reviewed and tested by Rahila Syed, Tushar Ahuja,
and Amit Kapila

Discussion: http://postgr.es/m/CAOGQiiPEAs4C=TBp0XShxBvnWXuzGL2u++Hm1=qnCpd6_Mf8Fw@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0414b26bac09379a4cbf1fbd847d1cee2293c5e4

Modified Files
--------------
src/backend/executor/execParallel.c           |  12 ++
src/backend/executor/nodeIndexonlyscan.c      | 154 ++++++++++++++++++++++----
src/backend/optimizer/path/indxpath.c         |   6 +-
src/include/executor/nodeIndexonlyscan.h      |   9 ++
src/include/nodes/execnodes.h                 |   2 +
src/test/regress/expected/select_parallel.out |  29 ++++-
src/test/regress/sql/select_parallel.sql      |   5 +
7 files changed, 191 insertions(+), 26 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 (2+ messages)

Message-ID: <E1cfOkI-0004vt-Jf@gemulon.postgresql.org>
Permalink:  ../E1cfOkI-0004vt-Jf@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cfOkI-0004vt-Jf@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: Add optimizer and executor support for parallel index-only scans
  In-Reply-To: <E1cfOkI-0004vt-Jf@gemulon.postgresql.org>
  References: <E1cfOkI-0004vt-Jf@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