aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2024-07-10 15:56:07 +0900
committerFujii Masao <fujii@postgresql.org>2024-07-10 15:56:07 +0900
commit05506510de6ae24ba6de00cef2f458920c8a72ea (patch)
tree6931a7e11e845c950b66499f53fd2407d1d2a6f4 /doc/src
parentd898665bf7591514158954038ac43cea3240beaa (diff)
downloadpostgresql-05506510de6ae24ba6de00cef2f458920c8a72ea.tar.gz
postgresql-05506510de6ae24ba6de00cef2f458920c8a72ea.zip
doc: Update track_io_timing documentation to mention pg_stat_io.
The I/O timing information collected when track_io_timing is enabled is now documented to appear in the pg_stat_io view, which was previously not mentioned. This commit also enhances the description of track_io_timing to clarify that it monitors not only block read and write but also block extend and fsync operations. Additionally, the description of track_wal_io_timing has been improved to mention both WAL write and WAL fsync monitoring. Backpatch to v16 where pg_stat_io was added. Author: Hajime Matsunaga Reviewed-by: Melanie Plageman, Nazir Bilal Yavuz, Fujii Masao Discussion: https://postgr.es/m/TYWPR01MB10742EE4A6F34C33061429D38A4D52@TYWPR01MB10742.jpnprd01.prod.outlook.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml4
-rw-r--r--doc/src/sgml/monitoring.sgml4
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index f627a3e63cd..4a0c9ba97dd 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -8319,7 +8319,9 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
measure the overhead of timing on your system.
I/O timing information is
displayed in <link linkend="monitoring-pg-stat-database-view">
- <structname>pg_stat_database</structname></link>, in the output of
+ <structname>pg_stat_database</structname></link>,
+ <link linkend="monitoring-pg-stat-io-view">
+ <structname>pg_stat_io</structname></link>, in the output of
<xref linkend="sql-explain"/> when the <literal>BUFFERS</literal> option
is used, in the output of <xref linkend="sql-vacuum"/> when
the <literal>VERBOSE</literal> option is used, by autovacuum
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index 991f6299075..9ca74348c7f 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -180,12 +180,12 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
<para>
The parameter <xref linkend="guc-track-io-timing"/> enables monitoring
- of block read and write times.
+ of block read, write, extend, and fsync times.
</para>
<para>
The parameter <xref linkend="guc-track-wal-io-timing"/> enables monitoring
- of WAL write times.
+ of WAL write and fsync times.
</para>
<para>