Database Reference
In-Depth Information
Creating CDB and PDBs
A CDB can be created using Database Configuration Assistant (DBCA) in the same way a non-CDB database is
created. Figure
4-9
shows the specification of CDB creation with three PDBs in DBCA. With these specifications, the
DBCA will create the database with global database name
cpdb.kcloud.dblab.com
with the three PDBs: pdb1, pdb2,
and pdb3. With the creation of the CDB and the PDBs, the default corresponding database services are created for the
CDB and each of the PDBs. These database services have the same names as the CDB and PDBs.
Figure 4-9.
Creation of CDB with PDBs with DBCA
You also can create additional PDBs in the container CDB with SQL*Plus commands. There are several ways to
add a PDB to a CDB:
•
Creating PDB using the seed
•
Cloning an existing PDB
•
Plugging an unplugged PDB to the CDB
•
Creating PDB from a non-CDB
Refer to the “Creating and Removing PDBs with SQL*Plus” section of the
Oracle Database Administrator's
Guide 12c Release 1 (12.1)
for detailed steps.