TID store
Radix-tree based storage of dead tuple TIDs for VACUUM, removing the 1GB maintenance_work_mem limit. Introduced in PostgreSQL 17.
Versions
- PostgreSQL 19 · worked-on · improved · moderate
- PostgreSQL 18 · worked-on · improved · moderate
- PostgreSQL 17 · shipped · new · major · 20 commits · +5.5k / -446 lines
- PostgreSQL 16 · worked-on · new · major
- PostgreSQL 15 · worked-on · new · major
Threads
- Batch TIDs lookup in ambulkdelete
- maintenance_work_mem = 64kB doesn't work for vacuum
- reduce overhead in shared memory TID store
- Fix crash when non-creator being an iteration on shared radix tree
- Fix an error while building test_radixtree.c with TEST_SHARED_RT
- Fix typo in tidstore.h
- suspicious valgrind reports about radixtree/tidstore on arm64
- BUG #18483: Segmentation fault in tests modules
- Lowering the minimum value for maintenance_work_mem
- [PoC] Improve dead tuple storage for lazy vacuum
- VACUUM memory management
- Remove size limitations of vacuums dead_tuples array
- Vacuum: allow usage of more than 1GB of work mem