Re: Re. Postgres Upgrade.

From: Sushil Shirodkar <sushilps(at)hotmail(dot)com>
To: Ron <ronljohnsonjr(at)gmail(dot)com>, "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Re. Postgres Upgrade.
Date: 2020-09-06 21:11:50
Message-ID: MN2PR12MB42080CD6F6F27DD5F3AD3538D42B0@MN2PR12MB4208.namprd12.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

________________________________

From: Ron <ronljohnsonjr(at)gmail(dot)com>
Sent: Sunday, September 6, 2020 4:55 PM
To: pgsql-admin(at)lists(dot)postgresql(dot)org <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Re. Postgres Upgrade.

On 9/6/20 2:12 PM, Sushil Shirodkar wrote:
Hello experts,

Looking for advise/suggestions on the following scenario.

Existing Setup Moving to

Postgres => 10.5 Postgres => 12.4
Ubuntu => 16.04.5 Ubuntu => 20.04.1

Question:
We have new environment ready with PG 10 & PG 12 with Ubuntu 20.

To reduce the upgrade time, can I bring the volume(10/main) from old
server to new server & connect to PG10 and do the pg_upgrade ?

What about the binaries? (Though you can install PG 10 binaries for Ubuntu 20.04 easily enough.)

We already have them on new server.

will
PG10 running on "Ubuntu 16" work on "Ubuntu 20" for upgrade to PG12 ?
or I have to go thru pg_dumpall route.

You could copy the volumes over and pg_upgrade, do a pg_dumpall or enable logical replication from one to another. (That would greatly minimize downtime.)

Okay, sounds good. Thanks Ron.

--
Angular momentum makes the world go 'round.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message shyamkant.dhamke@wipro.com 2020-09-07 05:05:24 RE: Re. Postgres Upgrade.
Previous Message Ron 2020-09-06 20:55:39 Re: Re. Postgres Upgrade.