Re: replication

From: Michael Klatt <lists(dot)tcimk(at)olympus(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: replication
Date: 2005-02-14 17:40:10
Message-ID: 4210E27A.60203@olympus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Christopher Browne wrote:
> The world rejoiced as fred(dot)blaise(at)excilan(dot)com (Fred Blaise) wrote:
>
>>Hello
>>
>>I am running postgres 7.4.6 on 2 BSDi boxes. One is live, the other one
>>is a failover. I would like to implement a master-slave replication
>>process.
>>
>>I believe replication has been included in the base package since 7.3.x.
>>
>>Do you have any good pointers/how-to to direct me to?
>
>
> For such cases, I believe that Slony-I is the preferred solution these
> days. The comprehensive documentation may be found in CVS at gborg;
> it may be found online at the URL below.

Hi Christopher,

I've taken a look at Slony-I and found some limitations. Unless I'm
mistaken, Slony-I can't be used to replicate users/groups, and it must
be set up for each individual database. So, for a server where users
and databases are added and removed often, then it seems like Slony-I
may not be the best choice. For simply replicating data in a limited
number of databases, then Slony-I probably performs much better than
pgpool (which has many issues of its own).

We're considering using Slony-I for some applications (where performance
is an issue and user/databases don't change often) and pgpool for others
(where we just need everything replicated).

Michael

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Joshua D. Drake 2005-02-14 18:26:48 Re: replication
Previous Message Tom Lane 2005-02-14 17:14:33 Re: Problem binding postmaster to several interfaces