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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_name | No | public | |
| database_url | No |