pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add wait events for WAL archive and recovery pause.
Date: Tue, 24 Mar 2020 02:12:49 +0000
Message-ID: <E1jGZ3h-0003Vx-7j@gemulon.postgresql.org> (raw)

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



Message-ID: <E1jGZ3h-0003Vx-7j@gemulon.postgresql.org>
Permalink:  ../E1jGZ3h-0003Vx-7j@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jGZ3h-0003Vx-7j@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: Add wait events for WAL archive and recovery pause.
  In-Reply-To: <E1jGZ3h-0003Vx-7j@gemulon.postgresql.org>
  References: <E1jGZ3h-0003Vx-7j@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox