Let’s Get Certified
Module 08 / 16 · Monitor, configure, and optimize database resources

Build a representative database baseline

Choose fleet, service and event-level measurements for the operational question.

Build a representative database baseline

Work through the decision

An alert says CPU exceeded 80% for five minutes during month-end close. The team compares it with a quiet Sunday and declares an incident. Which comparison would help establish whether users were affected?

Check your reasoning

Match the metric to comparable periods, transaction volume, compute tier and workload mix. Examine request duration, errors, throughput and other resources. A threshold crossing is a lead. Compare the observed service level with the agreed objective and identify the resource that constrained throughput.

Watch the source lesson at 1:37:10

Compare the choices

Operational baseline
Record representative distributions and workload context. Compare equivalent business intervals and volume.
Azure Monitor metrics
Inspect service-level measures and thresholds with explicit resource, time granularity and aggregation.
Database watcher
Collect supported Azure SQL performance and activity telemetry across a fleet. Verify collection health and data access for each target.
Extended Events
Capture selected engine events with predicates and a bounded target. Limit overhead and include the fields needed to correlate activity.

Test the decision

Database watcher can collect telemetry across supported Azure SQL targets. For a narrow transient engine event, consider a filtered Extended Events session. For service-level trends, use Azure Monitor and record the time grain and scope.

Practice the guide skills

  1. A monthly close is slower than a regular weekday. Design a fair baseline. Watch 1:37:10
    Check your answer

    Compare like periods with similar volume, query mix, service tier and concurrency. Keep distributions and workload context alongside CPU, I/O and completion time.

  2. Where can you compare resource pressure with query-level history? Watch 1:37:54 · Continue at 1:38:12
    Check your answer

    Combine Azure Monitor metrics for service behavior with Query Store for historical statements and plans. Use DMVs for an appropriate current or cumulative engine view.

  3. A database reports low CPU and high data I/O percentage. Watch 1:38:55
    Check your answer

    Compare the metric’s denominator, storage latency, scan volume and service limits. Check log write or file-space pressure separately before increasing compute.

  4. Design an actionable operations alert. Watch 1:38:55 · Continue at 1:42:25
    Check your answer

    Select scope, interval, threshold and evaluation duration, then route notifications to an accountable owner. Test against a known event and include a link to the relevant diagnostics.

  5. Forty Azure SQL targets require consistent fleet-level observation. Watch 1:39:44
    Check your answer

    Evaluate database watcher, configure supported targets, data store, network and permissions, then validate recent collection from more than one target.

  6. A short sporadic event disappears before a manual inspection. Watch 1:40:40
    Check your answer

    Create a narrowly filtered Extended Events session with appropriate events, fields and target. Bound collection overhead and verify events for a known time range.

Official objectives for this lesson

Related lesson · Choose a signal and route an alert

Knowledge check

Build a representative database baseline quiz

Answer 3 questions. Check each answer for an explanation.