Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4538bd3

Browse files
committed
doc: Add details about object "wal" in pg_stat_io
This commit adds a short description of what kind of activity is tracked in pg_stat_io for the object "wal", with a link pointing to the section "WAL configuration" that has a lot of details on the matter. This should perhaps have been added in a051e71, but things are what they are. Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Discussion: https://postgr.es/m/Z7RkQ0EfYaqqjgz/@ip-10-97-1-34.eu-west-3.compute.internal
1 parent 2f70871 commit 4538bd3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/src/sgml/monitoring.sgml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2930,6 +2930,16 @@ description | Waiting for a newly initialized WAL file to reach durable storage
29302930
writer</literal>.
29312931
</para>
29322932

2933+
<para>
2934+
For the <varname>object</varname> <literal>wal</literal>,
2935+
<varname>fsyncs</varname> and <varname>fsync_time</varname> track the
2936+
fsync activity of WAL files done in <function>issue_xlog_fsync</function>.
2937+
<varname>writes</varname> and <varname>write_time</varname>
2938+
track the write activity of WAL files done in
2939+
<function>XLogWrite</function>.
2940+
See <xref linkend="wal-configuration"/> for more information.
2941+
</para>
2942+
29332943
<para>
29342944
<structname>pg_stat_io</structname> can be used to inform database tuning.
29352945
For example:

0 commit comments

Comments
 (0)