Re: Can WAL files be shipped to multiple servers?

Поиск
Список
Период
Сортировка
От Steeles
Тема Re: Can WAL files be shipped to multiple servers?
Дата
Msg-id AANLkTikSihfCy_MPZproCFw=u0AFypYm6g3Ubs0fuyhw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Can WAL files be shipped to multiple servers?  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Can WAL files be shipped to multiple servers?  (Magnus Hagander <magnus@hagander.net>)
Re: Can WAL files be shipped to multiple servers?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
Thanks for the quick reply.

so if I switch target database from recovery mode to normal mode and do pg_dump to backup, then switch it back to recovery mode.

Will it break the relationship between source and target? Do I need to re-configure it in order to receive the WAL files?



On Fri, Jul 23, 2010 at 12:31 PM, Magnus Hagander <magnus@hagander.net> wrote:
On Fri, Jul 23, 2010 at 18:29, Steeles <steeles@gmail.com> wrote:
> I am working on shipping WAL files, can WAL files do one-to-many shipping?
> The target PG instances are running in the recovery mode waiting for the WAL
> files.

Yes. Just copy the files to multiple machines, the slaves are
completely independent.


> also, once the target PG database receives WAL files and update its own
> database, can I run pg_dump to dump all the data when it is in recovery
> mode?

No.


--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Can WAL files be shipped to multiple servers?
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Bitmask trickiness