diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml
index b908720adea..4c0bf710dda 100644
--- a/doc/src/sgml/wal.sgml
+++ b/doc/src/sgml/wal.sgml
@@ -810,11 +810,12 @@
There are two internal functions to write WAL data to disk:
XLogWrite and issue_xlog_fsync.
- When is enabled, the total
+ When is enabled, the total
amounts of time XLogWrite writes and
issue_xlog_fsync syncs WAL data to disk are counted as
- wal_write_time and wal_sync_time in
- , respectively.
+ write_time and sync_time in
+ for the object
+ wal, respectively.
XLogWrite is normally called by
XLogInsertRecord (when there is no space for the new
record in WAL buffers), XLogFlush and the WAL writer,
@@ -829,11 +830,12 @@
fsync, or fsync_writethrough,
the write operation moves WAL buffers to kernel cache and
issue_xlog_fsync syncs them to disk. Regardless
- of the setting of track_wal_io_timing, the number
+ of the setting of track_io_timing, the number
of times XLogWrite writes and
issue_xlog_fsync syncs WAL data to disk are also
- counted as wal_write and wal_sync
- in pg_stat_wal, respectively.
+ counted as writes and fsyncs
+ in pg_stat_io for the object
+ wal, respectively.