In Part 6 of this special Postgres in Production deep dive series, Ryan Booz asks a question that determines how useful
pg_stat_statementscan be for you at all: do you have a high cardinality workload? This episode covers what that actually means, why ORMs, dynamic SQL, and AI-assisted development tools generate more unique queries than you might expect, a side by side demo of the same workload on Postgres 17 and Postgres 18, and the concrete checks that tell you whetherpg_stat_statementsis losing the data you need for query tuning.
Click through for the video and transcript.