QuestionQ251

VerifiedManage Multitenant Architecture

You are administering a multitenant container database (COB) that includes 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, run the following command on pdb2:

SQL> ALTER SYSTEM SET STATISTICS_LEVEL=ALL SID='*' SCOPE=SPFILE;  

Which statement is true about the outcome of this command?

Explanation

For a PDB-modifiable initialization parameter, an ALTER SYSTEM SET command issued while connected to a PDB affects only that PDB. With SCOPE=SPFILE, the value is stored persistently and takes effect when that PDB is closed and reopened; therefore, STATISTICS_LEVEL=ALL applies only to pdb2 when it is reopened.

Learn more

Community Discussion

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