Investigate a blocking scenario
Untangle blocking chains, live or in the past: root blockers, locked objects, and the queries involved.
When sessions pile up waiting on locks, ask the assistant to untangle the blocking chain: who blocks whom, which session sits at the root, which objects are contended, and which queries are involved.
It works in two modes:
Right now: a live snapshot of the current blocking sessions, to break an incident in progress.
In the past: a lock-contention analysis over any time window, collapsing the blocking chains to their root blockers and surfacing the hot objects, the offending queries, and any deadlocks.
Example prompts:
Historical:
"What was blocking on prod-eu-2 this afternoon at around 3pm?"
Live:
"Is anything blocking on prod-eu-2 at the moment?"
This walkthrough was recorded with the ChatGPT Desktop app.
Last updated