Re: log XLogPrefetch stats at end of recovery

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

On Thu, Mar 26, 2026 at 5:10 PM Bharath Rupireddy <
bharath(dot)rupireddyforpostgres(at)gmail(dot)com> wrote:

> 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

LGTM too, I will leave it to the committer's choice.

Thanks,
Satya

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2026-03-28 05:36:51 Re: pg_buffercache: Add per-relation summary stats
Previous Message SATYANARAYANA NARLAPURAM 2026-03-28 04:19:55 Re: Add pg_stat_autovacuum_priority