nerdexam
Oracle

1Z0-052 · Question #249

You find today's performance of your production database to be the best ever. Therefore, you want to be notified in the future whenever the performance degrades by 10% of today's performance. What…

The correct answer is A. create baseline metrics for today's performance. Before any alerting or comparison mechanism can be configured, a performance baseline must be captured first to serve as the reference point for detecting future degradation.

Performing Database Maintenance

Question

You find today's performance of your production database to be the best ever. Therefore, you want to be notified in the future whenever the performance degrades by 10% of today's performance. What is the first step that you would take to ensure this?

Options

  • Acreate baseline metrics for today's performance
  • Bwrite the current database metrics to a database table and create a trigger to compare with future
  • Cwrite the current database metrics to a flat file and create an operating script to compare with
  • Dwrite the current database metrics to a database table and create a procedure to compare with
  • Ewrite the current database metrics to a database table and submit a job using DBMS_JOB to

How the community answered

(39 responses)
  • A
    82% (32)
  • C
    5% (2)
  • D
    3% (1)
  • E
    10% (4)

Why each option

Before any alerting or comparison mechanism can be configured, a performance baseline must be captured first to serve as the reference point for detecting future degradation.

Acreate baseline metrics for today's performanceCorrect

Creating a baseline is the mandatory first step because without a formally documented reference for today's best performance, no subsequent comparison or alert threshold can be defined. Oracle provides built-in baseline management through AWR (Automatic Workload Repository), where a baseline anchors the metrics snapshot that all future comparisons measure against. Only after the baseline exists can notification or comparison logic be layered on top.

Bwrite the current database metrics to a database table and create a trigger to compare with future

Writing metrics to a table and creating a trigger addresses the comparison mechanism but skips the prerequisite of formally establishing a named, time-stamped baseline.

Cwrite the current database metrics to a flat file and create an operating script to compare with

Writing metrics to a flat file is an informal approach that bypasses Oracle's built-in baseline management and is still not the first logical step.

Dwrite the current database metrics to a database table and create a procedure to compare with

Creating a stored procedure to compare metrics is a subsequent automation step that presupposes a baseline has already been captured and stored.

Ewrite the current database metrics to a database table and submit a job using DBMS_JOB to

Scheduling a job via DBMS_JOB to perform comparisons is a later step that cannot function correctly without a baseline already defined as the reference.

Concept tested: Oracle AWR performance baseline creation

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/tgdba/gathering-database-statistics.html

Topics

#AWR baseline#performance baseline#Enterprise Manager monitoring#performance metrics

Community Discussion

No community discussion yet for this question.

Full 1Z0-052 Practice