pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brad Nicholson <bnichols@ca.afilias.info>
To: Manasi Save <manasi.save@artificialmachines.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Using Postgresql Replication
Date: Fri, 19 Feb 2010 08:27:10 -0500
Message-ID: <1266586030.4412.63.camel@bnicholson-desktop> (raw)
In-Reply-To: <20100219054912.h2y7ff6n8up0kwgw@mail.artificialmachines.com>
References: <20100219054912.h2y7ff6n8up0kwgw@mail.artificialmachines.com>

On Fri, 2010-02-19 at 05:49 -0500, Manasi Save wrote:
> Hi All,
> 
> 
> I am very new to Postgres in that I have to setup replication. For
> Which I am very confused between Postgres's replication types.
> 
> I want a sychronized but a master-slave replication.
> 
> I have read about Slony-I replication method. But I am confused if I
> have to manually setup slony-I replication for all databases. As the
> interface which I have seen for slony-I setup, it has given
> replication tab under every database. 

With Slony, you must set up every database, table, and sequence you want
to replicate yourself.


Slony is an asynchronous replication engine, btw.

> If I have to manually define replication master and slave node for any
> database I am creating then it is not a feasible  option for me to use
> Slony-I.
> 
> SLONY-I = Is it possible that all the databases getting created on
> Master Node will be replicated to specified Slave node.

Not possible.

> 
> So, I thought of PGCluster. But it comes with multi-master
> replication. 
> 
> PGCluster = Is it possible that I can configure Master-Slave
> replication in PGCluster.
> 
> 
> Please let me know if I am unclear in any point. Any input will be a
> great help.

What do you need replication for?  DR?  Query offloading?  Custom schema
or data transformations on a replica?  

Can you justify the cost warm standby hardware?

-- 
Brad Nicholson  416-673-4106
Database Administrator, Afilias Canada Corp.





view thread (5+ messages)  latest in thread

Message-ID: <1266586030.4412.63.camel@bnicholson-desktop>
Permalink:  ../1266586030.4412.63.camel@bnicholson-desktop/
Also on:    postgresql.org/message-id/1266586030.4412.63.camel@bnicholson-desktop

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bnichols@ca.afilias.info, manasi.save@artificialmachines.com
  Subject: Re: Using Postgresql Replication
  In-Reply-To: <1266586030.4412.63.camel@bnicholson-desktop>

* 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