pgsql: Add WAL usage reporting to ANALYZE VERBOSE output.

From: Masahiko Sawada <msawada(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add WAL usage reporting to ANALYZE VERBOSE output.
Date: 2024-09-09 21:56:28
Message-ID: E1snmN2-000MHu-EI@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add WAL usage reporting to ANALYZE VERBOSE output.

This change adds WAL usage reporting to the output of ANALYZE VERBOSE
and autoanalyze reports. It aligns the analyze output with VACUUM,
providing consistency. Additionally, it aids in troubleshooting cases
where WAL records are generated during analyze operations.

Author: Anthonin Bonnefoy
Reviewed-by: Masahiko Sawada
Discussion: https://postgr.es/m/CAO6_Xqr__kTTCLkftqS0qSCm-J7_xbRG3Ge2rWhucxQJMJhcRA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bb7775234273268e8852068ee1a2eff9cd2a0020

Modified Files
--------------
src/backend/commands/analyze.c | 9 +++++++++
1 file changed, 9 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-09-09 23:44:58 pgsql: Remove emode argument from XLogFileRead() and XLogFileReadAnyTLI
Previous Message Tom Lane 2024-09-09 18:34:17 pgsql: Consistently use PageGetExactFreeSpace() in pgstattuple.