PERFORMANCE INVESTIGATION / FROM EVIDENCE TO DECISION
Make the slow window explainable.
Use workload evidence to narrow the investigation and verify a change against the service outcome.
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.ILLUSTRATIVE SCENARIO
Recover the reporting window.
A finance extract starts at 04:30, with a 06:00 reporting deadline.
30 minutes late → 45 minutes of headroom, if the target is verified.
A target is not a measured win. Retain the query, workload size, concurrency and actual rerun result.
Setup, interpretation and operating boundaries
Configure workload extraction for the selected connection before interpreting charts. Available metrics differ by source; do not compare unrelated database, cache and infrastructure series as if their units or sampling were identical. Missing telemetry is not zero load.
For PostgreSQL, Avg Active Sessions is a sampled load measure, not CPU percentage or query latency. Session state and wait events are independent: an active query may wait, and client waits can reflect application socket activity. Inspect the actual query and plan, parameters, volume, concurrency and resource configuration before changing anything.
Record baseline, hypothesis, one controlled change and a correctness/freshness guardrail. Rerun a comparable workload and check the business deadline separately from resource cost. A faster job or freed capacity does not necessarily reduce a bill.