get_wait_stats
Identify SQL Server performance bottlenecks by retrieving top wait statistics for CPU, I/O, locks, and more.
Instructions
Get top server wait statistics — identifies performance bottlenecks (CPU, I/O, locks, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of top wait types to return (default: 20) | |
| server | No | Target server name (uses default if omitted) |