Considerations for RDS Custom for Oracle database upgrades
If you plan to upgrade your database, consider the following:
-
When you upgrade the database binaries in your primary DB instance, RDS Custom for Oracle upgrades your read replicas automatically. When you upgrade the OS, you must upgrade the read replicas manually.
-
When you upgrade a container database (CDB) to a new database version, RDS Custom for Oracle checks that all PDBs are open or could be opened. If these conditions aren't met, RDS Custom stops the check and returns the database to its original state without attempting the upgrade. If the conditions are met, RDS Custom patches the CDB root first, and then patches all other PDBs (including
PDB$SEED
) in parallel.After patching completes, RDS Custom attempts to open all PDBs. If any PDBs fail to open, you receive the following event:
The following PDBs failed to open:
. If RDS Custom fails to patch the CDB root or any PDBs, the instance is put into thelist-of-PDBs
PATCH_DB_FAILED
state. -
You might want to perform a major database version upgrade and a conversion of non-CDB to CDB at the same time. In this case, we recommend that you proceed as follows:
-
Create a new RDS Custom for Oracle DB instance that uses the Oracle multitenant architecture.
-
Plug in a non-CDB into your CDB root, creating it as a PDB. Make sure that the non-CDB is the same major version as your CDB.
-
Convert your PDB by running the
noncdb_to_pdb.sql
Oracle SQL script. -
Validate your CDB instance.
-
Upgrade your CDB instance.
-