Skip to main content

CHECKPOINT_STATS_WINDOW

Constant CHECKPOINT_STATS_WINDOW 

Source
pub const CHECKPOINT_STATS_WINDOW: usize = 64;
Expand description

v7.37.13 (A1.9) — how many recent checkpoints we retain for percentile computation. PG logs only the latest; we keep enough to surface p99 over a window that’s meaningful for short-term monitoring (~last hour at a typical 60 s checkpoint cadence).