You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the previous release (1.8.0), we introduced automation for in place major upgrades with minimal downtime (see PR #301).
While this was a significant improvement, there is still a need for a solution that enables zero-downtime upgrades.
Proposed Enhancement:
To achieve zero downtime during major PostgreSQL upgrades, we need to implement a feature that utilizes pg_upgrade on a standby cluster.
This approach involves the following steps (in short, without details):
Setting up a standby cluster (with pg_basebackup or from backup)
Synchronize the standby cluster with the main cluster using physical replication.
Perform pg_upgrade on the standby cluster.
Synchronize the standby cluster with the main cluster using logical replication (apply changes).
Perform a switchover to new cluster and (optionally) configure reverse logical replication.
This method will allow us to perform major version upgrades without impacting the availability of the PostgreSQL service. With the ability to quickly rollback without losing the latest changes.
Consider sponsoring the project via GitHub or Patreon
The text was updated successfully, but these errors were encountered:
vitabaks
changed the title
TODO: Implement Zero-Downtime Major Upgrades using pg_upgrade on Standby Cluster
TODO: Implement Zero-Downtime Major Upgrades
Dec 26, 2023
If you're interested in this feature, please consider becoming a sponsor.
The development of this feature requires sponsorship to fund developer efforts. If you're already a sponsor and are interested in this feature, please leave a comment here so we can prioritize this issue accordingly.
We also welcome contributions from those willing to dedicate their time to implement this feature on a voluntary basis. Please see the Contributing Guide for more information.
vitabaks
changed the title
TODO: Implement Zero-Downtime Major Upgrades
TODO: Implement zero-downtime major upgrades (blue/green)
Dec 6, 2024
In the previous release (1.8.0), we introduced automation for in place major upgrades with minimal downtime (see PR #301).
While this was a significant improvement, there is still a need for a solution that enables zero-downtime upgrades.
Proposed Enhancement:
To achieve zero downtime during major PostgreSQL upgrades, we need to implement a feature that utilizes
pg_upgrade
on a standby cluster.This approach involves the following steps (in short, without details):
pg_upgrade
on the standby cluster.This method will allow us to perform major version upgrades without impacting the availability of the PostgreSQL service. With the ability to quickly rollback without losing the latest changes.
Consider sponsoring the project via GitHub or Patreon
The text was updated successfully, but these errors were encountered: