Analyze a workload over a time window
Explain what happened on one instance during a past time window: session load, waits, top queries, hot tables, and blocking, in one read.
Something happened on an instance last night, this morning, or during a batch, and you want to know what. Name the instance and the window, and the assistant reads the whole period in one pass: how loaded the instance was, what the sessions were waiting on, which queries and tables were behind it, and whether anything was blocked. This is the starting point most other analyses branch from.
Example prompts:
Explain a window:
"What ran on prod-eu-2 today between 1:30 and 2:30 am?"
"Why was prod-eu-1 slow this afternoon around 2:10?"
"Do a full analysis of prod-eu-1 for yesterday's nightly batch."
What the analysis shows
The assistant asks you to confirm the instance and the time window (24 hours at most) before it calls the platform. It then collects session activity, query statistics, blocking scenarios, and table activity for that window together, and reads them against each other rather than one at a time.
The result opens with a few key points, then explains the window section by section:
The pressure shape is named in plain language ("the window was I/O-bound: reads from table data files dominate"), and the next steps offered at the end follow from it. An I/O-bound window leads to an I/O drill-down, a lock-bound window to the blocking analysis, a CPU-bound window to the top offender's execution plan.
This walkthrough was recorded with the ChatGPT Desktop app.
Where to go next
At the end of every analysis, the assistant proposes a few next actions to choose from, picked according to what the workload showed. The usual branches are:
One query stands out: Optimize your top queries.
Sessions were waiting on locks: Investigate a blocking scenario.
The window looks worse than usual: Investigate a workload regression.
The instance is slow right now, not in the past: Diagnose a live performance spike.
Last updated