Re: Bidirectional replication

Поиск
Список
Период
Сортировка
Искать
От
Simon Riggs
Тема
Re: Bidirectional replication
Дата
в 06:19:22
Msg-id
BANLkTim1ZLC+xfuhZNWMnnX07z=Z429a-A@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Bidirectional replication tushar nehete <tpnehete@gmail.com>
Re: Bidirectional replication John R Pierce <pierce@hogranch.com>
Re: Bidirectional replication Joshua Tolley <eggyknap@gmail.com>
Re: Bidirectional replication John R Pierce <pierce@hogranch.com>
Re: Bidirectional replication Joshua Tolley <eggyknap@gmail.com>
Re: Bidirectional replication Andrew Sullivan <ajs@crankycanuck.ca>
Re: Bidirectional replication "Greg Sabino Mullane" <greg@turnstep.com>
Re: Bidirectional replication Vick Khera <vivek@khera.org>
Re: Bidirectional replication Andrew Sullivan <ajs@crankycanuck.ca>
Re: Bidirectional replication Sim Zacks <sim@compulab.co.il>
Re: Bidirectional replication Simon Riggs <simon@2ndQuadrant.com>
Re: Bidirectional replication tushar nehete <tpnehete@gmail.com>
Re: Bidirectional replication John R Pierce <pierce@hogranch.com>
Re: Bidirectional replication Raghavendra <raghavendra.rao@enterprisedb.com>
Re: Bidirectional replication Raghavendra <raghavendra.rao@enterprisedb.com>
Re: Bidirectional replication Merlin Moncure <mmoncure@gmail.com>
Re: Bidirectional replication Greg Smith <greg@2ndquadrant.com>
Re: Bidirectional replication tushar nehete <tpnehete@gmail.com>
Re: Bidirectional replication tushar nehete <tpnehete@gmail.com>
Re: Bidirectional replication Andrew Sullivan <ajs@crankycanuck.ca>
Re: Bidirectional replication Joshua Tolley <eggyknap@gmail.com>
Re: Bidirectional replication John R Pierce <pierce@hogranch.com>
Re: Bidirectional replication "Greg Sabino Mullane" <greg@turnstep.com>
Re: Bidirectional replication "Greg Sabino Mullane" <greg@turnstep.com>
Re: Bidirectional replication Sim Zacks <sim@compulab.co.il>
Re: Bidirectional replication "Greg Sabino Mullane" <greg@turnstep.com>
On Tue, May 3, 2011 at 7:31 AM, Sim Zacks  wrote:

> I have heard good things about Bucardo, though I haven't tried it myself
> yet. I was warned that it would be risky to have 2 masters that have the
> same tables modified in both because of issues such as delayed sync, race
> conditions and other such goodies that may corrupt the meaning of the data.


Just to be clear and fair to Bucardo, I would add a few points.

All multi-master replication solutions that use an optimistic
mechanism require "conflict resolution" cases and code. This is the
same with SQLServer and Oracle etc.. Referring to a well known problem
as a race condition seems to introduce doubt and fear into a situation
that is well understood. Bucardo does offer hooks for conflict
resolution to allow you to program around the issues.

So if I felt that multi-master replication was the right way to go for
a solution, Bucardo is a good choice.

Just to add other info: if multi-master replication uses pessimistic
coherence, then the coherence mechanism can also be a source of
contention and/or cause the need for alternative kinds of conflict
resolution.

-- 
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-general по дате отправления
От: Karsten Hilbert
Дата:
От: raghu ram
Дата:
FAQ