Skip site navigation (1) Skip section navigation (2)

Re: WAL archiving question

From: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
To: Debanjan Bhattacharyya <b(dot)debanjan(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: WAL archiving question
Date: 2012-03-23 15:39:22
Message-ID: CA+h6Ahhb34UtvuTXS_PjxGbdB5DVZnuxmvHRRPhF1AK9iMgOrg@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
On Thu, Mar 22, 2012 at 5:58 PM, Debanjan Bhattacharyya <
b(dot)debanjan(at)gmail(dot)com> wrote:

> Hi
> I have two queries on WAL archiving.
> I am using Postgres 8.2 and I have successfully setup a primary
> hot-standy (with continuous recovery from WAL files) db pair.
>
> I want to find the time stamp and name of last WAL archive applied by
> the HOT standby db in continuous recovery mode.
> I also need to find out if currently the recovery is held up because
> the standby db is missing a archive
>
> Here your best friend will be pg_controldata <hot_standby_data_directory>.
 In output you need see "Database cluster state: "  is "in recovery mode"
and "Time of latest checkpoint:", "Minimum recovery ending location:"

---
Regards,
Raghavendra
EnterpriseDB Corporation
Blog: http://raghavt.blogspot.com/





> I have gone through the documentations and could not find the
> information on how to find the above information from the standby db.
> Can you please guide me as to where I can find this information or
> post this question?
>
> Thanks
> Regards
> Debanjan Bhattacharyya
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>

In response to

pgsql-admin by date

Next:From: BGoebelDate: 2012-03-23 18:04:57
Subject: Re: german sort is wrong
Previous:From: Gordon ShannonDate: 2012-03-23 14:52:39
Subject: Re: New role can connect to all dbs with no grants

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group