Re: log XLogPrefetch stats at end of recovery

From: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
To: Lakshmi N <lakshmin(dot)jhs(at)gmail(dot)com>
Cc: Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, SATYANARAYANA NARLAPURAM <satyanarlapuram(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: log XLogPrefetch stats at end of recovery
Date: 2026-03-27 00:10:41
Message-ID: CALj2ACUmsv3Vab06ixf4qVtaME0Fbj43G01upWexPRhGGSJiAg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Thu, Mar 26, 2026 at 1:06 AM Lakshmi N <lakshmin(dot)jhs(at)gmail(dot)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 buffer pool, 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2026-03-27 00:12:30 Re: Don't synchronously wait for already-in-progress IO in read stream
Previous Message David G. Johnston 2026-03-26 23:54:12 Re: [PATCH v1] Replace sprintf() with snprintf() in libpq for safety Anexo: o arquivo