On Thu, Nov 12, 2026 at 5:58 AM Bharath Rupireddy <[email protected]> wrote: > I think it is RfC. Thoughts?
I'm not sure how useful it is to log these statistics even though they are already available in pg_stat_recovery_prefetch. Currently, the counters in pg_stat_recovery_prefetch are not saved and restored by pgstat, so they are lost even across a clean restart. So, if the goal of this patch is to preserve them for later analysis, logging them could be useful. But, making these statistics persistent was already discussed when recovery prefetch was introduced [1]. If we eventually implement that in the future, the statistics could be queried from the view after a clean restart. So I'm wondering what additional value the log message would provide in that case.... Sorry if I'm missing something. Regards, [1] https://www.postgresql.org/message-id/CA%2BhUKGJ7OqpdnbSTq5oK%3DdjSeVW2JMnrVPSm8JC-_dbN6Y7bpw%40mail.gmail.com -- Fujii Masao
