From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: btree: Support parallel index scans.
Date: Wed, 15 Feb 2017 12:47:55 +0000
Message-ID: <E1cdyzz-00066o-50@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
btree: Support parallel index scans.
This isn't exposed to the optimizer or the executor yet; we'll add
support for those things in a separate patch. But this puts the
basic mechanism in place: several processes can attach to a parallel
btree index scan, and each one will get a subset of the tuples that
would have been produced by a non-parallel scan. Each index page
becomes the responsibility of a single worker, which then returns
all of the TIDs on that page.
Rahila Syed, Amit Kapila, Robert Haas, reviewed and tested by
Anastasia Lubennikova, Tushar Ahuja, and Haribabu Kommi.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/569174f1be92be93f5366212cc46960d28a5c5cd
Modified Files
--------------
doc/src/sgml/monitoring.sgml | 6 +-
src/backend/access/nbtree/nbtree.c | 259 +++++++++++++++++++++++++++++-
src/backend/access/nbtree/nbtsearch.c | 286 ++++++++++++++++++++++++++++------
src/backend/access/nbtree/nbtutils.c | 4 +
src/backend/postmaster/pgstat.c | 3 +
src/include/access/nbtree.h | 15 +-
src/include/pgstat.h | 1 +
src/tools/pgindent/typedefs.list | 3 +
8 files changed, 527 insertions(+), 50 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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: btree: Support parallel index scans.
In-Reply-To: <E1cdyzz-00066o-50@gemulon.postgresql.org>
References: <E1cdyzz-00066o-50@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