Add wait events for WAL archive and recovery pause.
Fujii Masao <fujii@postgresql.org>
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@oss.nttdata.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/monitoring.sgml | modified | +9 −1 |
| src/backend/access/transam/xlog.c | modified | +4 −0 |
| src/backend/postmaster/pgstat.c | modified | +6 −0 |
| src/include/pgstat.h | modified | +3 −1 |
Documentation touched
Discussion
- Wait event that should be reported while waiting for WAL archiving to finish 16 messages · 2020-02-12 → 2020-03-24