Re: Remove wal_[sync|write][_time] from pg_stat_wal and track_wal_io_timing
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-02-20T05:37:18Z
Lists: pgsql-hackers
Attachments
- v3-0002-Remove-wal_-sync-write-_time-from-pg_stat_wal-and.patch (text/x-diff) patch v3-0002
On Wed, Feb 19, 2025 at 09:24:41AM +0000, Bertrand Drouvot wrote: > That's right but that would mean almost duplicating the pg_stat_wal related > stuff (because it can't be removed from the doc until the fields are gone). I > think it's simpler to do it as proposed initially (the end result is the same). After sleeping on it, I still saw no reason to not apply the changes from 0002 in wal.sgml to describe that the stats for the writes/fsyncs are in pg_stat_io rather than pg_stat_wal for the "WAL configuration" section, so done that. The tags were a bit inconsistent, and I've managed to miss the.. cough.. s/sync_time/fsync_time/. 0001 was mixing a bit the tags <varname>, <literal> and <function>, and I've moved that as a paragraph not under the tuning part, to make it a more general statement with its link to "WAL configuration", which is a very popular link for pg_stat_io. Attached is the rest, as of v3-0002. -- Michael
Commits
-
Re-add GUC track_wal_io_timing
- 6c349d83b607 18.0 landed
-
Remove read/sync fields from pg_stat_wal and GUC track_wal_io_timing
- 2421e9a51d20 18.0 landed
-
doc: Fix typo in section "WAL configuration"
- f11674f8dfe8 18.0 landed
-
doc: Add details about object "wal" in pg_stat_io
- 4538bd3f1dde 18.0 landed
-
doc: Recommend pg_stat_io rather than pg_stat_wal in WAL configuration
- 2f70871c2bc1 18.0 landed