Re: How to avoid base backup in automated failover

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: How to avoid base backup in automated failover
Дата
Msg-id CA+TgmoZmsr_14PzjG-2aHL1h=00tZ5sB4xFW6jvRnFyjZ0W04Q@mail.gmail.com
обсуждение исходный текст
Ответ на How to avoid base backup in automated failover  (chinnaobi <chinnaobi@gmail.com>)
Ответы Re: How to avoid base backup in automated failover  (chinnaobi <chinnaobi@gmail.com>)
Re: How to avoid base backup in automated failover  (chinnaobi <chinnaobi@gmail.com>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: GiST subsplit question
Следующее
От: Euler Taveira
Дата:
Сообщение: Re: libpq compression