QuestionQ107

VerifiedManage Multitenant Architecture

You are administering the multitenant container database (CDB) cdb1.

Review the command and its output:

SQL>show parameterfile -  
  
NAMETYPEVALUE -  
----------------------------------------------------------------------- db_create_file_deststring db_file_name_convertstring db_filesinteger200  

You confirm that sufficient disk space is available and that no file currently exists in the /u0l/app/oracle/oradata/ cdb1/salesdb' location.

You plan to create a new pluggable database (PDB) by using this command:

SQL>CREATEPLUGGABLEDATABASESALESPDB  
ADMINUSERsalesadmIDENTIFIED 3Y password  
ROLES=(dba)  
  
DEFAULTTABLESPACEsales -  
DATAFILE' /u01/app/oracle/oradata/cdb1/salesdb/sales01 .dbfSIZE 250M AUTOEXTEND ON  
FILE_NAME_CONVERT=(/u01/app/oracle/oradata/cdb1/pdbseed/',  
'/u01/app/oracle/oradata/cdb1/salesdb/')  
STORAGE(MAXSIZE2G)  
PATK_PREFIX='/u01/app/oracle/oradata/cdb1/SALESPDB';  

Which statement is true?

Explanation

An explicit FILE_NAME_CONVERT clause maps the PDB seed files to the target directory, so no PDB_FILE_NAME_CONVERT initialization parameter is needed. Creating a PDB from the seed succeeds with the specified permanent default tablespace, and the new PDB is initially in mounted mode with NEW status; it must be explicitly opened to enter read/write mode.

Learn more

Community Discussion

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