From: Brad Nicholson <bnichols@ca.afilias.info>
To: pgsql-general@postgresql.org
Subject: Re: Postgresql replication
Date: Thu, 25 Aug 2005 10:47:41 -0400
Message-ID: <430DDA0D.8090800@ca.afilias.info> (raw)
In-Reply-To: <430D6558.8040605@travelamericas.com>
References: <20050824173106.76233.qmail@web53210.mail.yahoo.com>
<430D6558.8040605@travelamericas.com>
Chris Travers wrote:
> Carlos Henrique Reimer wrote:
>
>> I read some documents about replication and realized that if you plan
>> on using asynchronous replication, your application should be
>> designed from the outset with that in mind because asynchronous
>> replication is not something that can be easily “added on” after the
>> fact.
>> Am I right?
>
>
> Depending on your needs, you may find pgpool and Slony to be a
> workable combination. This is better when you have a lot of reads and
> only occasional writes. This way writes get redirected back to the
> master, and read-only transactions get run on the slaves.
As long as you don't have any functions that write to the db. pgpool
could (and likely would) redirect some of these to the subscriber.
Slony would prevent the data from being written (which would prevent
the subscriber from being corrupted).
--
Brad Nicholson 416-673-4106
Database Administrator, Afilias Canada Corp.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: bnichols@ca.afilias.info
Subject: Re: Postgresql replication
In-Reply-To: <430DDA0D.8090800@ca.afilias.info>
References: <20050824173106.76233.qmail@web53210.mail.yahoo.com> <430D6558.8040605@travelamericas.com> <430DDA0D.8090800@ca.afilias.info>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox