Re: Shared pg_xlog directory/partition and warm standby

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: Devrim GUNDUZ <devrim(at)CommandPrompt(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Shared pg_xlog directory/partition and warm standby
Date: 2006-11-27 18:53:59
Message-ID: 21880.1164653639@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Florian G. Pflug" <fgp(at)phlo(dot)org> writes:
> Devrim GUNDUZ wrote:
>> 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?

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

Worse than that: what happens when the standby comes alive, and needs to
start writing pg_xlog entries?

Sounds like a disaster in the making to me.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2006-11-27 19:02:01 Re: 8.2 open items list
Previous Message Tom Lane 2006-11-27 18:51:10 Re: Configuring BLCKSZ and XLOGSEGSZ (in 8.3)