List top resource-consuming queries on a managed instance
One step with Microsoft SQL Server. We can help you get access.
Look something up
List top resource-consuming queries on a managed instance
with Microsoft SQL Server
Use Microsoft SQL Server: its SqlManagementClient Managed Instances API lets you list top resource-consuming queries on a managed instance in a single step (GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/topqueries). capabilities.work can help you get signed up and connected.
- Which queries use the most CPU on my managed instance?
- Can I see top queries for a specific time range?
Say it to your AI assistant
- List the top {numberOfQueries} queries by {observationMetric} on managed instance {managedInstanceName}.
- Show top {numberOfQueries} queries on databases {databases} between {startTime} and {endTime}.
For your developer
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/topqueries in SqlManagementClient Managed Instances API. Full spec on APIs.io.