analyze_index_performance
Analyze index usage in a PostgreSQL schema to reveal unused or duplicate indexes. Use the findings to remove waste and improve query performance.
Instructions
Analyze index usage and find unused/duplicate indexes.
Args:
schema_name: Schema to analyze (default: "public").
database_url: Database URL (optional, uses DATABASE_URL from .env if omitted).
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_index_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_name | No | public | |
| database_url | No |