Re: Shared pg_xlog directory/partition and warm standby

Поиск
Список
Период
Сортировка
От Florian G. Pflug
Тема Re: Shared pg_xlog directory/partition and warm standby
Дата
Msg-id 456AE578.6010807@phlo.org
обсуждение исходный текст
Ответ на Shared pg_xlog directory/partition and warm standby server  (Devrim GUNDUZ <devrim@CommandPrompt.com>)
Ответы Re: Shared pg_xlog directory/partition and warm standby  ("Simon Riggs" <simon@2ndquadrant.com>)
Re: Shared pg_xlog directory/partition and warm standby  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Devrim GUNDUZ wrote:
> Hello,
> 
> Is there anything that may prevent two PostgreSQL servers to share the
> same pg_xlog directory; while one is using read-only and the other one
> is using the same partition for read and write? The problem is: If we
> share the same pg_xlog between production server and warm standby
> server; can you see any possibility of data/xlog corruption? Of course,
> warm standby server will mount that partition as read-only.

What happens in the standby server falls so far behind the master that
the xlogs it wants to read are already being overwritten?

AFAIK the files in pg_xlog form a circular buffer, and are reused after 
a while...

greetings, Florian Pflug


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

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: "Optional ident" authentication
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Integrating Replication into Core