pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Upgrade from PostgreSQL 9.6 to 11
Date: Mon, 10 Jun 2019 06:32:00 -0500
Message-ID: <08157152-f6ce-1158-895f-a23f91c87c68@gmail.com> (raw)
In-Reply-To: <CAKqG8NVEefVJ8zCOJkDr+87w7Qmn6LU4Sim5dOj0utGhQ06_xQ@mail.gmail.com>
References: <CAKqG8NVEefVJ8zCOJkDr+87w7Qmn6LU4Sim5dOj0utGhQ06_xQ@mail.gmail.com>

On 6/9/19 11:36 PM, Pawan Sharma wrote:
> Hello All.
>
>
> What is the best way to upgrade from PostgreSQL 9.6 to PostgreSQL 11 
> instead of pg_upgrade.
>
> - Less downtime.
> - Approx database size are 1-3TB.

If you really don't want to do pg_upgrade, then a possibility is 
multi-threaded pg_dump using directory format, followed by a parallel rsync 
if required, and then multi-threaded pg_restore.

-- 
Angular momentum makes the world go 'round.





view thread (6+ messages)

Message-ID: <08157152-f6ce-1158-895f-a23f91c87c68@gmail.com>
Permalink:  ../08157152-f6ce-1158-895f-a23f91c87c68@gmail.com/
Also on:    postgresql.org/message-id/08157152-f6ce-1158-895f-a23f91c87c68@gmail.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: ronljohnsonjr@gmail.com
  Subject: Re: Upgrade from PostgreSQL 9.6 to 11
  In-Reply-To: <08157152-f6ce-1158-895f-a23f91c87c68@gmail.com>
  References: <CAKqG8NVEefVJ8zCOJkDr+87w7Qmn6LU4Sim5dOj0utGhQ06_xQ@mail.gmail.com> <08157152-f6ce-1158-895f-a23f91c87c68@gmail.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