Re: Postgres and geographically diverse replication - Mailing list pgsql-general

From Bill Moran
Subject Re: Postgres and geographically diverse replication
Date
Msg-id 20070424113342.db041015.wmoran@potentialtech.com
Whole thread Raw
In response to Re: Postgres and geographically diverse replication  (Brad Nicholson <bnichols@ca.afilias.info>)
List pgsql-general
In response to Brad Nicholson <bnichols@ca.afilias.info>:

> On Wed, 2007-04-18 at 16:43 -0400, Bill Moran wrote:
> > In response to "Drew Myers" <drew.myers@innerwireless.com>:
> > >
> > > I've been given a task to build a couple of geographically separate
> > > servers, which are capable of replicating data between each other.
> > >
> > > I've surfed through various google results, and most of what I've found
> > > seems to be a bit dated, so I thought I'd pose my question here, perhaps
> > > for more detailed and more up-to-date info.
> > >
> > > Is this normally done in a push/pull scenario within the postgres
> > > installations themselves, or is additional software required? What are
> > > the various replication capabilities?
> > >
> > > I apologize for the general nature of my questions, I'm new to postgres
> > > and to geographically separate replication. Any tips, books, whitepapers
> > > or other resources you might be able to point me to is most appreciated.
> >
> > Generally speaking, when you're talking geographically separate, Slony
> > is your best bet.  We're using it to maintain data on opposites sides of
> > the US with good success.
>
> Successfully using slony over a wide area is going to depend on how much
> data you are replicating, how fast the connection between the two sites
> is, and how stable the connection between the two sites is.

That's all true.  It's also true of _any_ geographically diverse replication.
Except, of course, Microsoft's.  According to Microsoft's marketing materials,
their replication system is able to exceed the speed of light.

So far, we've found Slony to do an excellent job of gracefully handing
intermittent network problems and occasional transaction spikes that
temporarily exceeded our available bandwidth.  Obviously, excessive
instances of either of these situations are going to make Slony fail,
but they'll do that to _any_ replication system, except those that can
exceed the speed of light ...

--
Bill Moran
http://www.potentialtech.com

pgsql-general by date:

Previous
From: Brad Nicholson
Date:
Subject: Re: Postgres and geographically diverse replication
Next
From: "Andy Dale"
Date:
Subject: Generic triggers ?