analyze_workload_indexes
Analyze query workload from pg_stat_statements to identify and recommend missing indexes, optimizing database performance.
Instructions
Analyze query workload from pg_stat_statements and recommend missing indexes.
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": "analyze_workload_indexes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Database alias to query. Omit to use the primary database. | |
| max_index_size_mb | No | Maximum index size budget in MB |