From: Rodrigo Campos <rodrigocc@gmail.com>
To: Dominik Żyła <dominik.zyla@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database replication.
Date: Sun, 15 Apr 2007 16:29:47 -0300
Message-ID: <33d560f70704151229x60892c13vb3f08a533aa984eb@mail.gmail.com> (raw)
In-Reply-To: <b98a192a0704060209x7c41497am6339d1e3701fce4@mail.gmail.com>
References: <b98a192a0704060209x7c41497am6339d1e3701fce4@mail.gmail.com>
On 4/6/07, Dominik Żyła <dominik.zyla@gmail.com> wrote:
> Hi!
> I need to make database synchronization. I know slone-i to deal with it, but
> I need real time replication, without any trigers with db structure setup.
> Can someone recommend me some alternative for slone-i? It can be some
> commercial stuff too.
You could use drbd and drbdlinks to achive this. Drbd it's like raid1
over tcp/ip, so if you put your "/var/lib/postgresql" into the drbd
partition, it would be replicated to the other machine, and so your
database.
Here is a howto[1] doing this, but test and tweak for permormance
[1] http://people.equars.com/2007/3/16/postgresql-drbdlinks-heartbeat-on-debian> Thanks a lot.
Your are welcome, hope it was useful :)
Rodrigo
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: rodrigocc@gmail.com, dominik.zyla@gmail.com
Subject: Re: Database replication.
In-Reply-To: <33d560f70704151229x60892c13vb3f08a533aa984eb@mail.gmail.com>
* 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