nerdexam
Oracle

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.

Performing Database Maintenance

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)
  • A
    5% (2)
  • C
    90% (35)
  • D
    3% (1)
  • E
    3% (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.

AOptimizer statistics are collected automatically.

Automatic optimizer statistics collection requires STATISTICS_LEVEL to be set to TYPICAL or ALL, not BASIC.

BOnly timed operating system (OS) statistics and plan execution statistics are collected.

Timed OS statistics and plan execution statistics are enabled at the ALL level, not at BASIC.

CThe snapshots for the Automatic Workload Repository (AWR) are not generated automatically.Correct

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.

DSnapshots cannot be collected manually by using the DBMS_WORKLOAD_REPOSITORY package.

Manual snapshot collection via DBMS_WORKLOAD_REPOSITORY is still possible even when STATISTICS_LEVEL=BASIC; only automatic snapshot generation is disabled.

EThe Oracle server dynamically generates the necessary statistics on tables as part of query optimization.

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

#STATISTICS_LEVEL#AWR snapshots#automatic statistics collection#BASIC setting

Community Discussion

No community discussion yet for this question.

Full 1Z0-052 Practice