get_active_queries
Monitor currently running MySQL queries to identify performance bottlenecks, detect long-running operations, and find blocking transactions that may be causing database slowdowns.
Instructions
Get currently active queries in MySQL.
Shows:
Running queries with execution time
Long-running queries
Blocked queries waiting on locks
Idle transactions that may be holding locks
Useful for:
Identifying queries causing performance issues
Finding blocking transactions
Monitoring query execution in real-time
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_active_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_duration_sec | No | Minimum query duration in seconds | |
| show_full_query | No | Show full query text (may be truncated otherwise) |