Skip to main content

PRODUCT WALKTHROUGH

Make the slow window explainable.

Use workload evidence to narrow the investigation and verify a change against the service outcome.

Keep the database and reporting window fixed. Selected one-hour window.
Illustrative workflow · product-based SVG · mock dataOpen full-size screen ↗
Keep the database and reporting window fixed.

Use finance_postgres from 05:00 to 06:00 UTC on 27 November. Check collection completeness before interpreting the late-window load. Both charts in this walkthrough use this same source and interval.

Marked on screen: Selected one-hour window.
Worked example, setup and reference details

When a report becomes slow, begin with the time window and the work running during it. A long query, many small queries, and database contention need different remedies. Workload Analyzer (called Performance Analyzer in V2) helps you gather evidence before changing SQL or capacity.

Before you start​

Record the affected source, report or application, start and end times with timezone, and expected completion time. Confirm that workload collection is enabled for a supported source and that its collection jobs have succeeded. Follow the Workload Analyzer guide for connection requirements and available views.

Available metrics depend on the connector, its permissions, and enabled collection workflows. An empty graph can mean missing collection rather than an idle database.

Investigate one slow window​

  1. Select the affected source and the incident time range in the analyzer. Check collection freshness before interpreting the graphs.
  2. Compare that window with a representative normal window for the same workload. Record changes in workload volume as well as duration.
  3. Inspect query execution time and call frequency where available. Distinguish a single slow statement from a frequently repeated statement with high cumulative time.
  4. Inspect wait and resource views supported by the source. Correlate a spike with the query window; do not infer a root cause from one chart alone.
  5. Inspect the candidate SQL and its source-system execution plan. Check predicates, join cardinality, data volume, and concurrent work before proposing a change.
  6. Test one change in a controlled environment. Compare the same query scope and result correctness before considering rollout.

Read wait evidence​

V2 UI example

The illustration is based on the V2 interface. Controls and layout differ in V1; use the linked product guide for your UI version.

Illustrative finance_postgres workload with a 05:40 CPU peak

A wait breakdown helps distinguish where activity spends time. It does not prove that adding compute, adding an index, or rewriting a join will fix the workload. Use the load-by-waits guide to interpret the chart for supported sources. This illustrative V2 view shows the selected source and time window with its wait breakdown; it is not a before-and-after benchmark.

For example, suppose a morning report slows down while a bulk load runs. First compare query frequency, execution time, and wait activity during overlapping and non-overlapping windows. If you test moving the load, keep the report's data scope comparable. A shorter run with fewer rows is not proof of an improvement.

Keep a comparison record​

Use a record like this for each candidate change; the entries are fields to fill, not measured results:

EvidenceBeforeAfter
Source, query, parameters, and time windowRecord the exact scopeRecord the same scope or explain differences
Data volume and concurrent workCapture the baselineIdentify confounding changes
Runtime and available wait metricsRetain observationsRetain repeated observations
Result correctnessSave agreed totals or validation checksConfirm equivalent results
Change and rollbackState the hypothesisRecord the decision and rollback owner

Make the next decision​

Retain the query identifier or SQL, selected time ranges, collection status, execution plan, observations, and change owner. If evidence is incomplete, fix collection or collect another representative window before tuning.

The analyzer provides investigation evidence; it does not guarantee an optimization or a saving. Query duration is not a billing record. Verify any cost claim against the provider's billing data and comparable workload volume, and validate migration correctness separately with the migration checklist.

Review a slow workload investigation