Re: Monitoring PITR recovery progress

Поиск
Список
Период
Сортировка
От Alan Hodgson
Тема Re: Monitoring PITR recovery progress
Дата
Msg-id 1548269884.9639.16.camel@lists.simkin.ca
обсуждение исходный текст
Ответ на Monitoring PITR recovery progress  (Ivan Voras <ivoras@gmail.com>)
Список pgsql-general
On Wed, 2019-01-23 at 18:58 +0100, Ivan Voras wrote:

And, the actual question: how to monitor the WAL replay process? Currently, the recovery.conf file is sitting there, with the database running, but pg processes are idle, and pg_stat_activity doesn't list anything which appears to be related to the recovery process.




The server logs each wal segment that gets processed during recovery. And you would definitely see a busy high-I/IO process applying the recovery.

It also logs when the recovery is complete. And I'm pretty sure it renames recovery.conf to recovery.done or something when it's done.

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

Предыдущее
От: Ivan Voras
Дата:
Сообщение: Monitoring PITR recovery progress
Следующее
От: Jerry Sievers
Дата:
Сообщение: Re: Reclaiming space for dropped database