public inbox for [email protected]  
help / color / mirror / Atom feed
From: Melanie Plageman <[email protected]>
To: [email protected]
Subject: pgsql: Use AIO batchmode for bitmap heap scans
Date: Thu, 03 Apr 2025 22:24:49 +0000
Message-ID: <[email protected]> (raw)

Use AIO batchmode for bitmap heap scans

Previously bitmap heap scan was not AIO batchmode safe because of the
visibility map reads potentially done for the "skip fetch" optimization
(which skipped fetching tuples from the heap if the pages were all
visible and none of the columns were used in the query).

The skip fetch optimization implementation was found to have bugs and
was removed in 459e7bf8e2f8, so we can safely enable batchmode for
bitmap heap scans.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/67be093562b6b345c170417312dff22f467055ba

Modified Files
--------------
src/backend/access/heap/heapam.c | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)



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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Use AIO batchmode for bitmap heap scans
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox