analyze_missing_indexes
Identify columns without an active leading index to improve WHERE and JOIN performance.
Instructions
Report which columns on a table are covered by an active index (as the leading segment). Helps identify missing indexes on columns used in WHERE clauses or JOINs. Returns [{column, has_index, index, unique}].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database key from list_databases. | |
| table | Yes | Table name. Automatically uppercased. | |
| filterColumns | No | Comma-separated column names to check. Omit to check all columns. |