public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: Pgsql-admin <[email protected]>
Subject: Re: Guidance Needed for PostgreSQL Upgrade from 12 to 15
Date: Mon, 18 Nov 2024 12:11:14 -0500
Message-ID: <CANzqJaA1VyGqPUQaeT9vfxNV1C3rQJSdMHa9xtzx+rJQhkY2gw@mail.gmail.com> (raw)
In-Reply-To: <CAL5GnisA0RJ=Rd5e6yw4nsCB+DtAS1=iquBKTH76MknnTsHrPg@mail.gmail.com>
References: <CAL5GnisA0RJ=Rd5e6yw4nsCB+DtAS1=iquBKTH76MknnTsHrPg@mail.gmail.com>

On Mon, Nov 18, 2024 at 11:08 AM Motog Plus <[email protected]> wrote:

> Dear Team,
>
> We are in the process of upgrading our PostgreSQL database from version 12
> to version 15. I would greatly appreciate your advice on the following:
>
> 1. Would it be recommended to use the --link option with the pg_upgrade
> command, from disk space point of view?
>

Yes.


> Are there any potential downsides to consider?
>

Very much: it's a one-way journey.  No rolling back if something goes wrong!


> 2. Do you have any suggestions or best practices for performing an
> efficient upgrade in a replication setup (streaming replication) for both
> the primary and standby servers?
>

Streaming replication is not an upgrade method.  Logical replication is
absolutely a valid method of upgrading PG on one server to PG on a
different server.

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


view thread (14+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Guidance Needed for PostgreSQL Upgrade from 12 to 15
  In-Reply-To: <CANzqJaA1VyGqPUQaeT9vfxNV1C3rQJSdMHa9xtzx+rJQhkY2gw@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox