Re: upgrading from pg 9.3 to 10

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Martín Marqués <martin(at)2ndquadrant(dot)com>
Cc: Edmundo Robles <edmundo(at)sw-argos(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: upgrading from pg 9.3 to 10
Date: 2018-08-16 00:31:20
Message-ID: 20180816003120.GE3681@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Aug 14, 2018 at 04:15:12PM -0300, Martín Marqués wrote:
> I'd recommend testing with a clone of the server to verify that it works
> properly (not only pg_upgrade, but your application with the new version
> of postgres). Also to time the window you'll need and see if there are
> things to be aware of, like extensions which are upgraded and might
> break the upgrade.
>
> Now if you are going to first jump to 9.4, I'd recommend using pglogical
> after getting to 9.4 and upgrade straight from 9.4 to 10 (always after
> testing your application against 10)

Well, pglogical has the advantage of reducing the downtime, which may
not matter depending on your application and you may be able to accept a
it of downtime, and pg_upgrade --link can be pretty quick at its job.
Test it before as --link is a no-return trip.
--
Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2018-08-16 00:41:05 Re: pg_basebackup failed to read a file
Previous Message Evan Bauer 2018-08-15 23:08:37 Re: How to revoke privileged from PostgreSQL's superuser