Sustainable Database Performance profiling in PostgreSQL
summary
Shows how PG_PROFILE extension collects pg_stat_statements, pg_wait_sampling and other stats into a historic repository (separate DB via dblink), creates HTML snapshots and differential reports, and survives demo pgbench runs with low footprint. Recommends cron every ~30 minutes, warns about pg_stat_statements ring buffer default 5,000 and tuning it, and demonstrates queries you can run against the repository. Works as described in examples; useful when logs or monitoring don’t show the why.
AI-written summary · about
