pgsql: Add wait events for WAL archive and recovery pause.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Add wait events for WAL archive and recovery pause.

Fujii Masao-3
Add wait events for WAL archive and recovery pause.

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
Reviewed-by: Michael Paquier, Atsushi Torikoshi, Robert Haas
Discussion: https://postgr.es/m/f0651f8c-9c96-9f29-0ff9-80414a15308a@...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b8e20d6dabdafbe905b62910dc0236037c7881e1

Modified Files
--------------
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(-)