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

From Ranier Vilela
Subject Re: Show WAL write and fsync stats in pg_stat_io
Date
Msg-id CAEudQApjuqHgSyX0JGEu0pdhsWq+OQHjTZPoAhKihABmm2qcng@mail.gmail.com
Whole thread Raw
In response to Re: Show WAL write and fsync stats in pg_stat_io  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Em ter., 18 de mar. de 2025 às 20:34, Michael Paquier <michael@paquier.xyz> escreveu:
On Tue, Mar 18, 2025 at 04:13:15PM +0300, Nazir Bilal Yavuz wrote:
> Thanks for the report! Yes, it is an oversight on my part.

No worries.  It's most likely me while reviewing the whole as I've
reordered these blocks a bit while going through the patch.

This has little consequences for the end user, as the read, read_bytes
and read_time should show up as 0 instead of NULL in the pg_stat_io
view for the two WAL rows.  Still it is confusing to show zeros, and
it makes queries of pg_stat_io a bit cheaper.  Will fix in a bit.
Thank you Michael.

best regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: Re: query_id: jumble names of temp tables for better pg_stat_statement UX
Next
From: Tomas Vondra
Date:
Subject: Re: Snapshot related assert failure on skink