Skip to content

Commit f9da28a

Browse files
20240408 query activity update
Co-authored-by: Diya Mothaffar <[email protected]>
1 parent cff0df4 commit f9da28a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-concept-resource-utilization-query-activity.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn what capabilities are available to manage and monitor Azure S
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
66
ms.reviewer: sngun
7-
ms.date: 03/14/2024
7+
ms.date: 04/08/2024
88
ms.service: synapse-analytics
99
ms.subservice: sql-dw
1010
ms.topic: conceptual
@@ -32,8 +32,10 @@ For a programmatic experience when monitoring Synapse SQL via T-SQL, the service
3232
To view the list of DMVs that apply to Synapse SQL, review [dedicated SQL pool DMVs](../sql/reference-tsql-system-views.md#dedicated-sql-pool-dynamic-management-views-dmvs).
3333

3434
> [!NOTE]
35-
> You need to resume your dedicated SQL Pool to monitor the queries using the Query activity tab.
36-
> The **Query activity** tab can't be used to view historical executions. To check the query history, it's recommended to enable [diagnostics](sql-data-warehouse-monitor-workload-portal.md) to export the available DMVs to one of the available destinations (such as Log Analytics) for future reference. By design, DMVs contain records of the last 10,000 executed queries only. Once this limit is reached, the DMV data is flushed, and new records are inserted. Additionally, after any pause, resume, or scale operation, the DMV data is cleared.
35+
> - You need to resume your dedicated SQL Pool to monitor the queries using the **Query activity** tab.
36+
> - The **Query activity** tab cannot be used to view historical executions.
37+
> - The **Query activity** tab will NOT display queries which are related to declare variables (for example, `DECLARE @ChvnString VARCHAR(10)`), set variables (for example, `SET @ChvnString = 'Query A'`), or the batch details. You might find differences between the total number of queries executed on the Azure portal and the total number of queries logged in the DMVs.
38+
> - To check the query history for the exact queries which submitted, enable [diagnostics](sql-data-warehouse-monitor-workload-portal.md) to export the available DMVs to one of the available destinations (such as Log Analytics). By design, DMVs contain only the last 10,000 executed queries. After any pause, resume, or scale operation, the DMV data will be cleared.
3739
3840
## Metrics and diagnostics logging
3941

0 commit comments

Comments
 (0)