Your multitenant container database (CDB) CDB1 has two pluggable databases, PDB1 and PDB2. The local net service name CDB1 connects to the root database, and the service names PDB1 and PDB2 connect to the pluggable databases (PDBs), PDB1 and PDB2, respectively.
Examine the commands to 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?
A.
It gives an error because it cannot be set for the root database.
B.
It is set to TRUE for the root database and the pluggable database PDB2, because values can be set for this parameter at the PDB level in a PDB.
C.
It is set to TRUE for the root database and all the PDBS, because the value set at the root level has higher
precedence.
D.
It is set to TRUE for the root database and all the PDBS, but is effective only when the CDB is restarted and
the PDBs are reopened.
Explanation:
B