Add wait events for WAL archive and recovery pause

Enterprise / PostgreSQL - Fujii Masao [postgresql.org] - 24 March 2020 02:12 EDT

This commit introduces new wait events BackupWaitWalArchive and RecoveryPause. The former is reported while waiting for the WAL files required for the backup to be successfully archived. The latter is reported while waiting for recovery in pause state to be resumed.

Author: Fujii Masao

b8e20d6dab Add wait events for WAL archive and recovery pause.
doc/src/sgml/monitoring.sgml | 10 +++++++++-
src/backend/access/transam/xlog.c | 4 ++++
src/backend/postmaster/pgstat.c | 6 ++++++
src/include/pgstat.h | 4 +++-
4 files changed, 22 insertions(+), 2 deletions(-)

Upstream: git.postgresql.org


  • Share