You can upgrade and convert a non-CDB to a PDB in a new CDB in a single operation, or upgrade and then convert a Non-CDB database to a PDB in a pre-existing CDB.
Oracle Database 19c is the terminal release in which non-CDB Oracle Database architecture is supported. Oracle strongly recommends that you move to using pluggable databases (PDBs). When you migrate your database from the non-CDB architecture to PDBs in Oracle Database 19c, you obtain up to three user-configurable PDBs in a container database (CDB), without requiring a multitenant license. If you choose to configure four or more PDBs, then a multitenant license is required.
The non-CDB to PDB feature of the AutoUpgrade utility provides you flexible options to control how you upgrade your existing Oracle Database when you upgrade and convert an earlier release non-CDB architecture Oracle Database to a multitenant architecture database. You can perform this upgrade and conversion in a single operation.
Figure 3-1 Converting and Upgrading a Non-CDB Using AutoUpgrade
Description of "Figure 3-1 Converting and Upgrading a Non-CDB Using AutoUpgrade"
Example 3-1 AutoUpgrade Configuration File for Non-CDB to PDB Conversion
To use the non-CDB to PDB option, you must set the parameters
target_cdb in the AutoUpgrade configuration file. The
target_cdb parameter value defines the Oracle system identifier
(SID) of the container database into which you are plugging the non-CDB Oracle
Database. For example:
global.autoupg_log_dir=/home/oracle/autoupg upg1.sid=s12201 upg1.source_home=/u01/product/12.2.0/dbhome_1 upg1.log_dir=/home/oracle/autoupg upg1.target_home=/u01/product/19.1.0/dbhome_1 upg1.target_base=/u01 upg1.target_version=19.1.0 upg1.target_cdb=cdb19x