get_statements_with_full_scans
Identify MySQL queries performing full table scans to detect performance issues. Find statements that don't use indexes or use non-optimal indexes for targeted optimization.
Instructions
Get statements that perform full table scans.
Full table scans can severely impact performance on large tables. Identifies queries that:
Don't use any index
Use a non-optimal index
These queries are prime candidates for index optimization.
Note: This tool excludes queries against MySQL system schemas (mysql, information_schema, performance_schema, sys) to focus on user/application query analysis.
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_statements_with_full_scans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum statements to return | |
| min_rows_examined | No | Minimum rows examined threshold |