Re: Show WAL write and fsync stats in pg_stat_io - Mailing list pgsql-hackers

From Nazir Bilal Yavuz
Subject Re: Show WAL write and fsync stats in pg_stat_io
Date
Msg-id CAN55FZ0KVdaO8-nMKj7S6ii6bkZMOESnTyMbawiDjAJ=eUVCDg@mail.gmail.com
Whole thread Raw
In response to Re: Show WAL write and fsync stats in pg_stat_io  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
List pgsql-hackers
Hi,

On Wed, 5 Feb 2025 at 08:30, Michael Paquier <michael@paquier.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



pgsql-hackers by date:

Previous
From: Zhang Mingli
Date:
Subject: Re: Proposal to CREATE FOREIGN TABLE LIKE
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: Show WAL write and fsync stats in pg_stat_io