Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Re: Database replication. - Mailing list pgsql-admin

From Rodrigo Campos
Subject Re: Database replication.
Date
Msg-id 33d560f70704151229x60892c13vb3f08a533aa984eb@mail.gmail.com
Whole thread Raw
In response to Database replication.  ("Dominik Żyła" <dominik.zyla@gmail.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: REINDEX using only 1 CPU (of 2)
Next
From: "Phillip Smith"
Date:
Subject: Re: REINDEX using only 1 CPU (of 2)