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: tidbitmap: Support shared iteration.
Date: Wed, 08 Mar 2017 13:11:59 +0000
Message-ID: <E1clbNn-0005wY-CU@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

tidbitmap: Support shared iteration.

When a shared iterator is used, each call to tbm_shared_iterate()
returns a result that has not yet been returned to any process
attached to the shared iterator.  In other words, each cooperating
processes gets a disjoint subset of the full result set, but all
results are returned exactly once.

This is infrastructure for parallel bitmap heap scan.

Dilip Kumar.  The larger patch set of which this is a part has been
reviewed and tested by (at least) Andres Freund, Amit Khandekar,
Tushar Ahuja, Rafia Sabih, Haribabu Kommi, and Thomas Munro.

Discussion: http://postgr.es/m/CAFiTN-uc4=0WxRGfCzs-xfkMYcSEWUC-Fon6thkJGjkh9i=13A@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/98e6e89040a0534ca26914c66cae9dd49ef62ad9

Modified Files
--------------
doc/src/sgml/monitoring.sgml               |   6 +-
src/backend/access/gin/ginget.c            |   2 +-
src/backend/executor/nodeBitmapIndexscan.c |   2 +-
src/backend/executor/nodeBitmapOr.c        |   2 +-
src/backend/nodes/tidbitmap.c              | 551 +++++++++++++++++++++++++++--
src/backend/storage/lmgr/lwlock.c          |   1 +
src/include/nodes/tidbitmap.h              |  10 +-
src/include/storage/lwlock.h               |   1 +
8 files changed, 536 insertions(+), 39 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: <E1clbNn-0005wY-CU@gemulon.postgresql.org>
Permalink:  ../E1clbNn-0005wY-CU@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1clbNn-0005wY-CU@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: tidbitmap: Support shared iteration.
  In-Reply-To: <E1clbNn-0005wY-CU@gemulon.postgresql.org>
  References: <E1clbNn-0005wY-CU@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