Re: Replication - Mailing list pgsql-hackers

From Markus Schiltknecht
Subject Re: Replication
Date
Msg-id 44E9D4DE.8070905@bluegap.ch
Whole thread Raw
In response to Re: Replication  (AgentM <agentm@themactionfaction.com>)
List pgsql-hackers
Hi,

AgentM wrote:
> I would imagine that multi-master synchronous replication would be 
> fairly trivial to implement with 2PC and wal-shipping available, no?

Yes, that could be done. And AFAIK eigter pgpool or PgCluster (1) try to 
do sync, multi-master replication that way.

The problem is that such an implementation is very network intensive and 
scales very badly for writing transactions. If you're interested in a 
good sync, multi-master replication algorithm, you might want to have a 
look at what Slony-II [1] or Postgres-R [2] try to do. I also recommend 
reading "Don't be lazy, be consistent" of Bettina Kemme [3].

Regards

Markus

[1]: http://www.slony2.org/wiki/index.php?title=Documentation
[2]: http://www.postgres-r.org/
[3]: http://www.cs.mcgill.ca/~kemme/papers/vldb00.html


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Replication
Next
From: mark@mark.mielke.cc
Date:
Subject: Re: PostgreSQL on 64 bit Linux