Storage Internals
Storage Internals
How Postgres actually stores rows on disk, and why old ones stick around.
How Postgres actually stores rows on disk, and why old ones stick around.
Sections
- 4.1Heap StoragePages, tuples, and relation files on disk
- 4.2MVCCxmin/xmax, snapshots, and visibility rules
- 4.3TOAST, FSM & Visibility MapStoring large values and tracking free space
- 4.42MVCC Lab: Bloat, HOT and VACUUMUpdating 100,000 rows, measuring the dead ones, and watching one open transaction stop VACUUM
- 4.5Self-testSelf-test