checkpoint_timed
Number of scheduled checkpointsDimensions:None
Interface Metrics (3)
Dimensions:None
Dimensions:None
Sources
Technical Annotations (8)
Configuration Parameters (4)
checkpoint_timeoutmax_wal_sizecheckpoint_completion_targetshared_buffersCLI Commands (2)
gcloud sql instances patch INSTANCE_NAME --database-flags=checkpoint_timeout=900Attempt to set checkpoint timeout (may be silently capped or rejected)SELECT checkpoints_timed, checkpoints_req, buffers_checkpoint, buffers_clean FROM pg_stat_bgwriter;Monitor checkpoint behavior to verify if tuning changes took effectTechnical References (2)
checkpointconceptWALcomponentRelated Insights (3)
Checkpoint frequency and duration impact write performancewarning
▸
Checkpoint frequency exceeds sustainable ratewarning
Frequent checkpoints cause I/O spikes and performance hiccups. When requested checkpoints (checkpoint_req) significantly exceed timed checkpoints (checkpoint_timed), it indicates max_wal_size is too low or write workload is too high.
▸
Cloud SQL flag restrictions prevent PostgreSQL checkpoint tuning for write workloadswarning
Cloud SQL restricts modification of critical PostgreSQL checkpoint parameters (checkpoint_timeout, max_wal_size) to prevent storage issues. This prevents standard PostgreSQL tuning for write-heavy workloads, causing frequent checkpoint I/O spikes that would normally be mitigated by extending checkpoint intervals.
▸