pgsql: Use AIO batchmode for bitmap heap scans

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use AIO batchmode for bitmap heap scans
Date: 2025-04-03 22:24:49
Message-ID: E1u0SzR-002WhH-1V@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2025-04-03 22:57:24 Re: pgsql: Improve accounting for memory used by shared hash tables
Previous Message Tom Lane 2025-04-03 20:03:21 pgsql: Fix oversight in commit 0dca5d68d.