pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: pgsql-hackers@postgresql.org
Subject: Wait event that should be reported while waiting for WAL archiving to finish
Date: Thu, 13 Feb 2020 02:29:20 +0900
Message-ID: <f0651f8c-9c96-9f29-0ff9-80414a15308a@oss.nttdata.com> (raw)

Hi,

When I saw pg_stat_activity.wait_event while pg_basebackup -X none
is waiting for WAL archiving to finish, it was either NULL or
CheckpointDone. I think this is confusing. What about introducing
new wait_event like WAIT_EVENT_BACKUP_WAIT_WAL_ARCHIVE
(BackupWaitWalArchive) and reporting it during that period?

Regards,

-- 
Fujii Masao
NTT DATA CORPORATION
Advanced Platform Technology Group
Research and Development Headquarters





view thread (16+ messages)  latest in thread

Message-ID: <f0651f8c-9c96-9f29-0ff9-80414a15308a@oss.nttdata.com>
Permalink:  ../f0651f8c-9c96-9f29-0ff9-80414a15308a@oss.nttdata.com/
Also on:    postgresql.org/message-id/f0651f8c-9c96-9f29-0ff9-80414a15308a@oss.nttdata.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: masao.fujii@oss.nttdata.com
  Subject: Re: Wait event that should be reported while waiting for WAL archiving to finish
  In-Reply-To: <f0651f8c-9c96-9f29-0ff9-80414a15308a@oss.nttdata.com>

* 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