Defaults vs Reality: A Large-Scale Study of PostgreSQL GUC Usage
summary
A large fleet snapshot of Azure Database for PostgreSQL Flexible Server (PG11–PG18) compares current values to core defaults and source metadata for 414 GUCs observed and shows most settings remain untouched: ~90% of settings untouched on the median server. About 69 GUCs need restart to change; defaults drift across versions; and overrides concentrate on infrastructure and observability knobs with max_connections 32.7% overridden, plus track_io_timing, max_wal_size, work_mem and wal_level.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 0:46About the speaker
- 1:50What are GUCs
- 3:35How GUCs are applied
- 7:32Study methodology
- 8:58Fleet data overview
- 10:00Override rates by version
- 11:48Most overridden settings
- 13:12Rarely changed settings
- 15:00Version-aware defaults
- 16:01Hardware and configuration
- 17:23Tuning patterns analysis
- 18:29Interpretation and insights
- 19:34Suggestions for improvement
- 20:20Key takeaways
- 21:02Q&A
