Skip to content

Commit 531dcd3

Browse files
committed
fix: major upgrades
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
1 parent 5a232ec commit 531dcd3

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

  • content/posts/20260516-cloudnativepg-vs-crunchy-pgo

content/posts/20260516-cloudnativepg-vs-crunchy-pgo/index.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,18 @@ Every image in the CloudNativePG ecosystem — operator, operand, extension imag
221221
This is an area where CloudNativePG has invested heavily and where the
222222
difference is concrete.
223223

224-
Crunchy PGO v6 provides major version upgrades through a declarative
225-
`PostgresCluster` spec change, executed via an imperative reconciliation loop.
226-
The process requires a maintenance window proportional to dataset size and
227-
offers limited rollback options.
224+
Crunchy PGO v6 provides
225+
[major version upgrades](https://access.crunchydata.com/documentation/postgres-operator/latest/guides/major-postgres-version-upgrade)
226+
via a dedicated `PGUpgrade` CRD. The cluster must be fully shut down before
227+
the upgrade can proceed; `pg_upgrade` then runs to completion before the
228+
cluster is brought back online, giving a downtime window proportional to
229+
dataset size. The process is explicitly described as permanent in the
230+
documentation: there is no declarative rollback path, and Crunchy recommends
231+
keeping a copy of the cluster at the old version if rollback is a concern.
232+
Standby clusters are not supported during the upgrade and must be deleted and
233+
rebuilt from scratch afterwards. Several post-upgrade tasks also require
234+
manual intervention: running `ANALYZE`, upgrading extensions and cleaning up
235+
old data directories.
228236

229237
As I showed in
230238
[Recipe 24]({{< relref "../20260513-crunchy-to-cloudnativepg-pg18/index.md" >}}),

0 commit comments

Comments
 (0)