docs/content/stable/yugabyte-cloud/cloud-clusters/database-upgrade.md
{{< page-finder/head text="Upgrade YugabyteDB" subtle="across different products">}} {{< page-finder/list icon="/icons/database-hover.svg" text="YugabyteDB" url="../../../manage/upgrade-deployment/" >}} {{< page-finder/list icon="/icons/server-hover.svg" text="YugabyteDB Anywhere" url="../../../yugabyte-platform/manage-deployments/upgrade-software/" >}} {{< page-finder/list icon="/icons/cloud-hover.svg" text="YugabyteDB Aeon" current="" >}} {{< /page-finder/head >}}
In YugabyteDB Aeon, database upgrades are automated and are performed during scheduled maintenance windows.
YugabyteDB Aeon notifies you of upcoming upgrades. When an upgrade is in progress, you have 48 hours to monitor your cluster and then either roll back the upgrade or finalize it. If you take no action, the upgrade is automatically finlized at the end of the monitoring period.
In addition to the usual cluster operation locking, be aware of the following before performing an upgrade:
Upgrading YugabyteDB from a version based on PostgreSQL 11 (v2024.2 and earlier) to a version based on PostgreSQL 15 (v2025.1 or later) requires additional steps.
New PostgreSQL major versions add many new features and performance improvements, but also remove some older unsupported features and data types. You can only upgrade after you remove all deprecated features and data types from your databases.
Use the pre-check to make sure your cluster is compatible with the new major YSQL version.
After you are notified of an upcoming YSQL major upgrade, to perform the pre-check do the following:
If your cluster is not fully compatible with the YSQL major upgrade, the pre-check will fail. Click View Report to view a report of recommendations changes.
After a successful upgrade precheck, you can proceed with the usual database upgrade.
Once all the nodes have been upgraded, monitor the cluster to ensure it is healthy:
If you have problems, you can roll back during this time.
For upgrades that require finalizing, you can monitor for as long as you need, up to a maximum recommended limit of two days to avoid operator errors that can arise from having to maintain two versions.
A subset of features that require format changes will not be available until the upgrade is finalized.
If you are satisfied with the upgrade:
For upgrades that do not require finalizing, the upgrade is effectively complete.
For upgrades that require finalizing, proceed to Finalize the upgrade.
If you aren't satisfied with an upgrade, you can roll back to the version that was previously installed.
To roll back an upgrade, do the following:
Navigate to the cluster Maintenance tab.
Under Scheduled Maintenance, Select the maintenance task to disply the details.
Click Roll Back.
When an upgrade is in progress, you have 48 hours to monitor your cluster and then either roll back the upgrade or finalize it. If you take no action, the upgrade is automatically finlized at the end of the monitoring period. Note that you can't roll back after you finalize.
To manually finalize an upgrade, do the following:
Navigate to the cluster Maintenance tab.
Under Scheduled Maintenance, Select the maintenance task to disply the details.
Click Finalize Upgrade Now.