pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Edmundo Robles <edmundo@sw-argos.com>
To: pgsql-general@postgresql.org
Subject: Re: Doubts about replication..
Date: Thu, 19 Apr 2018 11:32:50 -0700
Message-ID: <2e6cb612-9d26-dfe4-6c5b-63682e8708b3@aklaver.com> (raw)
In-Reply-To: <CAOXzpYA3BGgJcD_KczunJKjUMNeM23K5tqbd9vqxSF5Qmfhwgw@mail.gmail.com>
References: <CAOXzpYA3BGgJcD_KczunJKjUMNeM23K5tqbd9vqxSF5Qmfhwgw@mail.gmail.com>

On 04/19/2018 10:57 AM, Edmundo Robles wrote:
> 
> 
> I have several versions of postgres 9.4.5, 9.4.4, 9.4.15 (3), 9.5.3
> in different versions of Debian 7.6, 7.8, 7.11, 8.5 and 8.6.
> 
> I need to replicate the databases and I have clear that I must update 
> all to one version.
> My main question is, Do you  recommended me update to 9.6 or better 
> update to 10?.

If you have the choice go with 10 as you get an additional year of 
community support.

> 
> Actually, is not the goal have high availability . I will use 
> replication as simple backup.
> For reasons of $$$ I can only have 1 server in which I will replicate 
> the 6 databases.
> 
> Do you recommend using a postgres service for the 6 databases?, or 
> better, I think,   I must run  a postgres service in different ports, 
> for each  database?.

I am assuming you are going to be using some form of logical replication 
as binary replication will not work between Postgres major versions.

One cluster would be simpler to manage. The down side is that there are 
cluster(global) data e.g. roles that would be shared by all the 
databases. There is also the fact that everything is in one cluster and 
should it fail all six databases will be down. Running as separate 
clusters would give you some redundancy.
> 
> thanks in advance.
> regards!
> -- 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (8+ messages)  latest in thread

Message-ID: <2e6cb612-9d26-dfe4-6c5b-63682e8708b3@aklaver.com>
Permalink:  ../2e6cb612-9d26-dfe4-6c5b-63682e8708b3@aklaver.com/
Also on:    postgresql.org/message-id/2e6cb612-9d26-dfe4-6c5b-63682e8708b3@aklaver.com

 · 

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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, edmundo@sw-argos.com
  Subject: Re: Doubts about replication..
  In-Reply-To: <2e6cb612-9d26-dfe4-6c5b-63682e8708b3@aklaver.com>
  References: <CAOXzpYA3BGgJcD_KczunJKjUMNeM23K5tqbd9vqxSF5Qmfhwgw@mail.gmail.com> <2e6cb612-9d26-dfe4-6c5b-63682e8708b3@aklaver.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