Re: Monitoring PITR recovery progress - Mailing list pgsql-general

From Alan Hodgson
Subject Re: Monitoring PITR recovery progress
Date
Msg-id 1548269884.9639.16.camel@lists.simkin.ca
Whole thread Raw
In response to Monitoring PITR recovery progress  (Ivan Voras <ivoras@gmail.com>)
List 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 by date:

Previous
From: Ivan Voras
Date:
Subject: Monitoring PITR recovery progress
Next
From: Jerry Sievers
Date:
Subject: Re: Reclaiming space for dropped database