Re: DRBD and Postgres: how to improve the perfomance?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Joshua D. Drake" <jd@xxxxxxxxxxxxxxxxx> writes:
> Gregory Stark wrote:
>> "Simon Riggs" <simon@xxxxxxxxxxxxxxx> writes:
>>> You're right, but the distinction is a small one. What are the chances
>>> of losing two independent servers within a few milliseconds of each
>>> other? 
>> 
>> If they're on the same power bus?

> That chance is minuscule or at least should be.

It seems a bit silly to be doing replication to a slave server that has
any common point of failure with the master.

However, it seems like the point here is not so much "can you recover
your data" as what a commit means.  Do you want a commit reported to the
client to mean the data is safely down to disk in both places, or only
one?

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux