Skip to content

Commit 42d01f5

Browse files
committed
Doc: fix outdated wording about parallel seq scans
56788d2 adjusted the parallel seq scan code so that instead of handing out a single block at a time to parallel workers, it now hands out ranges of blocks. Here we update the documentation which still claimed that workers received just 1 block at a time. Reported-by: Zhang Mingli Discussion: https://postgr.es/m/17c99615-2c3b-4e4e-9d0b-424a66a7bccd@Spark Backpatch-through: 14, where 56788d2 was added.
1 parent c8e4030 commit 42d01f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/parallel.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,9 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
272272
<listitem>
273273
<para>
274274
In a <emphasis>parallel sequential scan</emphasis>, the table's blocks will
275-
be divided among the cooperating processes. Blocks are handed out one
276-
at a time, so that access to the table remains sequential.
275+
be divided into ranges and shared among the cooperating processes. Each
276+
worker process will complete the scanning of its given range of blocks before
277+
requesting an additional range of blocks.
277278
</para>
278279
</listitem>
279280
<listitem>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy