pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aldor <aldnin@yahoo.de>
To: pgsql-admin@postgresql.org
Subject: Re: Replication advice Many-to-one Slony
Date: Tue, 04 Dec 2007 12:08:45 +0100
Message-ID: <fj3cge$2nf0$1@news.hub.org> (raw)
In-Reply-To: <20071018114038.M97749@biomag.usp.br>
References: <20071018114038.M97749@biomag.usp.br>

Hello Walfred,

yes you can use slony, we use slony for huge data replication. One
solution of them is the backup of many masters to one slave.

It is in real time - and we're quite happy with the newest version
of slony.

Don't forget to not only add tables to your replication but to also
add sequences additionally, because you may backup the tables and
content of them but when trying to use your backup you could have a
big nightmare when you cannot find the state of your sequences - so
your data is not lost but not instantly usable.

When you think of using a hot-copy system so that you just can
switch from the master when it brakes to your slave system I would
suggest you to think about the load that could go to the
backup-slave which should now be used as master, in this case we
calculate 1/3 of master-load to one slave, but that depends on the
application and the load of your databases.

Switching to Slave and back to master when it's again ready (also
with automatic replication back to the master) works great in slony.

If you have any further questions or need any help on setting up the
slony scripts just contact me directly.

Regards,

Aldor

Walfred Tedeschi wrote:
> Hi all,
> 
> We intend to establish a central back-up for our system. It can be though as
> many machines (masters) linked to one Slave. The communication may be one
> directional (master -> slave) and would appreciate to have it almost in realtime.
> The data flux on the system is not very high in terms of transactions and
> volume of data. And the primary keys are planned in a way that there is no
> overlap over the masters (every master has its own range of PK) without
> overlapping. We were thinking about slony1.
> 
> Since we are not sure about the decision, we would appreciate very much if you
> could advise us what to use and where to start.
> 
> Thank you very much,
> 
> Fred
>     
> 
> --
> Open WebMail Project (http://openwebmail.org)
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly
> 



view thread (2+ messages)

Message-ID: <fj3cge$2nf0$1@news.hub.org>
Permalink:  ../fj3cge$2nf0$1@news.hub.org/
Also on:    postgresql.org/message-id/fj3cge$2nf0$1@news.hub.org

 · 

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: aldnin@yahoo.de
  Subject: Re: Replication advice Many-to-one Slony
  In-Reply-To: <fj3cge$2nf0$1@news.hub.org>

* 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