get_slow_query_records
Retrieve recent or slow queries from the Impala workload-management query log. Filter by time range or minimum duration to analyze performance issues.
Instructions
Recent/slow queries from the Impala workload-management query log (sys.impala_query_log by default; needs Impala 4.2+ / CDP). Filter by time_range_hours or min_duration_ms.
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_slow_query_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| min_duration_ms | No | ||
| time_range_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |