1Z0-052 · Question #153
In your database instance, the STATISTICS_LEVEL initialization parameter is set to BASIC. What is the impact of this setting?
The correct answer is C. The snapshots for the Automatic Workload Repository (AWR) are not generated automatically. When STATISTICS_LEVEL is set to BASIC in Oracle, the Automatic Workload Repository stops generating snapshots automatically, disabling many self-managing features.
Question
In your database instance, the STATISTICS_LEVEL initialization parameter is set to BASIC. What is the impact of this setting?
Options
- AOptimizer statistics are collected automatically.
- BOnly timed operating system (OS) statistics and plan execution statistics are collected.
- CThe snapshots for the Automatic Workload Repository (AWR) are not generated automatically.
- DSnapshots cannot be collected manually by using the DBMS_WORKLOAD_REPOSITORY package.
- EThe Oracle server dynamically generates the necessary statistics on tables as part of query optimization.
How the community answered
(39 responses)- A5% (2)
- C90% (35)
- D3% (1)
- E3% (1)
Why each option
When STATISTICS_LEVEL is set to BASIC in Oracle, the Automatic Workload Repository stops generating snapshots automatically, disabling many self-managing features.
Automatic optimizer statistics collection requires STATISTICS_LEVEL to be set to TYPICAL or ALL, not BASIC.
Timed OS statistics and plan execution statistics are enabled at the ALL level, not at BASIC.
With STATISTICS_LEVEL=BASIC, Oracle disables automatic AWR snapshot generation because AWR requires the parameter to be set to TYPICAL or ALL. Without automatic snapshots, features like Automatic Database Diagnostic Monitor (ADDM) and automatic optimizer statistics collection are also disabled. TYPICAL is the recommended default that enables AWR and most advisory features.
Manual snapshot collection via DBMS_WORKLOAD_REPOSITORY is still possible even when STATISTICS_LEVEL=BASIC; only automatic snapshot generation is disabled.
Oracle does not dynamically generate table statistics as part of query optimization at any STATISTICS_LEVEL setting; this describes no real Oracle behavior.
Concept tested: Oracle STATISTICS_LEVEL parameter and AWR impact
Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/STATISTICS_LEVEL.html
Topics
Community Discussion
No community discussion yet for this question.