Why It MattersThe approach works for parameterized replay of simple SELECTs sampled from pg_stat_statements; statements with IN lists must fall back to EXPLAIN (GENERIC_PLAN) since their parameters can't be matched.
Crunchy Data@crunchydataGuides & Cases
Crunchy Data@crunchydataCYBERTEC PostgreSQL BlogGuides & Cases CYBERTEC PostgreSQL BlogHow to Stabilize Query Plans in PostgreSQL 19 with pg_stash_advice
PostgreSQL 19 uses pg_plan_advice and pg_stash_advice to constrain join order without rewriting SQL. In the example, a row estimate of 20 versus 990 led to a 405.646 ms query. Stored advice survives restarts but not pg_upgrade. cybertec-postgresql.com/en/pg…
Why It MattersConstraining only the join order can guard against a bad choice caused by underestimated row counts while leaving the planner free to adapt join methods and scan strategies.
Crunchy Data BlogGuides & Cases Crunchy Data BlogPostgreSQL 19: How Crunchy Data's Loading, Storage and Index Advice Has Changed
Crunchy Data revisits its earlier posts on loading, storage, indexes and partitioning to see what still holds for PostgreSQL 19.
Upgrade noteAsync reads improve heap scans, but index choice should still depend on selectivity, so retest BRIN against parallel scans on your own storage after upgrading.
pganalyze BlogGuides & Cases pganalyze BlogPostgres in Production, Part 6: Diagnosing High Cardinality Workloads in pg_stat_statements
Part 6 of pganalyze's Postgres in Production series explains how to tell whether a workload is generating more unique normalized queries than pg_stat_statements.
Why It MattersFor workloads that frequently generate variable-length IN lists, upgrading to PostgreSQL 18 can reduce statement entry usage through normalization, leaving room for other queries’ tuning metrics.
Crunchy Data BlogGuides & Cases Crunchy Data BlogPostgres 19 Compression: Moving the Default TOAST Algorithm from pglz to LZ4
Postgres 19 plans to change the default TOAST compression from pglz to LZ4, which has been selectable since Postgres 14 via default_toast_compression = 'lz4' or column-level COMPRESSION lz4.
Why It MattersIn an informal insert test, LZ4 compressed faster, while space savings depended on the data and could still favor pglz.