QuestionQ172

VerifiedUpgrade the Oracle Database

Consider the following setup:

  1. CDB1 is an Oracle Database 12c Release 2 container database (CDB).
  2. PDB1 and PDB2 are pluggable databases (PDBs) within CDB1.

After completing all preupgrade tasks successfully, you run the following commands from the Oracle Database 18c environment:

Question Image

What is the result?

Explanation

In the Oracle Database parallel upgrade utility (catctl.pl), the -C option defines an exclusion list — containers named after -C are excluded from the upgrade operation, while all other containers (including CDB$ROOT and PDB$SEED, which are always processed) are upgraded. Since PDB1 was already manually opened in UPGRADE mode and is not excluded, it is upgraded along with CDB$ROOT and PDB$SEED. PDB2 is named in the -C exclusion list, so catctl.pl skips it entirely; it is not required to be in UPGRADE state, and the command does not fail because of PDB2's mounted state.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!