Re: 9.1.3 Standby catchup mode

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: 9.1.3 Standby catchup mode
Дата
Msg-id 4F82222B.4040902@gmail.com
обсуждение исходный текст
Ответ на Re: 9.1.3 Standby catchup mode  ("hans wulf" <lotu1@gmx.net>)
Список pgsql-general
On 04/08/2012 03:51 AM, hans wulf wrote:
>> Why would you not want to maintain a WAL archive?  Are you depending on
>> the
>> slave server(s) as your only form of backup?
>
> If the slave devide acts as a perfect backup, why would I need an additional 3rd entiy for WAL backups?

Belt and suspenders mode:). Assuming you archive the WAL files to a
third machine and there is independent connection from that machine to
the standby, the standby will pick up the data from those WAL files if
it loses its streaming connection to the primary and the primary is
still up and generating WAL files. This would depend on you setting up
file archiving from the primary to the third machine and archive
retrieval from the third machine to the standby. What you get is a
history of WAL files that you can replay should the streaming link go
down. Basically a second copy of the primary.

>
> I know what the difference between sync and async is, but I don't see the need for a WAL archive in sync mode. Can
youplease explain that? Thanks 

>
>



--
Adrian Klaver
adrian.klaver@gmail.com

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

Предыдущее
От: "hans wulf"
Дата:
Сообщение: Re: 9.1.3 Standby catchup mode
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: Questions of the privileges to use the pg_cancel_backend and pg_terminate_backend function. Thanks.