pg_stat_wal

A statistics view showing information about WAL activity
This entry relates to a PostgreSQL feature which is part of PostgreSQL 14, due to be released in late 2021.

pg_stat_wal is a statistics view showing information about WAL activity.

pg_stat_wal was added in PostgreSQL 14. Note that additional columns may be added before the final PostgreSQL 14 release.

Change history

Examples

postgres=# SELECT * FROM pg_stat_wal;
 wal_buffers_full |         stats_reset          
------------------+------------------------------
              272 | 2020-10-02 18:16:55.66037+02
(1 row)

Categories

Statistics / monitoring view, WAL

See also

wal_buffers