buffers_clean
Buffers written by bgwriterDimensions:None
Interface Metrics (3)
Dimensions:None
Dimensions:None
Sources
Technical Annotations (8)
Configuration Parameters (5)
bgwriter_lru_maxpagesbgwriter_lru_multipliercheckpoint_timeoutmax_wal_sizeshared_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 (1)
pg_stat_bgwritercomponentRelated Insights (2)
Background writer cannot keep up with I/O demandwarning
▸
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.
▸