postgresql/contrib/bloom
Michael Paquier d841ca2d14 bloom: Optimize VACUUM and bulk-deletion with streaming read
This commit replaces the synchronous ReadBufferExtended() loops done in
blbulkdelete() and blvacuumcleanup() with the streaming read equivalent,
to improve I/O efficiency during bloom index vacuum cleanup operations.

Under the same test conditions as 6c228755ad, the runtime is proving
to gain around 30% better, with most the benefits coming from a large
reduction of the IO operation based on the stats retrieved in the
scenarios run.

Author: Xuneng Zhou <xunengzhou@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://postgr.es/m/CABPTF7VrqfbcDXqGrdLQ2xaQ=K0RzExNuw6U_GGqzSJu32wfdQ@mail.gmail.com
2026-03-12 12:00:22 +09:00
..
expected Remove incidental md5() function uses from several tests 2023-07-04 14:31:57 +02:00
sql Remove incidental md5() function uses from several tests 2023-07-04 14:31:57 +02:00
t Update copyright for 2026 2026-01-01 13:24:10 -05:00
.gitignore Bloom index contrib module 2016-04-01 16:42:24 +03:00
blcost.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
blinsert.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
bloom--1.0.sql Minor fixes in contrib installation scripts. 2016-06-14 10:47:06 -04:00
bloom.control Bloom index contrib module 2016-04-01 16:42:24 +03:00
bloom.h Update copyright for 2026 2026-01-01 13:24:10 -05:00
blscan.c bloom: Optimize bitmap scan path with streaming read 2026-03-11 07:36:10 +09:00
blutils.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
blvacuum.c bloom: Optimize VACUUM and bulk-deletion with streaming read 2026-03-12 12:00:22 +09:00
blvalidate.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
Makefile Re-enable contrib/bloom's TAP tests. 2021-09-27 18:48:01 -04:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00