WeSearch

Christophe Pettus: All Your GUCs in a Row: checkpoint_timeout and checkpoint_completion_target

·4 min read · 0 reactions · 0 comments · 12 views
#postgresql#database#performance#tuning
Christophe Pettus: All Your GUCs in a Row: checkpoint_timeout and checkpoint_completion_target
⚡ TL;DR · AI summary

The article discusses two key PostgreSQL parameters: checkpoint_timeout and checkpoint_completion_target. It explains how these parameters affect the performance and recovery of PostgreSQL databases. The author provides recommendations for tuning these settings based on different workload scenarios.

Key facts
Original article
Postgr
Read full at Postgr →
Opening excerpt (first ~120 words) tap to expand

2026-05-21 4 min PostgreSQL All Your GUCs in a Row: checkpoint_timeout and checkpoint_completion_target The C cluster opens with the first two checkpoint parameters. We take them out of alphabetical order because checkpoint_completion_target is defined as a fraction of checkpoint_timeout and is unintelligible without it. The alphabet can wait one post. A short tour of checkpoints A checkpoint is the moment when PostgreSQL guarantees that every dirty page in shared buffers has been written to disk and fsync()‘d, after which the WAL preceding the checkpoint is no longer needed for crash recovery. The checkpointer process performs them on a regular cadence governed by these parameters.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Postgr.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Postgr