Re: Wait event that should be reported while waiting for WALarchiving to finish

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Wait event that should be reported while waiting for WALarchiving to finish
Дата
Msg-id 20200213032804.GB1520@paquier.xyz
обсуждение исходный текст
Ответ на Wait event that should be reported while waiting for WAL archiving tofinish  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Ответы Re: Wait event that should be reported while waiting for WALarchiving to finish  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: PATCH: logical_work_mem and logical streaming of largein-progress transactions
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Exposure related to GUC value of ssl_passphrase_command