You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sql-server/azure-arc/sql-connection-summary.md
+18-7Lines changed: 18 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: SQL Server Connection Summary
3
-
description: Learn how you can see a summary of client connections made to an instance of SQL Server enabled by Azure Arc in the Azure portal by using the SQL Server Connections view.
3
+
description: Learn how you can view client connections to an instance of SQL Server enabled by Azure Arc.
This article teaches you how to see a summary of client connections to [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)]by using the SQL Server Connections view in the Azure portal.
16
+
This article teaches you how to view client connections to [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)]in Azure portal.
17
17
18
18
> [!NOTE]
19
19
> The SQL Server Connections view in the Azure portal is currently in preview.
@@ -26,17 +26,28 @@ To view a summary of all client connections to the SQL Server instance, follow t
26
26
1. Under **Monitoring**, select **SQL Server Connections**.
27
27
1. (Optionally) Use the time range to view connections during a preferred window within the last 30 days.
28
28
29
-
Review the summarized data in the view:
30
-
31
29
:::image type="content" source="media/sql-connection-summary/sql-connection-summary.png" alt-text="Screenshot of the SQL Client Connections view for SQL Server enabled by Azure Arc." lightbox="media/sql-connection-summary/sql-connection-summary.png":::
32
30
31
+
### Review the summarized data in the view:
32
+
33
+
| Column name | Description and version-specific information |
34
+
| --- | --- |
35
+
|**Program Name**| Name of client program that initiated the session.|
36
+
|**Client Interface Name**| Name of library/driver being used by the client to communicate with the server. |
37
+
|**Database Name**| Name of the current database for the session in the hourly snapshots. |
38
+
|**Request End Time**| Last request end time from the hourly snapshots. Indicator of how recently the client program connected used the database. |
39
+
|**Total Writes**| Aggregated number of writes from the client program to the database as seen in the hourly snapshots. |
40
+
|**Total Reads**| Aggregated number of reads from the client program to the database as seen in the hourly snapshots. |
41
+
|**Elapsed Time**| Aggregated connection duration (in milliseconds) from the client program as seen in the hourly snapshots. |
42
+
|**Count**| Count of unique sessions as seen in the hourly snapshots. The distinct sessions are identified using the login time. |
43
+
33
44
## How is the data collected?
34
45
35
46
By default, the SQL Server Connections view is available to all SQL Server instances enabled by Azure Arc. Data collection starts as soon as the instance is connected to Azure. Azure Connected Machine agent automatically polls [sys.dm_exec_sessions](../../relational-databases/system-dynamic-management-views/sys-dm-exec-sessions-transact-sql.md) hourly. The portal displays the data collection time. The service maintains the data for 30 days.
36
47
37
48
The connection data within the time range chosen on the portal dictates the client connection data summarized and presented as a table in the view.
38
49
39
-
## Disable connections view
50
+
## Disable the connections view
40
51
41
52
Since the SQL Server connections view is enabled by default, you can choose to disable it and stop data collection. You can disable the SQL Server connections view by using the Azure portal, or the Azure CLI.
42
53
@@ -60,9 +71,9 @@ az sql server-arc extension feature-flag set --name ClientConnections --enable f
60
71
---
61
72
62
73
63
-
## Enable connections view
74
+
## Enable the connections view
64
75
65
-
If SQL Server Connections view and data collection has been disabled, you can enable it again by using the Azure portal, or the Azure CLI.
76
+
If SQL Server Connections view and data collection is disabled, you can enable it again by using the Azure portal, or the Azure CLI.
0 commit comments