Request for replication advice

From: "Brendan Jurd" <direvus(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Request for replication advice
Date: 2006-11-10 19:34:36
Message-ID: 37ed240d0611101134p14779689rdd445c180f714b06@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

Yes, it's yet another request for advice on replicating pgsql. I have
been doing some research on this lately, and so far I am getting the
impression that what I want is Slony + log shipping. The scenario is:

* One master postgres database on the internal, which is being
frequently updated by the internal users.
* One slave postgres database which is hosted remotely, available
from the Internet, and accessible via an IPsec tunnel from the
intranet.

The purpose of the public slave is to allow external users read-only
access to the data in the master database, without compromising the
security of the internal network.

To this end, we would like to "push" all inserts, updates and deletes
out to the slave database from the master database, with a purely
one-way connection (the slave is never allowed to connect in to the
internal network).

It is important that the data in the slave be as current as possible
with the live data. A delay of several minutes for any given update
to propagate to the slave would be tolerable, but any more than that
and the application would lose much of its appeal. So it's okay if
the replication is asynchronous, so long as it is fast.

The slave also needs to be highly available 24/7.

So, my question for the list is: is Slony + log shipping the direction
I should be investigating, or is there something else out that I ought
to consider? My understanding of WAL-based replication is that the
slave is purely a standby, and cannot be used to service queries.

TIA,
BJ

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kretschmer 2006-11-10 19:36:50 Re: FK pointing to a VIEW
Previous Message Merlin Moncure 2006-11-10 19:31:43 Re: FK pointing to a VIEW