Crash-safe hash indexes
WAL-logged, replicable hash indexes and the hash AM reworks and fixes that came with them. Introduced in PostgreSQL 10.
Versions
- PostgreSQL 20 · worked-on · improved · moderate
- PostgreSQL 19 · worked-on · improved · moderate
Threads
- Hash index: stop registering pin-only bucket pages in WAL (remove REGBUF_NO_CHANGE)
- Hash index inserts serialise on the metapage tuple counter
- Re: WAL record CRC calculated incorrectly because of underlying buffer modification
- Buffer pin leak in hash index bucket splits
- Hash index bucket split bug
- HASH INDEX builds seems confused
- [PATCH] Improve HASH overflow page reuse for better locality
- Use log_newpage_range in HASH index build
- Fix inconsistencies with code and beautify xlog structures description and fin hash_xlog.h
- BUG #18616: Long-running hash index build can not be interrupted
- WAL record CRC calculated incorrectly because of underlying buffer modification
- Is this a problem in GenericXLogFinish()?
- Hash index build performance tweak from sorting
- hash_xlog_split_allocate_page: failed to acquire cleanup lock
- Next Steps with Hash Indexes
- Doc chapter for Hash Indexes
- BUG #15679: Partial HASH index takes too much space
- Hash index initial size is too large given NULLs or partial indexes
- Buildfarm failures for hash indexes: buffer leaks
- BUG #15039: some question about hash index code
- 10.1: hash index size exploding on vacuum full analyze
- Page Scan Mode in Hash Index
- hash index on unlogged tables doesn't behave as expected
- pgsql 10: hash indexes testing
- free space % calculation in pgstathashindex
- PG10 Crash-safe and replicable Hash Indexes and UNIQUE
- bumping HASH_VERSION to 3
- Write Ahead Logging for Hash Indexes
- Cache Hash Index meta page.
- Hash Indexes