From: Enrico Pirozzi <sscotty71@gmail.com>
To: Atul Kumar <akumar14871@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: upgrade postgres 9.5 to 9.6
Date: Fri, 15 Jan 2021 14:32:52 +0100
Message-ID: <20210115143252.9f2a7bc856cd69ec31a2e740@gmail.com> (raw)
In-Reply-To: <CA+ONtZ6Gzr7BgrNqaZzrWbsvN2KaPJCbYdOcB_b_26SSaJONjw@mail.gmail.com>
References: <CA+ONtZ6Gzr7BgrNqaZzrWbsvN2KaPJCbYdOcB_b_26SSaJONjw@mail.gmail.com>
Hi Atul,
you could use logical replication and do an hot upgrade between the 2 servers with a zero downtime ;)
If you want to use logical replication between a 9.5 , 9.6 version you could use for example pglogical.
You could achieve the same result using an external logic replication tool like slony, although pglogical is more powerful.
I hope that this can help you
Regards,
Enrico
On Fri, 15 Jan 2021 18:47:51 +0530
Atul Kumar <akumar14871@gmail.com> wrote:
> Hi,
>
> I want to upgrade my server from postgres 9.5 to 9.6, but my DB size
> is in TBs and I want to do it in minimum downtime (2-3 hours) so
> please help me how should I perform it.
>
>
> Please share the document, if possible, it will be grateful.
>
>
>
> Regards,
> Atul
--
Enrico Pirozzi <sscotty71@gmail.com>
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: sscotty71@gmail.com, akumar14871@gmail.com
Subject: Re: upgrade postgres 9.5 to 9.6
In-Reply-To: <20210115143252.9f2a7bc856cd69ec31a2e740@gmail.com>
References: <CA+ONtZ6Gzr7BgrNqaZzrWbsvN2KaPJCbYdOcB_b_26SSaJONjw@mail.gmail.com> <20210115143252.9f2a7bc856cd69ec31a2e740@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