Re: log XLogPrefetch stats at end of recovery

From: Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>
To: SATYANARAYANA NARLAPURAM <satyanarlapuram(at)gmail(dot)com>
Cc: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, Lakshmi N <lakshmin(dot)jhs(at)gmail(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-10-14 11:38:17
Message-ID: CAKZiRmxNBL++aHHZrT9hedbc47r_Wod5Dhw2TA+BX-5RbVpgnA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 14, 2026 at 1:36 PM SATYANARAYANA NARLAPURAM
<satyanarlapuram(at)gmail(dot)com> wrote:
>
>
>
> 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.
>

Hi,

This was never added to the commitfest (even back then) or am I missing
something?

-J.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alena Rybakina 2026-10-14 11:50:42 Re: Vacuum statistics
Previous Message Fujii Masao 2026-10-14 11:36:26 Re: Fix doc: explanation of how postgres works when OOM killer is invoked