Re: Show WAL write and fsync stats in pg_stat_io

From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>, Melanie Plageman <melanieplageman(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, "bharath(dot)rupireddyforpostgres(at)gmail(dot)com" <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Subject: Re: Show WAL write and fsync stats in pg_stat_io
Date: 2025-02-06 12:19:00
Message-ID: CAN55FZ0KVdaO8-nMKj7S6ii6bkZMOESnTyMbawiDjAJ=eUVCDg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Wed, 5 Feb 2025 at 08:30, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> Please note that I have marked the CF entry at [1] as committed as the
> main goal of this thread has been achieved. Do you want to pursue the
> topic about the potential refactorings in pgstat_tracks_io_op() and
> pgstat_tracks_io_object()? There is a second one with the elimination
> of the write & sync columns for pg_stat_wal. Both should have their
> own thread if worked on, and this thread has been already quite long.

Yes, I would like to work on these.

By saying potential refactorings in pgstat_tracks_io_op() and
pgstat_tracks_io_object(), do you mean converting if statements to
switch statements or something else?

--
Regards,
Nazir Bilal Yavuz
Microsoft

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rushabh Lathia 2025-02-06 12:38:46 Support NOT VALID / VALIDATE constraint options for named NOT NULL constraints
Previous Message Zhang Mingli 2025-02-06 12:13:47 Re: Proposal to CREATE FOREIGN TABLE LIKE