Postgres FM

pg_stat_log

Postgres FM

Show Notes

Nik and Michael are joined by Fabrízio Mello to discuss his new extension pg_stat_log.

Here are some links to things they mentioned: Fabrízio Mello https://postgres.fm/people/fabrizio-de-royes-mello Timbira https://www.timbira.com.br PlanetScale https://planetscale.com pg_stat_log https://github.com/fabriziomello/pg_stat_log Custom Cumulative Statistics (docs) https://www.postgresql.org/docs/current/xfunc-c.html#XFUNC-ADDIN-CUSTOM-CUMULATIVE-STATISTICS Custom Cumulative Statistics (wiki page) https://wiki.postgresql.org/wiki/CustomCumulativeStats logerrors https://github.com/munakoiso/logerrors pgFouine https://www.postgresql.org/ftp/projects/pgFoundry/pgfouine/pgFouine pgBadger https://github.com/darold/pgbadger pg_stat_checkpointer https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-CHECKPOINTER-VIEW pg_wait_sampling https://github.com/postgrespro/pg_wait_sampling RFC: pg_stat_logmsg (patch proposal by Joe Conway) https://www.postgresql.org/message-id/flat/89742024-d51a-c66b-90b9-67f837072cd2%40joeconway.com

~~~ What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, or by commenting on our Google doc!

~~~ Postgres FM is produced by: Michael Christofides, founder of pgMustard Nikolay Samokhvalov, founder of Postgres.ai

With credit to: Jessie Draws for the elephant artwork

More from Postgres FM

Oct 16, 2026

Nik and Michael are joined by Álvaro Hernández to discuss sharding Postgres with Citus and StackGres, especially the new query router support that has been added very recently.

Sep 25, 2026

Nik and Michael are joined by Salma El-Sayed and Kirk Wolak to discuss their in-progress and very ambitious Google Summer of Code project around adding Btree Merge support to Postgres.

Sep 18, 2026

Nik and Michael are joined by Sai Srirampur to discuss ClickHouse's new managed Postgres service.

Sep 11, 2026

Nik and Michael discuss hot_standby_feedback — what it controls, whether and when read replicas should be changed to on, and other settings you can change to help too.

Aug 21, 2026

Nik and Michael are joined by Shaun Thomas to discuss estimating work_mem, memory management in general, and writing an extension to help.

See all episodes →