PostgreSQL Configuration Rules
summary
Compares outputs of pg_tune and pg_config and documents concrete contradictions in settings for shared_buffers and work_mem. Examines Linux scheduler effects on high-concurrency PostgreSQL workloads, showing that adjusting migration_cost (example: to 5ms) produced +30–40% throughput in the presenter’s benchmarks, reports measured CPU execution efficiency of ~0.65 (about 35% lost to scheduler/idle) and notes sensitivity to kernel version (fixes in 4.12). Explains cache behavior including the 32-page ring for sequential scans and lists tools used: pg_tune, pg_config, bg_power_cash, pg_fine_corps and an unreleased monitor called pg_disque_ayo; the focus is on actionable tunables with measured impacts rather than general advice.
AI-written summary · about
