~/talk

Linux and PostgreSQL in the Multiverse of Connections

Talkat POSETTE: An Event for Postgres 2026 · 2026-06-16..06-18· [databases]
slides:none on file

Postgres’ process-per-connection model creates concrete Linux and DB costs: shared_buffers mapped with 4KB pages can blow PTE tables into tens of gigabytes (Percona saw ~25GB), so map shared_buffers to huge pages and disable transparent huge pages; kernel 6.6’s EEVDF scheduler reduces latency for bursty short transactions; aim for about 4 active connections per CPU core for OLTP (1:1 for OLAP); work_mem can be consumed ~2× per query with ~1.5× heap left behind; use interleaved NUMA for isolation; Postgres 14/18 lift key MVCC and locking limits.

AI-written summary · about

  1. 0:00Music & Introduction
  2. 0:39Speaker introduction: credativ and Postgres workloads
  3. 1:31Postgres multi-process architecture overview
  4. 3:15Inter-process communication and tmpfs
  5. 4:3164-Bit address space and page-table hierarchy
  6. 5:48Postmaster forks, shared buffers, and the TLB
  7. 7:04Why huge pages matter: the PTE blowup
  8. 8:55NUMA architecture on a Phytium test server
  9. 11:50NUMA binding policies and interleaved mode
  10. 14:03Context switching and the EEVDF scheduler change
  11. 18:49How many connections per CPU core?
  12. 20:01Per-connection memory and the smaps interface
  13. 21:42The work_mem mystery and heap allocation
  14. 24:46MVCC snapshots and fast-path locking limits
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.