A deep technical dive into the hidden costs of PostgreSQL connections at the Linux level. Covers multi-process vs thread architecture, virtual memory and page table overhead (why huge pages matter for shared buffers), NUMA architecture behavior and pinning policies, Linux CPU scheduler changes (CFS vs EEVDF in kernel 6.6+), practical connection-per-core guidelines, real work_mem behavior measured via smaps, and PostgreSQL-level bottlenecks including MVCC snapshot scaling and fast-path lock limits improved in Postgres 18.
•26m watch time
218 Impressions