Re: Replication

From: Markus Schiltknecht <markus(at)bluegap(dot)ch>
To: AgentM <agentm(at)themactionfaction(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Replication
Date: 2006-08-21 15:44:30
Message-ID: 44E9D4DE.8070905@bluegap.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message mark 2006-08-21 15:48:01 Re: PostgreSQL on 64 bit Linux
Previous Message Joshua D. Drake 2006-08-21 15:40:16 Re: Replication