Re: per backend I/O statistics

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Nazir Bilal Yavuz <byavuz81@gmail.com>, Alvaro Herrera <alvherre@alvh.no-ip.org>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2025-01-17T06:12:36Z
Lists: pgsql-hackers
On Fri, Jan 17, 2025 at 06:06:35AM +0000, Bertrand Drouvot wrote:
> On Fri, Jan 17, 2025 at 09:08:02AM +0900, Michael Paquier wrote:
>> I could tweak that around the beginning of next week with a proposal
>> of patch.  Bertrand, perhaps you'd prefer hack on this one?
> 
> Yeah, I had in mind to work on it (in the exact same line as you are describing
> above). I'll work on it.

Thanks.
--
Michael

Commits

  1. Rework handling of pending data for backend statistics

  2. Rename some pgstats callbacks related to flush of entries

  3. Relax regression test for fsync check of backend-level stats

  4. Add backend-level statistics to pgstats

  5. Extract logic filling pg_stat_get_io()'s tuplestore into its own routine

  6. Tweak some comments related to variable-numbered stats in pgstat.c