Re: Wal archiving and streaming replication

Поиск
Список
Период
Сортировка
От Raghavendra
Тема Re: Wal archiving and streaming replication
Дата
Msg-id CA+h6Ahgr6fEW5hyLKe=vNo4tYLQHC-SO+mjxZNNsDBb3pOrAoQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Wal archiving and streaming replication  (Ray Stell <stellr@cns.vt.edu>)
Список pgsql-general

On Tue, Aug 23, 2011 at 10:49 PM, Ray Stell <stellr@cns.vt.edu> wrote:
On Tue, Aug 23, 2011 at 08:30:55PM +0530, Raghavendra wrote:
>
> Is it a best practice to keep cluster in Archive_mode = on and setup
> streaming replication or just leave archive_mode=off?

Depends.  The reason for creating WAL is in case they are needed for recovery.
In the event that the stby host goes down, if bringing it back into service
exceeds wal_keep_segments on the primary then you would need to rebuild
the standby.  This is a local decision and should be made based on business
rules.

Thanks Ray.

--Raghav

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

Предыдущее
От: Chris Hanks
Дата:
Сообщение: Collapsing multiple subqueries into one
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: JDBC Connection Errors