Anmelden

Postgres FM· Folge 148

Mean vs p99

Freitag, 13. Juni 2025 · 39 min

MP3

Shownotes

Nikolay and Michael discuss looking at queries by mean time — when it makes sense, why ordering by a percentile (like p99) might be better, and the merits of approximating percentiles in pg_stat_statements using the standard deviation column.

Here are some links to things they mentioned:
• Approximate the p99 of a query with pg_stat_statements (blog post by Michael) pgmustard.com/blog/approximate-the-p99-of-a-qu…
• pg_stat_statements postgresql.org/docs/current/pgstatstatements.h…
• Our episode about track_planning postgres.fm/episodes/pg-stat-statements-track-…
• pg_stat_monitor github.com/percona/pg_stat_monitor
• statement_timeout postgresql.org/docs/current/runtime-config-cli…

~~~
What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, (postgres.fm/people) or by commenting on our Google doc (docs.google.com/document/d/1PNGSn_d0A7gTR4C0p6…)!

~~~
Postgres FM is produced by:
• Michael Christofides, founder of pgMustard (pgmustard.com)
• Nikolay Samokhvalov, founder of Postgres.ai (postgres.ai)

With credit to:
• Jessie Draws for the elephant artwork

Anmelden oder registrieren

Jetzt

0:00 / 0:00