Jeremy Schneider: Postgres Checkpoint Followup and Collation Visualization and Codex Luna
PostgreSQL Planet1mo4 min read
My previous article talked about the checkpoint happiness hint : You probably should not change the checkpoint_timeout setting from its default of 5 minutes . Checkpoint Followup Questions A good follow-up question was raised: can an HA replica can save you from downtime if you want to set a large checkpoint_timeout? It’s true that Postgres allows promoting a replica without restarting, if there’s an unplanned primary restart and your primary is going to take an hour to come back online (after you increased checkpoint_timeout to 45 minutes). But this glosses over the fact that if the replica e
