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

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add wait events for WAL archive and recovery pause.
Date: 2020-03-24 02:12:49
Message-ID: E1jGZ3h-0003Vx-7j@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-03-24 03:14:07 pgsql: Move routine building restore_command to src/common/
Previous Message Jeff Davis 2020-03-24 02:11:15 pgsql: Reduce test time for disk-based Hash Aggregation.