Track total number of WAL records, FPIs and bytes generated in the cluster.

Fujii Masao <fujii@postgresql.org>

Commit: 01469241b2ff6f17fc0b3f20f01559145ffab29e
Author: Fujii Masao <fujii@postgresql.org>
Date: 2020-12-02T04:00:15Z
Releases: 14.0
Track total number of WAL records, FPIs and bytes generated in the cluster.

Commit 6b466bf5f2 allowed pg_stat_statements to track the number of
WAL records, full page images and bytes that each statement generated.
Similarly this commit allows us to track the cluster-wide WAL statistics
counters.

New columns wal_records, wal_fpi and wal_bytes are added into the
pg_stat_wal view, and reports the total number of WAL records,
full page images and bytes generated in the , respectively.

Author: Masahiro Ikeda
Reviewed-by: Amit Kapila, Movead Li, Kyotaro Horiguchi, Fujii Masao
Discussion: https://postgr.es/m/35ef960128b90bfae3b3fdf60a3a860f@oss.nttdata.com

Files

Documentation touched

Discussion