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 local_blk_{read|write}_time
Date: Thu, 19 Oct 2023 05:09:34 +0000
Message-ID: <E1qtLHp-001HA7-Ln@gemulon.postgresql.org> (raw)

pg_stat_statements: Add local_blk_{read|write}_time

This commit adds to pg_stat_statements the two new fields for local
buffers introduced by 295c36c0c1fa, adding the time spent to read and
write these blocks.  These are similar to what is done for temp and
shared blocks.  This information available only if track_io_timing is
enabled.

Like for 5a3423ad8ee17, no version bump is required in the module.

Author: Nazir Bilal Yavuz
Reviewed-by: Robert Haas, Melanie Plageman
Discussion: https://postgr.es/m/CAN55FZ19Ss279mZuqGbuUNxka0iPbLgYuOQXqAKewrjNrp27VA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5147ab1dd34ad81c169c85fa3c7d11a782a1555b

Modified Files
--------------
.../pg_stat_statements/expected/oldextversions.out   |  2 ++
.../pg_stat_statements--1.10--1.11.sql               |  2 ++
contrib/pg_stat_statements/pg_stat_statements.c      | 15 +++++++++++++--
doc/src/sgml/pgstatstatements.sgml                   | 20 ++++++++++++++++++++
4 files changed, 37 insertions(+), 2 deletions(-)



Message-ID: <E1qtLHp-001HA7-Ln@gemulon.postgresql.org>
Permalink:  ../E1qtLHp-001HA7-Ln@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qtLHp-001HA7-Ln@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 local_blk_{read|write}_time
  In-Reply-To: <E1qtLHp-001HA7-Ln@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