get_top_queries
List top Azure SQL queries from Query Store by duration, CPU, or executions for performance tuning.
Instructions
List top queries from Query Store.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of rows to return. | |
| sort_by | No | Sort by total_duration, avg_duration, cpu, executions, logical_io, physical_io, memory, or resource_blend. | total_duration |
| database_name | No | Optional database name. Defaults to AZURE_SQL_DEFAULT_DATABASE. | |
| window_minutes | No | How far back to look in Query Store, in minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||