Re: log XLogPrefetch stats at end of recovery - Mailing list pgsql-hackers

From Bharath Rupireddy
Subject Re: log XLogPrefetch stats at end of recovery
Date
Msg-id CALj2ACUmsv3Vab06ixf4qVtaME0Fbj43G01upWexPRhGGSJiAg@mail.gmail.com
Whole thread Raw
In response to Re: log XLogPrefetch stats at end of recovery  (Lakshmi N <lakshmin.jhs@gmail.com>)
List pgsql-hackers
Hi,

On Thu, Mar 26, 2026 at 1:06 AM Lakshmi N <lakshmin.jhs@gmail.com> wrote:
>
> Address this in the attached patch. Please let me know if this looks good.
> 2026-03-26 00:51:19.797 PDT [91881] LOG:  redo prefetch stats: prefetched 418376 blocks, skipped (362419 in the
bufferpool, 418479 zero-initialized, 0 non-existent, 9 full page image, 39183318 recently prefetched) 

Thanks for sending the latest patch. It looks good to me with a
nit:s/362419 in the buffer pool/362419 already in buffer pool. I will
leave it to others' choice.

--
Bharath Rupireddy
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [PATCH v1] Replace sprintf() with snprintf() in libpq for safety Anexo: o arquivo
Next
From: Andres Freund
Date:
Subject: Re: Don't synchronously wait for already-in-progress IO in read stream