Re: Flush SLRU counters in checkpointer process

From: Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com>
To: "Gregory Stark (as CFM)" <stark(dot)cfm(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Flush SLRU counters in checkpointer process
Date: 2023-03-03 08:06:23
Message-ID: CAO6_XqoPtzLJXWMF1bpME4ZKH2b60pmvdvr9UrkumApMsMPXcQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here's the patch rebased with Andres' suggestions.
Happy to update it if there's any additionalj change required.

On Wed, Mar 1, 2023 at 8:46 PM Gregory Stark (as CFM) <stark(dot)cfm(at)gmail(dot)com>
wrote:

> On Thu, 12 Jan 2023 at 03:46, Anthonin Bonnefoy
> <anthonin(dot)bonnefoy(at)datadoghq(dot)com> wrote:
> >
> >
> > That would make sense. I've created a new patch with everything moved in
> pgstat_report_checkpointer().
> > I did split the checkpointer flush in a pgstat_flush_checkpointer()
> function as it seemed more readable. Thought?
>
> This patch appears to need a rebase. Is there really any feedback
> needed or is it ready for committer once it's rebased?
>
>
>
> --
> Gregory Stark
> As Commitfest Manager
>

Attachment Content-Type Size
flush-slru-counters-v3.patch application/octet-stream 4.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2023-03-03 08:08:38 Re: Simplify standby state machine a bit in WaitForWALToBecomeAvailable()
Previous Message Jeff Davis 2023-03-03 07:58:07 Re: Minimal logical decoding on standbys