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: pg_stat_statements: Add wal_buffers_full
Date: Mon, 17 Feb 2025 04:55:52 +0000
Message-ID: <E1tjtAe-007Y8P-2k@gemulon.postgresql.org> (raw)

pg_stat_statements: Add wal_buffers_full

wal_buffers_full tracks the number of times WAL buffers become full,
giving hints to be able to tune the GUC wal_buffers.

Up to now, this information was only available in pg_stat_wal.  With
this field available in WalUsage since eaf502747bac, exposing it in
pg_stat_statements is straight-forward, and it offers more granularity
at query level.

pg_stat_statements does not need a version bump as one has been done in
commit cf54a2c00254 for this development cycle.

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/ce5bcc4a9f26484746f82d23584c8e342cba9b10

Modified Files
--------------
contrib/pg_stat_statements/expected/oldextversions.out        |  1 +
contrib/pg_stat_statements/pg_stat_statements--1.11--1.12.sql |  1 +
contrib/pg_stat_statements/pg_stat_statements.c               | 10 ++++++++--
doc/src/sgml/pgstatstatements.sgml                            |  9 +++++++++
4 files changed, 19 insertions(+), 2 deletions(-)



Message-ID: <E1tjtAe-007Y8P-2k@gemulon.postgresql.org>
Permalink:  ../E1tjtAe-007Y8P-2k@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tjtAe-007Y8P-2k@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: pg_stat_statements: Add wal_buffers_full
  In-Reply-To: <E1tjtAe-007Y8P-2k@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