Index prefetching
Prefetching heap pages during index scans via read streams, and prefetching across executor nodes.
Versions
- PostgreSQL 20 · in-development · new · major · 5 commits · +1.3k / -821 lines
- PostgreSQL 19 · shipped · new · major · 21 commits · +1.3k / -816 lines
- PostgreSQL 18 · worked-on · new · major
- PostgreSQL 17 · worked-on · new · major
Threads
- index prefetching
- auto_explain crashes on EXPLAIN (BUFFERS) of an index scan (19, master)
- BUG #19918: SIGSEGV in auto_explain + EXPLAIN (BUFFERS)
- read stream: Backward I/O combining
- Hash index AM fake LSN oversight
- AIO / read stream heuristics adjustments for index prefetching
- Remove header lock BufferGetLSNAtomic() on architectures with 64 bit atomic operations
- Issues with hash and GiST LP_DEAD setting for kill_prior_tuple
- PoC: prefetching data between executor nodes (e.g. nestloop + indexscan)
- PoC: prefetching index leaf pages (for inserts)
- Index scan prefetch?