QuestionQ223

VerifiedManage Multitenant Architecture

Your multitenant container database (CDB) CDB1 contains two pluggable databases, PDB1 and PDB2. The local net service name CDB1 connects to the root database, while the service names PDB1 and PDB2 connect to pluggable databases (PDBs) PDB1 and PDB2, respectively.

Examine these commands that change the value of the PDB-modifiable initialization parameter:

$> sqlplus sys/oracle_4U@pdb1 AS SYSDBA  
SQL> ALTER SYSTEM SET optimizer_use_sql_plan_baselines=FALSE SCOPE=BOTH;  
SQL>CONN sys/oracle_4U@pdb2 AS SYSDBA  
SQL>ALTER SYSTEM SET optimizer_use_sql_plan_baselines= TRUE SCOPE = BOTH;  
SQL> CONN sys/oracle _4U@cdbl AS SYSDBA  
SQL.>ALTER SYSTEM SET optimizer_use_sql_plan_baseline=TRUE SCOPE=BOTH;  

Which statement is true about the OPTIMIZER_USE_SQL_PLAN_BASELINES parameter?

Explanation

OPTIMIZER_USE_SQL_PLAN_BASELINES is modifiable in a PDB, so each PDB can have its own setting. A PDB-specific setting stops that PDB from inheriting a later root setting when ALTER SYSTEM SET uses its default CONTAINER=CURRENT. Thus, PDB1 retains FALSE, whereas the root and PDB2 have TRUE.

Learn more

Community Discussion

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