pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Martín Marqués <martin@2ndquadrant.com>
Cc: Edmundo Robles <edmundo@sw-argos.com>
Cc: pgsql-general@postgresql.org
Subject: Re: upgrading from pg 9.3 to 10
Date: Thu, 16 Aug 2018 02:31:20 +0200
Message-ID: <20180816003120.GE3681@paquier.xyz> (raw)
In-Reply-To: <6f11d8d5-5f8a-862d-0778-b8372a0d56d7@2ndquadrant.com>
References: <CAOXzpYCjcn2v58iUVGhpHhAaxQnuSFtSKk2TAXW4Zfz1P4L6hQ@mail.gmail.com>
	<6f11d8d5-5f8a-862d-0778-b8372a0d56d7@2ndquadrant.com>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (6+ messages)  latest in thread

Message-ID: <20180816003120.GE3681@paquier.xyz>
Permalink:  ../20180816003120.GE3681@paquier.xyz/
Also on:    postgresql.org/message-id/20180816003120.GE3681@paquier.xyz

 · 

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: michael@paquier.xyz, martin@2ndquadrant.com, edmundo@sw-argos.com
  Subject: Re: upgrading from pg 9.3 to 10
  In-Reply-To: <20180816003120.GE3681@paquier.xyz>
  References: <CAOXzpYCjcn2v58iUVGhpHhAaxQnuSFtSKk2TAXW4Zfz1P4L6hQ@mail.gmail.com> <6f11d8d5-5f8a-862d-0778-b8372a0d56d7@2ndquadrant.com> <20180816003120.GE3681@paquier.xyz>

* 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