pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Julie Nishimura <juliezain@hotmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: upgrade and migrate
Date: Wed, 4 Dec 2019 08:08:30 -0500
Message-ID: <20191204130830.GF6962@tamriel.snowman.net> (raw)
In-Reply-To: <1f2db9f0757d063bd185caa65b3ecf01e6a3ddcb.camel@cybertec.at>
References: <BYAPR08MB50145D4B77BBAFDEE7C0726BAC420@BYAPR08MB5014.namprd08.prod.outlook.com>
	<20191204044843.GD2381@paquier.xyz>
	<1f2db9f0757d063bd185caa65b3ecf01e6a3ddcb.camel@cybertec.at>

Greetings,

* Laurenz Albe (laurenz.albe@cybertec.at) wrote:
> On Wed, 2019-12-04 at 13:48 +0900, Michael Paquier wrote:
> > On Tue, Dec 03, 2019 at 10:32:22PM +0000, Julie Nishimura wrote:
> > > Hello, what is the best way to migrate from PostgreSQL 8.3.11 on
> > > x86_64-redhat-linux-gnu to PostgreSQL 9.6.16 on x86_64-pc-linux-gnu
> > > server, with minimal downtime?
> > > The caveat is the source has about 80 databases overall almost 30
> > > TB. I could migrate the smallest ones (up to 1 tb) using pg_dump and
> > > pg_restore, but the largest hot database is almost 17 tb, and I am
> > > not sure how to approach this effort in a better and efficient way?
> > 
> > pg_upgrade could be one way to go here.  That's not the scale pg_dump
> > would be very good at.  I would have personally avoided using pg_dump
> > above 10~20GB.  Depending on the downtime you are ready to accept,
> > a migration based on Slony could be something to investigate.
> 
> Right, Slony is the way to go, since pg_upgrade doesn't support 8.3.
> 
> I would upgrade to a version more recent than 9.6.

So...  there's a bit of history here.  pg_upgrade in 9.4 actually does
support upgrading from 8.3.X.  Support for upgrading from 8.3 was
removed in 2209b3923a7afe0b6033ecfea972219df252ca8e.

Thanks,

Stephen

Attachments:

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

view thread (13+ messages)  latest in thread

Message-ID: <20191204130830.GF6962@tamriel.snowman.net>
Permalink:  ../20191204130830.GF6962@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20191204130830.GF6962@tamriel.snowman.net

 · 

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: sfrost@snowman.net, laurenz.albe@cybertec.at, michael@paquier.xyz, juliezain@hotmail.com
  Subject: Re: upgrade and migrate
  In-Reply-To: <20191204130830.GF6962@tamriel.snowman.net>
  References: <BYAPR08MB50145D4B77BBAFDEE7C0726BAC420@BYAPR08MB5014.namprd08.prod.outlook.com> <20191204044843.GD2381@paquier.xyz> <1f2db9f0757d063bd185caa65b3ecf01e6a3ddcb.camel@cybertec.at> <20191204130830.GF6962@tamriel.snowman.net>

* 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