Monitoring & diagnostics
Query Labels
SELECT ... FROM ...
OPTION (LABEL = 'PROJECT_Module_Description');
Labels appear in queryinsights.exec_requests_history.label. Use for tracking, filtering, and performance analysis.
Query Insights (30-day retention)
| View | Purpose |
|---|---|
queryinsights.exec_requests_history | Every completed query: status, duration, CPU, data scanned |
queryinsights.exec_sessions_history | Session history: login info, times |
| `queryi |
[Description truncada. Veja o README completo no GitHub.]