Re: Inconsistency in reporting checkpointer stats

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2022-12-20T13:18:36Z
Lists: pgsql-hackers
On Tue, Dec 20, 2022 at 8:03 AM Nitin Jadhav
<nitinjadhavpostgres@gmail.com> wrote:
> Thanks Robert for sharing your thoughts.
> My first thought was to just remove counting SLRU buffers, then after
> some more analysis, I found that the checkpointer is responsible for
> including both regular data buffers and SLRU buffers.

I know that, but what the checkpointer handles and what ought to be
included in the stats are two separate questions.

I think that the SLRU information is potentially useful, but mixing it
with the information about regular buffers just seems confusing.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. Fix inconsistent reporting of checkpointer stats.

  2. Defer flushing of SLRU files.