aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-03-08 08:02:03 -0500
committerRobert Haas <rhaas@postgresql.org>2017-03-08 08:09:38 -0500
commit98e6e89040a0534ca26914c66cae9dd49ef62ad9 (patch)
treebbdb09553c7418c5c03eeec92849472cb42990fd /doc/src
parentb7fa016d68b51bc385b75f9d5cffef79e5671981 (diff)
downloadpostgresql-98e6e89040a0534ca26914c66cae9dd49ef62ad9.tar.gz
postgresql-98e6e89040a0534ca26914c66cae9dd49ef62ad9.zip
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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/monitoring.sgml6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index fad5cb05b95..27ed35f0a7b 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -826,7 +826,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
<tbody>
<row>
- <entry morerows="58"><literal>LWLock</></entry>
+ <entry morerows="59"><literal>LWLock</></entry>
<entry><literal>ShmemIndexLock</></entry>
<entry>Waiting to find or allocate space in shared memory.</entry>
</row>
@@ -1082,6 +1082,10 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
<entry>Waiting for parallel query dynamic shared memory allocation lock.</entry>
</row>
<row>
+ <entry><literal>tbm</></entry>
+ <entry>Waiting for TBM shared iterator lock.</entry>
+ </row>
+ <row>
<entry morerows="9"><literal>Lock</></entry>
<entry><literal>relation</></entry>
<entry>Waiting to acquire a lock on a relation.</entry>