pgsql: Expose wal_fpi_bytes in EXPLAIN (WAL)

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Expose wal_fpi_bytes in EXPLAIN (WAL)
Date: 2025-10-30 06:44:48
Message-ID: E1vEMOu-004ClZ-1e@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Expose wal_fpi_bytes in EXPLAIN (WAL)

The new wal_fpi_bytes counter calculates the total amount of full page
images inserted in WAL records, in bytes. This commit exposes this
information in EXPLAIN (ANALYZE, WAL) alongside the existing counters,
for both the text and JSON/YAML outputs, building upon f9a09aa29520.

Author: Shinya Kato <shinya11(dot)kato(at)gmail(dot)com>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discusssion: https://postgr.es/m/CAOzEurQtZEAfg6P0kU3Wa-f9BWQOi0RzJEMPN56wNTOmJLmfaQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5ab0b6a248076bf373a80bc7e83a5dfa4edf13aa

Modified Files
--------------
doc/src/sgml/ref/explain.sgml | 3 ++-
src/backend/commands/explain.c | 8 +++++++-
2 files changed, 9 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-10-30 07:40:41 pgsql: formatting.c cleanup: Remove unnecessary zeroize macros
Previous Message Michael Paquier 2025-10-30 04:14:50 pgsql: Fix regression with slot invalidation checks