get_missing_index_impact
Aggregate missing-index recommendations from SQL Server Query Store plans, rank them by optimizer-estimated impact, and group duplicates across queries.
Instructions
Aggregate missing-index recommendations found in Query Store plans, ranked by the optimizer's estimated impact score. Groups duplicate recommendations across queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Max index recommendations to return. | |
| database_name | Yes | Target SQL Server database name. | |
| plan_scan_limit | No | How many recent plans (that contain missing indexes) to scan and aggregate. Higher = more thorough, slower. |