pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Bhella Paramjeet-PFCW67 <PBhella@Motorola.com>
To: pgsql-admin@postgresql.org
Subject: Re: Warm-standby in 8.2
Date: Fri, 20 Jun 2008 09:06:19 -0500
Message-ID: <485B72D5.EE98.0025.0@wicourts.gov> (raw)
In-Reply-To: <C84662912D280D4AB5C50100A100F0C503715DDA@ct11exm61.ds.mot.com>
References: <C84662912D280D4AB5C50100A100F0C503715DDA@ct11exm61.ds.mot.com>

>>> On Thu, Jun 19, 2008 at  6:31 PM, in message
<C84662912D280D4AB5C50100A100F0C503715DDA@ct11exm61.ds.mot.com>,
"Bhella
Paramjeet-PFCW67" <PBhella@Motorola.com> wrote: 
 
> we need to monitor the standby database to
> check that it is up, it is getting synced every 10 minutes, and that
it
> is not out of sync with primary database. What would be the best way
to
> make these checks or what processes to check to make sure that the
> archived logs from primary database are continuously getting applied
on
> the standby database. 
 
We run pg_controldata for the warm standby to make sure that "Database
cluster state" is 'in archive recovery' and "Time of latest
checkpoint" doesn't get too stale.  We also run pg_ctl status and make
sure that it reports 'server is running'.  This can all be scripted.
 
-Kevin



view thread (4+ messages)

Message-ID: <485B72D5.EE98.0025.0@wicourts.gov>
Permalink:  ../485B72D5.EE98.0025.0@wicourts.gov/
Also on:    postgresql.org/message-id/485B72D5.EE98.0025.0@wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, PBhella@Motorola.com
  Subject: Re: Warm-standby in 8.2
  In-Reply-To: <485B72D5.EE98.0025.0@wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox