fragmentation_analysis
Rank MySQL tables by reclaimable data_free to pinpoint OPTIMIZE TABLE candidates. Inject fragmentation rows for offline analysis or omit to pull live worst offenders.
Instructions
[READ] Rank tables by reclaimable data_free into OPTIMIZE TABLE candidates.
Pass 'tables' (as from table_fragmentation) for pure/offline analysis, or omit to pull the worst-fragmented tables live. Each recommendation cites its numbers.
Args: tables: Injected fragmentation rows; if omitted, pulled live. limit: How many tables to pull when not injected (default 50). target: Target name from config; omit for the default.
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": "fragmentation_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| tables | No | ||
| target | No |