pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martín Marqués <martin@2ndquadrant.com>
To: Edmundo Robles <edmundo@sw-argos.com>
To: pgsql-general@postgresql.org
Subject: Re: upgrading from pg 9.3 to 10
Date: Tue, 14 Aug 2018 16:15:12 -0300
Message-ID: <6f11d8d5-5f8a-862d-0778-b8372a0d56d7@2ndquadrant.com> (raw)
In-Reply-To: <CAOXzpYCjcn2v58iUVGhpHhAaxQnuSFtSKk2TAXW4Zfz1P4L6hQ@mail.gmail.com>
References: <CAOXzpYCjcn2v58iUVGhpHhAaxQnuSFtSKk2TAXW4Zfz1P4L6hQ@mail.gmail.com>

El 14/08/18 a las 14:44, Edmundo Robles escribió:
> Is safe  to upgrade from pg 9.3 to pg 10 directly using pg_upgrade or
> is better upgrade, with pg_upgrade,  from  9.3 -> 9.4 ->9.5 -> 9.6 -> 10.

That is quiet a jump. But not imposible with pg_upgrade.

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)

Regards,

-- 
Martín Marqués                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services




view thread (6+ messages)  latest in thread

Message-ID: <6f11d8d5-5f8a-862d-0778-b8372a0d56d7@2ndquadrant.com>
Permalink:  ../6f11d8d5-5f8a-862d-0778-b8372a0d56d7@2ndquadrant.com/
Also on:    postgresql.org/message-id/6f11d8d5-5f8a-862d-0778-b8372a0d56d7@2ndquadrant.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: martin@2ndquadrant.com, edmundo@sw-argos.com
  Subject: Re: upgrading from pg 9.3 to 10
  In-Reply-To: <6f11d8d5-5f8a-862d-0778-b8372a0d56d7@2ndquadrant.com>
  References: <CAOXzpYCjcn2v58iUVGhpHhAaxQnuSFtSKk2TAXW4Zfz1P4L6hQ@mail.gmail.com> <6f11d8d5-5f8a-862d-0778-b8372a0d56d7@2ndquadrant.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