Re: Wait event that should be reported while waiting for WAL archiving to finish
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: pgsql-hackers@postgresql.org
Date: 2020-02-13T03:28:04Z
Lists: pgsql-hackers
On Thu, Feb 13, 2020 at 02:29:20AM +0900, Fujii Masao wrote: > 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? Sounds like a good idea to me. You need to be careful that this does not overwrite more low-level wait event registration though, so that could be more tricky than it looks at first sight. -- Michael
Commits
-
Add wait events for WAL archive and recovery pause.
- b8e20d6dabda 13.0 landed
-
Add description about GSSOpenServer wait event into document.
- 0b5474181569 12.3 landed
- f4ae7221413d 13.0 landed
-
Add description about LogicalRewriteTruncate wait event into document.
- 1beab076cefe 10.13 landed
- 12bea22a78c1 11.8 landed
- 6c221aa56e18 12.3 landed
- e593148d43ad 13.0 landed
-
GSSAPI encryption support
- b0b39f72b990 12.0 cited
-
Create and use wait events for read, write, and fsync operations.
- 249cf070e367 10.0 cited