PostgreSQL Computes Page Checksums Fast: Thirty-Two Parallel FNV-1a Hashes
The page checksum runs 32 FNV-1a hashes in parallel over a 32-column view of the page to hide multiply latency — and 32 is baked into the on-disk format.
The page checksum runs 32 FNV-1a hashes in parallel over a 32-column view of the page to hide multiply latency — and 32 is baked into the on-disk format.
int2, int4 and int8 are one design in three widths — every operator is overflow-checked, so 2147483647 + 1 raises an error instead of wrapping negative.
B-tree leaves store one posting list tuple per distinct key instead of one entry per row, and an over-long list is split in place inside the insert’s critical section.
All six multirange types share one implementation: a 12-byte header, 32-bit items that store lengths by default and absolute offsets every fourth entry, plus a flags array.
PostgreSQL 20’s AIO subsystem has an io_uring backend plus a read-ahead controller that doubles its look-ahead distance only when the backend actually had to wait for I/O.