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 isPDB 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 anyof 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.
B
This statement fails:
SQL> show con_name
CON_NAME
——————————
DEV
SQL> startup
Pluggable Database opened.
SQL> ALTER SYSTEM SET STATISTICS_LEVEL=ALL SID=’*’ SCOPE=SPFILE;
ALTER SYSTEM SET STATISTICS_LEVEL=ALL SID=’*’ SCOPE=SPFILE
*
ERROR at line 1:
ORA-01780: string literal required
B