Thread: Replication between Master PostgreSQL database version 9.6.1 and Standby/Slave PostgreSQL database version 10.17.
Replication between Master PostgreSQL database version 9.6.1 and Standby/Slave PostgreSQL database version 10.17.
From
Kaushal Shriyan
Date:
Hi,
Is replication possible between PostgreSQL support Master database running 9.6.1 version which is a lower version to Standby/Slave running version 10.17?
I have a datacenter DC1 which is a production environment and serves live customer traffic hosting Master PostgreSQL database version 9.6.1 and Standby/Slave PostgreSQL database version 9.6.1 for storing analytics data. I am adding the new datacenter DC2 by referring to https://docs.apigee.com/private-cloud/v4.51.00/adding-data-center?hl=en which will install another additional Standby/Slave PostgreSQL database version 10.17.
More details :- https://docs.apigee.com/release/supported-software
Please guide me. Thanks in advance.
Best Regards,
Kaushal
Re: Replication between Master PostgreSQL database version 9.6.1 and Standby/Slave PostgreSQL database version 10.17.
From
Christophe Pettus
Date:
> On Oct 5, 2022, at 09:32, Kaushal Shriyan <kaushalshriyan@gmail.com> wrote: > > Hi, > > Is replication possible between PostgreSQL support Master database running 9.6.1 version which is a lower version to Standby/Slaverunning version 10.17? Binary replication is not possible between different major versions. You can do logical replication, using the pglogicalextension: https://github.com/2ndQuadrant/pglogical (Although not directly related, do note that 9.6 has been past end-of-life for nearly a year, and version 10 will reach end-of-lifein November of this year. 10.17 is over a year old, and 9.6.1 is almost six years old; the most recent versionsof each are 10.22 and 9.6.24.)
Re: Replication between Master PostgreSQL database version 9.6.1 and Standby/Slave PostgreSQL database version 10.17.
From
Kaushal Shriyan
Date:
Thanks Christophe for the email and appreciate it. I am not sure if I understand the difference between binary and logical replication between PostgreSQL Master and Standby/Slave server.
Please guide me. Thanks in advance.
Best Regards,
Kaushal
On Wed, Oct 5, 2022 at 11:02 PM Christophe Pettus <xof@thebuild.com> wrote:
> On Oct 5, 2022, at 09:32, Kaushal Shriyan <kaushalshriyan@gmail.com> wrote:
>
> Hi,
>
> Is replication possible between PostgreSQL support Master database running 9.6.1 version which is a lower version to Standby/Slave running version 10.17?
Binary replication is not possible between different major versions. You can do logical replication, using the pglogical extension:
https://github.com/2ndQuadrant/pglogical
(Although not directly related, do note that 9.6 has been past end-of-life for nearly a year, and version 10 will reach end-of-life in November of this year. 10.17 is over a year old, and 9.6.1 is almost six years old; the most recent versions of each are 10.22 and 9.6.24.)
Re: Replication between Master PostgreSQL database version 9.6.1 and Standby/Slave PostgreSQL database version 10.17.
From
Christophe Pettus
Date:
> On Oct 6, 2022, at 10:20, Kaushal Shriyan <kaushalshriyan@gmail.com> wrote: > > I am not sure if I understand the difference between binary and logical replication between PostgreSQL Master and Standby/Slaveserver. It's best to review the documentation here: https://www.postgresql.org/docs/10/logical-replication.html Best, -- Christophe