Skip to content

Commit a21e4a0

Browse files
Merge pull request #34635 from dimitri-furman/dfurman/database-watcher
Add a recommendation for an interaction scenario
2 parents f25ad2c + 0bbed6b commit a21e4a0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

azure-sql/database-watcher-data.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: A detailed description of SQL monitoring data collected by database
55
author: lcwright
66
ms.author: lancewright
77
ms.reviewer: dfurman
8-
ms.date: 05/04/2025
8+
ms.date: 07/08/2025
99
ms.service: azure-sql
1010
ms.subservice: monitoring
1111
ms.topic: conceptual
@@ -101,7 +101,10 @@ END CATCH;
101101

102102
To avoid concurrency conflicts such as blocking and deadlocks between data collection and database workloads running on your Azure SQL resources, the monitoring queries use short [lock timeouts](/sql/relational-databases/sql-server-transaction-locking-and-row-versioning-guide#customizing-the-lock-time-out) and low [deadlock priority](/sql/t-sql/statements/set-deadlock-priority-transact-sql). If there is a concurrency conflict, priority is given to the application workload queries.
103103

104-
You might observe gaps in the collected data if the overall resource utilization is high, or if concurrency conflicts occur. In these cases, monitoring queries might be deprioritized in favor of application workloads.
104+
You might observe gaps in the collected data in the following scenarios:
105+
106+
- If the overall resource utilization is high, or if concurrency conflicts between monitoring queries and application workloads occur. In these cases, monitoring queries are deprioritized in favor of application workloads.
107+
- If you have automation that terminates long-running sessions. To avoid gaps in collected data, exclude any session where the `program_name` column in the [sys.dm_exec_sessions](/sql/relational-databases/system-dynamic-management-views/sys-dm-exec-sessions-transact-sql) system view is `SQLExternalMonitoring` or `x_ms_reserved_sql_external_monitoring`.
105108

106109
### Data collection in elastic pools
107110

0 commit comments

Comments
 (0)