On Mon, Jun 4, 2012 at 9:14 AM, chinnaobi <chinnaobi@gmail.com> wrote:
> Recently I was writing an application to implement automated failover with
> env: Two 2008 R2 servers, Network area storage, asynchronous replication,
> WAL archive on primary enabled.
>
> Is there any way to avoid starting standby server always from base backup in
> automated failover. I see the database is growing huge. I can't keep doing
> base backup every day.
>
> Please suggest solution
The usual solution is to configure the standby as a warm or hot
standby, so that logs are continuously replayed there. Then if the
master dies, you only have to wait for replication to catch up before
promoting.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company