QuestionQ29

VerifiedDuplicating a Database

Examine this configuration:

  1. CDB1 and CDB2 are two container databases.
  2. PDB1 is a pluggable database in CDB1.
  3. PDB1_C1_SRV is a service for PDB1.
  4. CDB1_LINK is a database link in CDB2 that refers to PDB1.
  5. CDB2 is also an entry in tnsnames.ora that points to the CDB2 database default service.

You successfully execute these commands:

$ sqlplus sys/oracle_4U@cdb2 as sysdba  
SQL> CREATE PLUGGABLE DATABASE PDB1  
  
FROM PDB1@CDB1_LINK -  
SERVICE_NAME_CONVERT=('PDB1_C1_SRV','PDB1_C2_SRV');  

Which two statements are true?

Choose two
Explanation

A PDB cloned with CREATE PLUGGABLE DATABASE ... FROM is created in the current CDB root and remains mounted until it is explicitly opened read/write. SERVICE_NAME_CONVERT creates the corresponding user-defined service in the target PDB using the replacement name; it does not rename the source service. Since the new PDB is still mounted, the converted user-defined service is created but not started.

Learn more

Community Discussion

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