Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 642edc7

Browse files
Clarified instance metrics
1 parent 0ce6389 commit 642edc7

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

docs/relational-databases/system-dynamic-management-views/sys-dm-db-resource-stats-azure-sql-database.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "sys.dm_db_resource_stats (Azure SQL Database) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "05/21/2019"
4+
ms.date: "02/27/2020"
55
ms.service: sql-database
66
ms.reviewer: ""
77
ms.topic: "language-reference"
@@ -37,22 +37,22 @@ monikerRange: "= azuresqldb-current || = sqlallproducts-allversions"
3737
|max_session_percent|**decimal (5,2)**|Maximum concurrent sessions in percentage of the limit of the database's service tier.|
3838
|dtu_limit|**int**|Current max database DTU setting for this database during this interval. For databases using the vCore-based model, this column is NULL.|
3939
|cpu_limit|**decimal (5,2)**|Number of vCores for this database during this interval. For databases using the DTU-based model, this column is NULL.|
40-
|avg_instance_cpu_percent|**decimal (5,2)**|Average database CPU usage as a percentage of the SQL DB process.|
41-
|avg_instance_memory_percent|**decimal (5,2)**|Average database memory usage as a percentage of the SQL DB process.|
40+
|avg_instance_cpu_percent|**decimal (5,2)**|Average CPU usage for the SQL Server instance hosting the database, as measured by the operating system. Includes CPU utilization by both user and internal workloads.|
41+
|avg_instance_memory_percent|**decimal (5,2)**|Average memory usage for the SQL Server instance hosting the database, as measured by the operating system. Includes memory utilization by both user and internal workloads.|
4242
|avg_login_rate_percent|**decimal (5,2)**|Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.|
4343
|replica_role|**int**|Represents the current replica’s role with 0 as primary, 1 as secondary, and 2 as forwarder (geo-secondary’s primary). You will see “1” when connected with ReadOnly intent to all readable secondaries. If connecting to a geo-secondary without specifying ReadOnly intent, you should see “2” (connecting to the forwarder).|
4444
|||
4545

4646
> [!TIP]
47-
> For more context about these limits and service tiers, see the topics [Service Tiers](https://azure.microsoft.com/documentation/articles/sql-database-service-tiers/) and [Service tier capabilities and limits](https://azure.microsoft.com/documentation/articles/sql-database-performance-guidance/).
47+
> For more context about these limits and service tiers, see the topics [Service Tiers](https://azure.microsoft.com/documentation/articles/sql-database-service-tiers/), [Manually tune query performance in Azure SQL Database](https://azure.microsoft.com/documentation/articles/sql-database-performance-guidance/), and [SQL Database resource limits and resource governance](https://docs.microsoft.com/azure/sql-database/sql-database-resource-limits-database-server).
4848
49-
## Permissions
49+
## Permissions
5050
This view requires VIEW DATABASE STATE permission.
5151

52-
## Remarks
52+
## Remarks
5353
The data returned by **sys.dm_db_resource_stats** is expressed as a percentage of the maximum allowed limits for the service tier/performance level that you are running.
5454

55-
If the database was failed over to another server within the last 60 minutes, the view will only return data for the time it has been the primary database since that failover.
55+
If the database was failed over to another server within the last 60 minutes, the view will only return data for the time since that failover.
5656

5757
For a less granular view of this data with longer retention period, use **sys.resource_stats** catalog view in the **master** database. This view captures data every 5 minutes and maintains historical data for 14 days. For more information, see [sys.resource_stats (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-resource-stats-azure-sql-database.md).
5858

@@ -95,8 +95,5 @@ FROM sys.dm_db_resource_stats;
9595
```
9696

9797
## See Also
98-
[sys.resource_stats (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-resource-stats-azure-sql-database.md)
99-
[Service Tiers](https://azure.microsoft.com/documentation/articles/sql-database-service-tiers/)
100-
[Service tier capabilities and limits](https://azure.microsoft.com/documentation/articles/sql-database-performance-guidance/)
101-
102-
98+
[sys.resource_stats (Azure SQL Database)](../../relational-databases/system-catalog-views/sys-resource-stats-azure-sql-database.md)
99+
[Service Tiers](https://azure.microsoft.com/documentation/articles/sql-database-service-tiers/)

0 commit comments

Comments
 (0)