pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Recommend pg_stat_io rather than pg_stat_wal in WAL configu
Date: Thu, 20 Feb 2025 04:56:40 +0000
Message-ID: <E1tkyc5-000FYy-2M@gemulon.postgresql.org> (raw)

doc: Recommend pg_stat_io rather than pg_stat_wal in WAL configuration

Since a051e71e28a1, pg_stat_io is able to track statistics for the WAL
activity, providing an equivalent of pg_stat_wal with more granularity
for the fsyncs/writes counts and timings, as the data is split across
backend types.

This commit now recommends pg_stat_io rather than pg_stat_wal in the
section "WAL configuration", some of the latter's attributes being
candidate for removal in a follow-up commit.

Extracted from a larger patch by the same author.

Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://postgr.es/m/Z7RkQ0EfYaqqjgz/@ip-10-97-1-34.eu-west-3.compute.internal

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2f70871c2bc18d103d5dd25ff9d91e0da29412ee

Modified Files
--------------
doc/src/sgml/wal.sgml | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)



Message-ID: <E1tkyc5-000FYy-2M@gemulon.postgresql.org>
Permalink:  ../E1tkyc5-000FYy-2M@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tkyc5-000FYy-2M@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Recommend pg_stat_io rather than pg_stat_wal in WAL configu
  In-Reply-To: <E1tkyc5-000FYy-2M@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox