Oracle Database Releases That Support Direct Upgrade

Review the supported options for direct upgrades to Oracle Database 23ai.

You can perform a direct upgrade to the new release from the following releases:

  • 21c
  • 19c

The path that you must take to upgrade to the latest Oracle Database release depends on the release number of your current database.

If your current Oracle Database is a release earlier than Oracle Database 19c, then you cannot directly upgrade your Oracle Database to the latest release. In this case, you are required to upgrade to an intermediate release before upgrading to Oracle Database 23ai.

If you cannot carry out a direct upgrade, then upgrade to the most recent release where direct upgrades from your earlier release Oracle Database are supported.

Note:

For any multi-step upgrade, if you must carry out two upgrades to upgrade to the current release, then you must run the AutoUpgrade preupgrade checks twice: First, run the checks and complete an upgrade to an intermediate upgrade release that is supported for direct upgrade to the target upgrade release. Second, run the AutoUpgrade preupgrade checks for the target upgrade release, and upgrade to the latest release.

For example, if the database from which you are upgrading is running Oracle Database 12c Release 2 (12.2) then to upgrade to Oracle Database 21c, follow these steps:

  1. Upgrade Release 12.2 to release 21c, using the instructions in Oracle Database Upgrade Guide 21c, including running an AutoUpgrade precheck for 21c.

  2. Upgrade Oracle Database 21c directly to Oracle Database 23ai. Use the instructions in this book, Oracle Database Upgrade Guide, including running the preupgrade script for Oracle Database 23ai.

The following table shows the required upgrade path for each release of Oracle Database. Use the upgrade path and the specified documentation to perform an intermediate upgrade of your database before fully upgrading to Oracle Database 23ai.

Table 1-1 Examples of Upgrade Paths for Oracle Database 23ai

Current Release Upgrade Options

21c, 19c (all releases)

Direct upgrade is supported. Perform the upgrade using the current Oracle Database Upgrade Guide, which is this guide.

18c

12.2

12.1.0.2.

12.1.0.1

11.2.0.1, 11.2.0.2, 11.2.0.3, 11.2.0.4

11.1.0.6, 11.1.0.7

10.2 or earlier releases

Direct upgrade to Oracle Database 23ai is not supported.

Solution: Upgrade to an intermediate Oracle Database release that can be directly upgraded to the current release. Upgrade Oracle Database releases that are not supported for direct upgrade in this release to an intermediate Oracle Database release that is supported for direct upgrade.

When upgrading to an intermediate Oracle Database release, follow the instructions in the intermediate release documentation, including running the preupgrade scripts for that intermediate release. After you complete an upgrade to the intermediate release Oracle Database, you can upgrade the intermediate release database to the current Oracle Database release.

This restriction does not apply if you use Oracle Data Pump export/import to migrate data to the new release.

For example:

  • Releases 12.2.0.1, 12.2.0.2. 12.2.0.3, 12.2.0.4, 18c: Upgrade to Oracle Database 21c, and then upgrade to Oracle Database 23ai.
  • Releases 12.1.0.1, 12.1.0.2, 11.2.0.3, 11.2.0.4: Upgrade to Oracle Database 12c Release 2 (12.2), upgrade to Oracle Database 21c, and then upgrade to Oracle Database 23ai.

Note: Always update to the most recent intermediate release to which you can upgrade directly. Your case can be different from that of the examples provided here.