Re: Strategies for validating WAL-shipping replication

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Florian Weimer <fweimer(at)bfk(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Strategies for validating WAL-shipping replication
Date: 2008-10-20 08:09:19
Message-ID: 48FC3CAF.8010600@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Florian Weimer a écrit :
> We've set up WAL-shipping replication on one of our database servers,
> and the question is whether it runs correctly. Is there an easy way
> to access some tables and see if the data matches (possibly in
> single-user mode)?
>

Nope. The only way you can look at data on a "on-recovery" server (the
log shipping slave) is to stop the recovery process.

> Stopping replication and starting the server for real on the replica
> means that we have to set up things from scratch, right? (This is a
> bit annoying because of the amount of data which has to be copied from
> the master.)
>

Yes.

--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Simon Riggs 2008-10-20 09:05:40 Re: Strategies for validating WAL-shipping replication
Previous Message wstrzalka 2008-10-20 08:08:33 Re: Strategies for validating WAL-shipping replication