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

Commit 1390dde

Browse files
committed
isolation new docs and updates
1 parent 3e29290 commit 1390dde

5 files changed

Lines changed: 95 additions & 9 deletions

docs/relational-databases/system-catalog-views/sys-workload-management-workload-classifier-details-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ monikerRange: "=azure-sqldw-latest||=sqlallproducts-allversions"
2222

2323
|Column Name|Data Type|Description|Range|
2424
|-----------------|---------------|-----------------|-----------|
25-
|classifier_id|**int**|ID of the classifier. Joinable to [sys.workload_management_workload_classifiers](sys-workload-management-workload-classifiers-transact-sql.md). Is not nullable.|
26-
|classifier_type|**sysname**|The entity on which classification is being done. Is not nullable.|MEMBERNAME|
25+
|classifier_id|**int**|ID of the classifier. Is not nullable.|
26+
|classifier_type|**sysname**|Joinable to [sys.workload_management_workload_classifiers](sys-workload-management-workload-classifiers-transact-sql.md).|`membername`</br>`wlm_label`</br>`wlm_context`</br>`start_time`</br>`end_time`|
2727
|classifier_value|**sysname**|The value of the classifier. Is not nullable.||
2828

2929
## Permissions

docs/relational-databases/system-catalog-views/sys-workload-management-workload-classifiers-transact-sql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ monikerRange: "=azure-sqldw-latest||=sqlallproducts-allversions"
2323
|Column Name|Data Type|Description|Range|
2424
|-----------------|---------------|-----------------|-----------|
2525
|classifier_id|**int**|Unique ID of the classifier. Is not nullable||
26-
group_name|**sysname**|Name of the workload group the classifier is assigned to. Is not nullable. |Static Resource Classes</br>staticrc10</br>staticrc20</br>staticrc30</br>staticrc40</br>staticrc50</br>staticrc60</br>staticrc70</br>staticrc80 </br> </br>Dynamic Resource Classes</br>smallrc</br>mediumrc</br>largerc</br>xlargerc|
26+
group_name|**sysname**|Name of the workload group the classifier is assigned to. Is not nullable. Joinable to sys.workload_management_workload_groups ||
2727
name|**sysname**|Name of the classifier. Must be unique to the instance. Is not nullable.||
28-
|importance|**sysname**|Is the relative importance of a request in this workload group and across workload groups for shared resources. Importance specified in the classifier overrides the workload group importance setting.|low, below_normal, normal, above_normal, high |
28+
|importance|**sysname**|Is the relative importance of a request in this workload group and across workload groups for shared resources. Importance specified in the classifier overrides the workload group importance setting. Is nullable. When null, the workload group importance setting is used.|low, below_normal, normal, above_normal, high |
2929
|create_time|**datetime**|Time the classifier was created. Is not nullable.||
3030
modify_time|**datetime**|Time the classifier was last modified. Is not nullable.||
31-
is_enabled|**bit**|Displays whether the classifier is enabled or not. Is enabled by default. Is not nullable.|0 = the classifier is not enabled </br> 1 = the classifier is enabled|
31+
is_enabled|**bit**|INTERNAL||
3232
|&nbsp;||||
3333

3434
## Permissions
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: "sys.workload_management_workload_groups (Transact-SQL) | Microsoft Docs"
3+
ms.custom:
4+
ms.date: "07/08//2019"
5+
ms.prod: sql
6+
ms.technology: system-objects
7+
ms.prod_service: "sql-data-warehouse"
8+
ms.reviewer: "jrasnick"
9+
ms.topic: "language-reference"
10+
dev_langs:
11+
- "TSQL"
12+
author: "ronortloff"
13+
ms.author: "rortloff"
14+
manager: craigg
15+
monikerRange: "=azure-sqldw-latest||=sqlallproducts-allversions"
16+
---
17+
# sys.workload_management_workload_classifiers (Transact-SQL)
18+
19+
[!INCLUDE[tsql-appliesto-xxxxxx-xxxx-asdw-xxx-md](../../includes/tsql-appliesto-xxxxxx-xxxx-asdw-xxx-md.md)]
20+
21+
Returns details for workload groups.
22+
23+
|Column Name|Data Type|Description|Range|
24+
|-----------------|---------------|-----------------|-----------|
25+
|group_id|**int**|Unique ID of the workload group. Is not nullable.||
26+
|name|**sysname**|Name of the workload group. Must be unique to the instance. Is not nullable.||
27+
|importance|**nvarchar(128)**|Is the relative importance of a request in this workload group and across workload groups for shared resources. Is not nullable.|low, below_normal, normal, above_normal, high||
28+
|min_percentage_resource|**tinyint**|Guaranteed amount of resources for all requests in the workload group. This is not shared with other resource pools. Is not nullable.||
29+
|cap_percentage_resource|**tinyint**|Hard cap on the resource percentage allocation for all requests in the workload group. Limits the maximum resources allocated to the specified level. The allowed range for value is from 1 through 100.||
30+
|request_min_resource_grant_percent|**decimal(5,2)**|Specifies the minimum amount of resources allocated to a request. The allowed range for value is from 0.75 to 100.||
31+
|request_max_resource_grant_percent |**decimal(5,2)**|Specifies the maximum amount of resources allocated to a request.||
32+
|query_execution_timeout_sec|**int**|The amount of execution time, in seconds, allowed before the query is cancelled. Queries cannot be cancelled once they have reached the return phase of execution. query_execution_timeout_sec does not include time spent queued.||
33+
|query_wait_timeout_sec|**int**|INTERNAL||
34+
35+
|create_time|**datetime**|Time the workload group was created. Is not nullable.||
36+
modify_time|**datetime**|Time the workload group was last modified. Is not nullable.||
37+
|&nbsp;||||
38+
39+
## Permissions
40+
41+
Requires VIEW SERVER STATE permission.
42+
43+
## Next steps
44+
45+
For a list of all the catalog views for SQL Data Warehouse and Parallel Data Warehouse, see [SQL Data Warehouse and Parallel Data Warehouse Catalog Views](../../relational-databases/system-catalog-views/sql-data-warehouse-and-parallel-data-warehouse-catalog-views.md). To create a workload group, see [CREATE WORKLOAD GROUP](../../t-sql/statements/create-workload-group-transact-sql.md). For more information on workload classification, see [SQL DATA Warehouse Workload Classification](/azure/sql-data-warehouse/sql-data-warehouse-workload-classification)

docs/relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-requests-transact-sql.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ monikerRange: ">= aps-pdw-2016 || = azure-sqldw-latest || = sqlallproducts-allve
3535
|database_id|**int**|Identifier of database used by explicit context (for example, USE DB_X).|See ID in [sys.databases &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md).|
3636
|command|**nvarchar(4000)**|Holds the full text of the request as submitted by the user.|Any valid query or request text. Queries that are longer than 4000 bytes are truncated.|
3737
|resource_class|**nvarchar(20)**|The resource class for this request. See related **concurrency_slots_used** in [sys.dm_pdw_resource_waits &#40;Transact-SQL&#41;](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-resource-waits-transact-sql.md). For more information on resource classes, see [Resource classes & workload management](https://docs.microsoft.com/azure/sql-data-warehouse/resource-classes-for-workload-management) |Static Resource Classes</br>staticrc10</br>staticrc20</br>staticrc30</br>staticrc40</br>staticrc50</br>staticrc60</br>staticrc70</br>staticrc80</br> </br>Dynamic Resource Classes</br>SmallRC</br>MediumRC</br>LargeRC</br>XLargeRC|
38-
|importance|**nvarchar(32)**|The importance setting the request was submitted with. Requests with a lower importance will remain queued in suspended state, if higher importance requests are submitted. Requests with higher importance will execute before lower importance requests that were submitted earlier. For more information on importance, see [Workload Importance](https://docs.microsoft.com/azure/sql-data-warehouse/sql-data-warehouse-workload-importance). |NULL</br>low</br>below_normal</br>normal (default)</br>above_normal</br>high|
39-
|group_name| |Reserved for internal use.</br>Applies to: Azure SQL Data Warehouse|
40-
|resource_allocation_percentage| |Reserved for internal use.</br>Applies to: Azure SQL Data Warehouse|
41-
|result_set_cache|**bit**|Details whether a completed query was a result cache hit (1) or not (0).|0,1|
38+
|importance|**nvarchar(128)**|The Importance setting the request executed at. This is the relative importance of a request in this workload group and across workload groups for shared resources. Importance specified in the classifier overrides the workload group importance setting.</br>Applies to: Azure SQL Data Warehouse|NULL</br>low</br>below_normal</br>normal (default)</br>above_normal</br>high|
39+
|group_name|**sysname** |For requests utilizing resources, group_name is the name of the workload group the request is running under. If the request does not utilize resources, group_name is null.</br>Applies to: Azure SQL Data Warehouse|
40+
|classifier_name|**sysname**|For requests utilizing resources, group_name is the name of the workload group the request is running under. If the request does not utilize resources, group_name is null.||
41+
|resource_allocation_percentage|**decimal(5,2) |The percentage amount of resources allocated to the request.</br>Applies to: Azure SQL Data Warehouse|
42+
|result_set_cache|**bit**|Details whether a completed query was a result cache hit (1) or not (0). </br>Applies to: Azure SQL Data Warehouse|0,1|
4243
||||
4344

4445
For information about the maximum rows retained by this view, see the Metadata section in the [Capacity limits](/azure/sql-data-warehouse/sql-data-warehouse-service-capacity-limits#metadata) topic.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: "sys.dm_workload_management_workload_groups_stats (Transact-SQL) | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "03/07/2017"
5+
ms.prod: sql
6+
ms.technology: data-warehouse
7+
ms.reviewer: ""
8+
ms.topic: "language-reference"
9+
dev_langs:
10+
- "TSQL"
11+
ms.assetid: a43ce9a2-5261-41e3-97f0-555ba05ebed9
12+
author: ronortloff
13+
ms.author: rortloff
14+
manager: craigg
15+
monikerRange: "= azure-sqldw-latest||= sqlallproducts-allversions"
16+
---
17+
#sys.dm_workload_management_workload_groups_stats (Transact-SQL)
18+
[!INCLUDE[tsql-appliesto-xxxxxx-xxxx-asdw-xxx-md](../../includes/tsql-appliesto-xxxxxx-xxxx-asdw-xxx-md.md)]
19+
20+
Displays wait information for all resource types in [!INCLUDE[ssSDW](../../includes/sssdw-md.md)].
21+
22+
|Column Name|Data Type|Description|Range|
23+
|-----------------|---------------|-----------------|-----------|
24+
|group_id|**int**|Unique ID of the workload group. Is not nullable.||
25+
|name|**sysname**|Name of the workload group. Is not nullable.||
26+
|statistics_start_time|**datetime**|Time that statistics collection was reset for the workload group. Is not nullable.||
27+
|total_request_count|**bigint**|Cumulative count of completed requests in the workload group. Is not nullable.||
28+
|total_shared_resource_reqeusts|**bigint**|Cumulative count of completed requests in the workload group that used resources from the shared pool. Is not nullable.||
29+
|total_queued_request_count|**bigint**|Cumulative count of requests queued after the max_concurrency limit was reached. Is not nullable.||
30+
|total_request_execution_timeouts|**bigint**|Cumulative count of requests in the workload group that timed out before completion based on the query_execution_timeout_sec setting.||
31+
|effective_min_percentage_resource|**tinyint**|The effective min_percentage_resource setting allowed considering the service level and the workload group settings. The effective min_percentage_resource can be adjusted higher on lower service levels. For example, on DW100c, the lowest min_percentage_resource allowable is 25%.
32+
Is not nullable.||
33+
|effective_cap_percentage_resource|**tinyint**|The effective cap_percentage_resource for the workload group. If there are other workload groups with min_percentage_resource > 0, the effective_cap_percentage_resource is lowered proportionally.||
34+
|effective_request_min_resource_grant_percent|**decimal(5,2)**|The effective runtime value for request_min_resource_grant_percent of the workload group. The effective value considering the service level and how the workload group is configured. If min_percentage_resource is adjusted because of the service level, effective_request_min_resource_grant_percent will be adjusted accordingly. Is not nullable.||
35+
|effective_request_max_resource_grant_percent|**decimal(5,2)**|The effective runtime value for request_max_resource_grant_percent of the workload group considering the configuration of the all workload groups. Is not nullable.||
36+
|||||
37+
38+
## See also
39+
40+
[SQL Data Warehouse and Parallel Data Warehouse Dynamic Management Views &#40;Transact-SQL&#41;](../../relational-databases/system-dynamic-management-views/sql-and-parallel-data-warehouse-dynamic-management-views.md)

0 commit comments

Comments
 (0)