Thread

  1. Re: [PATCH] Expose checkpoint timestamp and duration in pg_stat_checkpointer

    Soumya S Murali <soumyamurali.work@gmail.com> — 2026-05-15T06:27:28Z

    Hi all,
    
    I would like to revive this patch, as the discussion has been inactive
    for some time. Based on earlier feedback, I wanted to briefly restate
    the motivation of exposing the last checkpoint duration and timestamp
    that provides a direct signal of recent checkpoint behavior, which is
    currently hard to infer reliably from cumulative statistics especially
    when multiple checkpoints occur between monitoring intervals. This is
    intended to complement existing cumulative fields, not replacing them
    and helps detect sudden spikes in checkpoint duration or unusually
    frequent checkpoints more easily.
    If there is interest in this direction, I can rebase the patch on
    current HEAD and incorporate any suggested changes.
    Looking forward to more feedback and thoughts on this.
    
    Regards,
    Soumya