pgsql: Add information about WAL buffers full to VACUUM/ANALYZE (VERBOS

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add information about WAL buffers full to VACUUM/ANALYZE (VERBOS
Date: 2025-02-17 06:15:51
Message-ID: E1tjuQ3-007Yds-H9@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add information about WAL buffers full to VACUUM/ANALYZE (VERBOSE)

This commit adds the information about the number of times WAL buffers
have been full to the logs generated by VACUUM/ANALYZE (VERBOSE) and in
the logs generated by autovacuum, complementing the existing information
stored by WalUsage.

This is the last part of the backend code where the value of
wal_buffers_full can be reported, similarly to all the other fields of
WalUsage. 320545bfcfee and ce5bcc4a9f26 have done the same for EXPLAIN
and pgss.

Author: Bertrand Drouvot
Reviewed-by: Ilia Evdokimov
Discussion: https://postgr.es/m/Z6SOha5YFFgvpwQY@ip-10-97-1-34.eu-west-3.compute.internal

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6a8a7ce476bd5f042999a04a0d767b38ea6faec0

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 5 +++--
src/backend/commands/analyze.c | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Langote 2025-02-17 07:13:12 pgsql: Fix an oversight in cbc127917 to handle MERGE correctly
Previous Message Michael Paquier 2025-02-17 05:56:16 pgsql: Add information about WAL buffers being full to EXPLAIN (WAL)