pgsql: pg_stat_statements: Add local_blk_{read|write}_time

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_stat_statements: Add local_blk_{read|write}_time
Date: 2023-10-19 05:09:34
Message-ID: E1qtLHp-001HA7-Ln@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Christoph Berg 2023-10-19 07:38:30 Re: pgsql: Generate automatically code and documentation related to wait ev
Previous Message Michael Paquier 2023-10-19 04:41:43 pgsql: Add local_blk_{read|write}_time I/O timing statistics for local