delete_pluggable_database
Deletes pluggable databases (PDBs).
Format
emcli delete_pluggable_database -cdbTargetName="CDB_of_target_PDBs" -cdbTargetType="CDB_target_type" -cdbHostCreds="CDB_host_credentials" -cdbTargetCreds="CDB_target_credentials" -pdbName="PDB_names" [-cdbHostPrivCreds="CDB_host_privileged_credentials"] [-ignoreStorageWarnings]
[ ]
indicates that the parameter is optional.
Options
-
cdbTargetName
Target container database (CDB) that contains the PDBs that you want to delete. Ensure that the target CDB you specify is a valid target in Enterprise Manager.
-
cdbTargetType
Database type of the target CDB, which can be
oracle_database, rac_database,
and so on. -
cdbHostCreds
Credentials for the host on which the target CDB is located.
-
cdbTargetCreds
Credentials for the target CDB.
-
pdbName
Names of the PDBs that you want to delete. Ensure that you separate the names using a comma.
-
cdbHostPrivCreds
Privileged credentials for the host on which the Snap Clone storage mount points are located. Note that this option is required only if you are deleting PDBs that were created using Snap Clone.
-
ignoreStorageWarnings
Ignore any storage warnings that may be generated while deleting PDBs that were created using Snap Clone.
Examples
This example deletes the test_pdb
PDB, which is a part of test_CDB,
an Oracle single-instance CDB, using HOST_CREDS
as the CDB host credentials and DB_CREDS
as the CDB target credentials:
emcli delete_pluggable_database -cdbTargetName=test_database -cdbTargetType=oracle_database -pdbName=test_pdb -cdbHostCreds=HOST_CREDS -cdbTargetCreds=DB_CREDS