Currently, many 19C databases are still created with the NONCDB architecture, but the use of the CDB architecture in the future is unavoidable. Starting from the 21C version, Oracle will no longer officially support the NONCDB architecture.
environmental information
This article mainly introduces how to convert NONCDB to CDB/PDB architecture under 19C the same version (DBMS_PDB.DESCRIBE
method), the following is the test environment information:
Role | CPU name | IP address | Database version | Instance name | DB name |
---|---|---|---|---|---|
NONCDB | lucifer-oracle19c | 192.168.6.152 | 19.15 | orb | orb |
CDB | lucifer-oracle19c-cdb | 192.168.6.153 | 19.15 | orcl | orcl |
Use the test environment OracleShellInstall one-click installation script to install.
conversion process
This article inserts the NONCDB library into a CDB database through DBMS_PDB.DESCRIBE
.
NONCDB library
Close the NONCDB database gracefully and open it in read-only mode: