2026-06-11
· 4 min
·
PostgreSQL
Raise `default_statistics_target` from 100 to 500 and ANALYZE slows down forever — but sometimes that's the right call.
0 comments
2026-06-11
· 13 min
·
PostgreSQL
Query planning is a two-job problem: rewrite your SQL into a better shape, then search billions of possible join orders for the cheapest one.
0 comments
2026-06-10
· 4 min
·
PostgreSQL
PostgreSQL's dozen `debug_` parameters are its own testing machinery, exposed as runtime settings.
0 comments
2026-06-09
· 4 min
·
PostgreSQL
PostgreSQL's `deadlock_timeout` controls how often deadlocks are searched for, not how long a deadlock will be tolerated.
0 comments
2026-06-08
· 3 min
·
PostgreSQL
PostgreSQL's DateStyle parameter does two unrelated things at once, which explains why it confuses everyone.
0 comments
2026-06-08
· 18 min
·
PostgreSQL
PostgreSQL's query planner gathers statistics one way; Oracle, Db2, MySQL, SQLite, DuckDB, and Snowflake each chose differently.
0 comments
2026-06-07
· 6 min
·
PostgreSQL
PostgreSQL's fsync() assumption once broke silently across every database in the world. Here's the scar tissue, and why crashing is the safe option.
0 comments
2026-06-06
· 3 min
·
PostgreSQL
PostgreSQL 11 lets you create a data directory with group read access (0750) instead of owner-only (0700), enabling unprivileged backup processes to copy files…
0 comments
2026-06-05
· 3 min
·
PostgreSQL
PostgreSQL solves a bootstrapping puzzle with `data_directory`: how to find the config file before knowing where the data lives.
0 comments
2026-06-04
· 3 min
·
PostgreSQL
A read-only preset, like block_size — SHOW data_checksums tells you whether the cluster has page checksums, and that’s the only interaction the GUC offers. But
0 comments