Re: Add WAL read stats to pg_stat_wal

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: andres(at)anarazel(dot)de
Cc: bharath(dot)rupireddyforpostgres(at)gmail(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add WAL read stats to pg_stat_wal
Date: 2023-02-21 02:58:39
Message-ID: 20230221.115839.664715364066525101.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Mon, 20 Feb 2023 08:29:06 -0800, Andres Freund <andres(at)anarazel(dot)de> wrote in
> Hi,
>
> On 2023-02-20 14:21:39 +0900, Kyotaro Horiguchi wrote:
> > I totally agree that it will be useful, but I'm not quite sure how
> > checkpointer would be able to let postmaster know about that state
> > without requiring access to shared memory.
>
> SendPostmasterSignal(PMSIGNAL_SHUTDOWN_CHECKPOINT_COMPLETE);
> or such.

Ah, that's it. Thanks!

regarsd.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2023-02-21 03:00:32 Re: Add WAL read stats to pg_stat_wal
Previous Message Kyotaro Horiguchi 2023-02-21 02:55:55 psql memory leaks