QuestionQ54

VerifiedDuplicating a Database

Your container database CDB1 has an application container named HR_ROOT that includes an application PDB, HR_PDB1. Assume you hold the required privilege to clone HR_PDB1 into container database CDB2, and CDB2 does not contain HR_ROOT.

Which two statements are always true?

Choose two
Explanation

Because CDB2 lacks the application root HR_ROOT, cloning HR_PDB1 into CDB2 produces a standalone (non-application) PDB rather than an application PDB, and this requires that the connecting user in CDB2's root possess the CREATE PLUGGABLE DATABASE privilege — since there is no application root context, this must be a common user with that privilege granted in CDB2's root. Additionally, Oracle's cloning mechanism (CREATE PLUGGABLE DATABASE ... FROM ...) always leaves a newly created clone PDB in MOUNTED state with a status of NEW immediately after the clone operation completes; the DBA must subsequently issue ALTER PLUGGABLE DATABASE OPEN to bring it online. These behaviors are documented in Oracle's Multitenant Administrator's Guide on cloning PDBs.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!