Michael Christofides
banner
michristofides.com
Michael Christofides
@michristofides.com
Half of the team behind @pgmustard.com and (a different) half of the team behind Postgres FM
Hello! I really like pg_stat_statements, then you can look into your queries by all sorts of metrics (eg for read heavy workloads, ordering by total_exec_time is a good starting point). Then I like to run EXPLAIN (ANALYZE, BUFFERS, etc) on the worst offender(s) to look for optimizations
September 24, 2025 at 12:47 PM
I'm a bit out of date on the SQL Server side of things, but with Postgres have you already tried turning on track_io_timing and using more of the EXPLAIN parameters?

For example:

set track_io_timing = on;
explain (analyze, buffers, verbose, settings, wal) ...
September 3, 2025 at 11:13 AM
Congrats Jimmy!
June 12, 2025 at 8:29 AM
Is min short for minimum, or minutes?!!
May 14, 2025 at 1:17 PM
Well I really like your framing, and other AI techniques like ML seem to mostly have almost the opposite characteristics (can get better than even the most specialised humans, but only at very narrow/highly constrained tasks!)
May 13, 2025 at 2:59 PM
Very nicely put! It only strengthens your point, but I don’t think chess is even a counter example (other AI techniques sure, just not LLMs)
May 13, 2025 at 9:38 AM
I actually didn’t, but enjoyed learning it from @raae.dev in the follow up blog post! 🥳
May 11, 2025 at 10:24 AM