Which statement is true about the result of this command?

You are administering a multitenant container database (COB) that contains two pluggable
databases (PDBs), pdb1 and pdb2. You are connected to pdb2 as a common user with DBA
privileges.
The statistics_level parameter is PDB modifiable.
As the user sys, execute the following command on pdb2:
SQL> ALTER SYSTEM SET STATISTICS_LEVEL=ALL SID=’*’ SCOPE=SPFILE;
Which statement is true about the result of this command?

You are administering a multitenant container database (COB) that contains two pluggable
databases (PDBs), pdb1 and pdb2. You are connected to pdb2 as a common user with DBA
privileges.
The statistics_level parameter is PDB modifiable.
As the user sys, execute the following command on pdb2:
SQL> ALTER SYSTEM SET STATISTICS_LEVEL=ALL SID=’*’ SCOPE=SPFILE;
Which statement is true about the result of this command?

A.
The statistics_level parameter is set to all when any of the PDBs is reopened.

B.
The statistics_level parameter is set to all only for PDB2 when it is reopened.

C.
The statistics_level parameter is set to all when the root database is restarted.

D.
The statement is ignored because there is no SPFILE for a PDB.



Leave a Reply 8

Your email address will not be published. Required fields are marked *


DBA_Contributer

DBA_Contributer

So does PDB has SPFILE?
Yup. One can view PDB_SPFILE$ table for it’s contents.
And because of this when PDB is bounced, it takes value for SCOPE=SPFILE from this table entries. We do not have to bounce whole CDB for this change.

Hence, correct answer is as said by others, B.