SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 ERP READ WRITE NO
4 CRM READ WRITE NO
5 HR READ WRITE NO
2.关闭 hr pdb
SQL> alter pluggable database hr close;
Pluggable database altered.
3.删除 hr pdb
SQL> drop pluggable database hr including datafiles;
Pluggable database dropped.
4.验证hr pdb已经被删除
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 ERP READ WRITE NO
4 CRM READ WRITE NO