pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Morton <david.morton@eroad.com>
To: John Scalia <jayknowsunix@gmail.com>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: Upgrading 9.6.9 to 10.4
Date: Tue, 26 Jun 2018 22:47:05 +0000
Message-ID: <55998B04-BB01-45F9-B478-BCE1DA4E8E6E@eroad.com> (raw)
In-Reply-To: <8D4726EE-74E8-494B-9ED1-817EF2BB5E4B@gmail.com>
References: <8D4726EE-74E8-494B-9ED1-817EF2BB5E4B@gmail.com>

Take a look at pglogical ... we've used it for 9.4 -> 9.6 and the same theories apply going to 10.x I imagine. People have used it in combination with pgbouncer to achieve near outage-less upgrades. Some helpful links below:
https://blog.2ndquadrant.com/pglogical-logical-replication-postgresql-10/
https://blog.2ndquadrant.com/near-zero-downtime-automated-upgrades-postgresql-clusters-cloud/
https://blog.2ndquadrant.com/near-zero-downtime-automated-upgrades-postgresql-clusters-cloud-part-ii...


On 27/06/18, 10:38 AM, "John Scalia" <jayknowsunix@gmail.com> wrote:

    Hi all,
    
    My employer is in the process of upgrading PostgreSQL, and they would like me to make this happen without any real interruption of service. As I understand it, 9.6 does not support the publish/subscribe model like 10.4 does, but logical replication is the basis of that model. So, does anyone have any suggestions for how to implement the receiver side on a 10.4 server? Or could you at least point me to some sort of how-to page?
    
    TIA,
    Jay
    
    
    Sent from my iPad
    



view thread (7+ messages)  latest in thread

Message-ID: <55998B04-BB01-45F9-B478-BCE1DA4E8E6E@eroad.com>
Permalink:  ../55998B04-BB01-45F9-B478-BCE1DA4E8E6E@eroad.com/
Also on:    postgresql.org/message-id/55998B04-BB01-45F9-B478-BCE1DA4E8E6E@eroad.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-admin@postgresql.org
  Cc: david.morton@eroad.com, jayknowsunix@gmail.com
  Subject: Re: Upgrading 9.6.9 to 10.4
  In-Reply-To: <55998B04-BB01-45F9-B478-BCE1DA4E8E6E@eroad.com>
  References: <8D4726EE-74E8-494B-9ED1-817EF2BB5E4B@gmail.com> <55998B04-BB01-45F9-B478-BCE1DA4E8E6E@eroad.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