diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-10-19 14:03:31 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-10-19 14:03:31 +0900 |
commit | 5147ab1dd34ad81c169c85fa3c7d11a782a1555b (patch) | |
tree | 2c3652782e17f76a2c96d08605069e0d415a5676 /doc/src | |
parent | 295c36c0c1fa7b6befd0a3525c7f109e838c9448 (diff) | |
download | postgresql-5147ab1dd34ad81c169c85fa3c7d11a782a1555b.tar.gz postgresql-5147ab1dd34ad81c169c85fa3c7d11a782a1555b.zip |
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/pgstatstatements.sgml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/src/sgml/pgstatstatements.sgml b/doc/src/sgml/pgstatstatements.sgml index 2c4e3655ffe..6c7ca962f81 100644 --- a/doc/src/sgml/pgstatstatements.sgml +++ b/doc/src/sgml/pgstatstatements.sgml @@ -355,6 +355,26 @@ <row> <entry role="catalog_table_entry"><para role="column_definition"> + <structfield>local_blk_read_time</structfield> <type>double precision</type> + </para> + <para> + Total time the statement spent reading local blocks, in milliseconds + (if <xref linkend="guc-track-io-timing"/> is enabled, otherwise zero) + </para></entry> + </row> + + <row> + <entry role="catalog_table_entry"><para role="column_definition"> + <structfield>local_blk_write_time</structfield> <type>double precision</type> + </para> + <para> + Total time the statement spent writing local blocks, in milliseconds + (if <xref linkend="guc-track-io-timing"/> is enabled, otherwise zero) + </para></entry> + </row> + + <row> + <entry role="catalog_table_entry"><para role="column_definition"> <structfield>temp_blk_read_time</structfield> <type>double precision</type> </para> <para> |