pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Pierre LEBRECH <pierre.lebrech@laposte.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Slony1 or DRBD for replication ?
Date: Fri, 14 Apr 2006 08:25:23 -0700
Message-ID: <1145028323.5597.1.camel@localhost.localdomain> (raw)
In-Reply-To: <443F9BF3.4060101@laposte.net>
References: <443F9BF3.4060101@laposte.net>

On Fri, 2006-04-14 at 14:56 +0200, Pierre LEBRECH wrote:
> Hello,
> 
> I want to replicate my PostgreSQL database at an other location. The
> distance between the two locations should be around 10 miles. The link
> should be a fast ethernet dedicated link.
> 
> What would you suggest me to do? DRBD or slony1 for PostgreSQL replication?

It depends on your needs.

If you want to be able to use the slave postgresql instance (reporting,
non replicated name spaces, materialized views etc...) Slony or Mammoth
Replicator.

If you want to also replicate users/groups, grant and revoke, Mammoth
Replicator.

If you just want a hot backup... DRBD.

Joshua D. Drake


> 
> Thank you.
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match
> 
-- 

            === The PostgreSQL Company: Command Prompt, Inc. ===
      Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
      Providing the most comprehensive  PostgreSQL solutions since 1997
                     http://www.commandprompt.com/







view thread (6+ messages)  latest in thread

Message-ID: <1145028323.5597.1.camel@localhost.localdomain>
Permalink:  ../1145028323.5597.1.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1145028323.5597.1.camel@localhost.localdomain

 · 

reply

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-admin@postgresql.org
  Cc: jd@commandprompt.com, pierre.lebrech@laposte.net
  Subject: Re: Slony1 or DRBD for replication ?
  In-Reply-To: <1145028323.5597.1.camel@localhost.localdomain>
  References: <443F9BF3.4060101@laposte.net> <1145028323.5597.1.camel@localhost.localdomain>

* 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