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

Commit cdbc4ff

Browse files
committed
updates from doc review
1 parent 08f66cd commit cdbc4ff

6 files changed

Lines changed: 24 additions & 26 deletions

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ Requires VIEW SERVER STATE permission.
3131

3232
## Next steps
3333

34-
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 classifier, see [CREATE WORKLOAD CLASSIFIER](../../t-sql/statements/create-workload-classifier-transact-sql.md). For more information on workload classification, see SQL Data Warehouse [Workload Classification](/azure/sql-data-warehouse/sql-data-warehouse-workload-classification) and [Workload Importance](/azure/sql-data-warehouse/sql-data-warehouse-workload-classification)
34+
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 classifier, see [CREATE WORKLOAD CLASSIFIER](../../t-sql/statements/create-workload-classifier-transact-sql.md). For more information on workload classification, see SQL Data Warehouse [Workload Classification](/azure/sql-data-warehouse/sql-data-warehouse-workload-classification) and [Workload Importance](/azure/sql-data-warehouse/sql-data-warehouse-workload-classification)

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.author: "rortloff"
1414
manager: craigg
1515
monikerRange: "=azure-sqldw-latest||=sqlallproducts-allversions"
1616
---
17-
# sys.workload_management_workload_classifiers (Transact-SQL)
17+
# sys.workload_management_workload_groups (Transact-SQL)
1818

1919
[!INCLUDE[tsql-appliesto-xxxxxx-xxxx-asdw-xxx-md](../../includes/tsql-appliesto-xxxxxx-xxxx-asdw-xxx-md.md)]
2020

@@ -29,9 +29,8 @@ monikerRange: "=azure-sqldw-latest||=sqlallproducts-allversions"
2929
|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.||
3030
|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.||
3131
|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.||
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.|
3333
|query_wait_timeout_sec|**int**|INTERNAL||
34-
3534
|create_time|**datetime**|Time the workload group was created. Is not nullable.||
3635
modify_time|**datetime**|Time the workload group was last modified. Is not nullable.||
3736
| ||||

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ monikerRange: ">= aps-pdw-2016 || = azure-sqldw-latest || = sqlallproducts-allve
3737
|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|
3838
|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|
3939
|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.||
40-
|resource_allocation_percentage|**decimal(5,2) |The percentage amount of resources allocated to the request.</br>Applies to: Azure SQL Data Warehouse|
40+
|resource_allocation_percentage|**decimal(5,2)**|The percentage amount of resources allocated to the request.</br>Applies to: Azure SQL Data Warehouse|
4141
|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|
4242
||||
4343

44-
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.
44+
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.
4545

4646
## Permissions
4747

@@ -52,8 +52,8 @@ monikerRange: ">= aps-pdw-2016 || = azure-sqldw-latest || = sqlallproducts-allve
5252
sys.dm_pdw_exec_requests doesn't filter query results according to database-specific permissions. Logins with VIEW SERVER STATE permission can obtain results query results for all databases
5353

5454
>[!WARNING]
55-
>An attacker can use sys.dm_pdw_exec_requests to retrieve information about specific database objects by simply having VIEW SERVER STATE permission and by not having a database-specific permission.
55+
>An attacker can use sys.dm_pdw_exec_requests to retrieve information about specific database objects by simply having VIEW SERVER STATE permission and by not having database-specific permission.
5656
5757
## See Also
5858

59-
[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)
59+
[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)

docs/t-sql/statements/create-workload-classifier-transact-sql.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,26 +44,25 @@ WITH
4444
[ [ , ] START_TIME = ‘HH:MM’ ]
4545
[ [ , ] END_TIME = ‘HH:MM’ ]
4646
47-
[ [ , ] IMPORTANCE = { LOW | BELOW NORMAL | NORMAL | ABOVE NORMAL | HIGH }]) [;]
48-
47+
[ [ , ] IMPORTANCE = { LOW | BELOW NORMAL | NORMAL | ABOVE NORMAL | HIGH }])
48+
[;]
4949
```
5050

5151
## Arguments
5252

5353
*classifier_name*
5454
Specifies the name by which the workload classifier is identified. classifier_name is a sysname. It can be up to 128 characters long and must be unique within the instance.
5555

56-
*WORKLOAD_GROUP* = *'name'*
57-
When the conditions are met by the classifier rules, name maps the request to a workload group. name is a sysname. It can be up to 128 characters long and must be a valid workload group name at the time of classifier creation.
58-
59-
Available workload groups can be found in [sys.workload_management_workload_groups](/sql/relational-databases/system-catalog-views/sys-workload-management-workload-groups-transact-sql?view=azure-sqldw-latest
60-
) catalog view.
56+
*WORKLOAD_GROUP* = *'name'*
57+
When the conditions are met by the classifier rules, name maps the request to a workload group. name is a sysname. It can be up to 128 characters long and must be a valid workload group name at the time of classifier creation.
6158

62-
*MEMBERNAME* ='security_account'*
63-
This is the security account being added to the role. Security_account is a sysname, with no default. Security_account can be a database user, database role, Azure Active Directory login, or Azure Active Directory group.
59+
Available workload groups can be found in [sys.workload_management_workload_groups](/sql/relational-databases/system-catalog-views/sys-workload-management-workload-groups-transact-sql?view=azure-sqldw-latest) catalog view.
6460

65-
*WLM_LABEL*
66-
Specifies the label value that a request can be classified against. label is an optional parameter of type nvarchar(255). Use the OPTION (LABEL) [link TDB] in the request match the classifier configuration.
61+
*MEMBERNAME* ='security_account'*
62+
This is the security account being added to the role. Security_account is a sysname, with no default. Security_account can be a database user, database role, Azure Active Directory login, or Azure Active Directory group.
63+
64+
*WLM_LABEL*
65+
Specifies the label value that a request can be classified against. Label is an optional parameter of type nvarchar(255). Use the OPTION (LABEL) [link TDB] in the request to match the classifier configuration.
6766

6867
Example:
6968

@@ -78,7 +77,7 @@ SELECT COUNT(*)
7877
OPTION (LABEL = 'fact_loads')
7978
```
8079

81-
*WLM_CONTEXT*
80+
*WLM_CONTEXT*
8281
Specifies the session context value that a request can be classified against. context is an optional parameter of type nvarchar(255). Use the sys.sp_set_session_context with the variable name equal to ‘wlm_context’ prior to submitting a request to set the session context.
8382

8483
Example:
@@ -99,7 +98,7 @@ SELECT COUNT(*) FROM stg.daily_sales_load
9998
EXEC sys.sp_set_session_context @key = 'wlm_context', @value = null
10099
```
101100

102-
*START_TIME* and *END_TIME*
101+
*START_TIME* and *END_TIME*
103102
Specifies the start_time and end_time that a request can be classified against. Both start_time and end_time are of the HH:MM format in UTC time zone. Start_time and end_time must be specified together.
104103

105104
Example:
@@ -112,7 +111,7 @@ CREATE WORKLOAD CLASSIFIER wcELTLoads WITH
112111
,END_TIME = '02:00' )
113112
```
114113

115-
*IMPORTANCE* = { LOW | BELOW_NORMAL | NORMAL | ABOVE_NORMAL | HIGH }
114+
*IMPORTANCE* = { LOW | BELOW_NORMAL | NORMAL | ABOVE_NORMAL | HIGH }
116115
Specifies the relative importance of a request. Importance is one of the following:
117116

118117
- LOW
@@ -151,7 +150,7 @@ CREATE WORKLOAD CLASSIFIER classiferB WITH
151150

152151
The user ‘userloginA’ is configured for both classifiers. If userloginA runs a query with a label equal to ‘salesreport’ between 6PM and 7AM UTC, the request will be classified to the wgDashboards workload group with HIGH importance. The expectation may be to classify the request to wgUserQueries with LOW importance for off-hours reporting, but the precedence of WLM_LABEL is higher than START_TIME/END_TIME. In this case, you can add START_TIME/END_TIME to classiferA.
153152

154-
For more information see, [workload classification](/azure/sql-data-warehouse/sql-data-warehouse-workload-classification#classification-precedence)
153+
For more information see, [workload classification](/azure/sql-data-warehouse/sql-data-warehouse-workload-classification#classification-precedence).
155154

156155
## Permissions
157156

docs/t-sql/statements/drop-workload-group-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In the following row, click whichever product name you're interested in. The cli
2828

2929
> |||||
3030
> |---|---|---|---|
31-
> |**_\* SQL Server \*_** &nbsp;|[SQL Database<br />managed instance](create-workload-group-transact-sql.md?view=azuresqldb-mi-current)|[SQL Data<br />Warehouse](create-workload-group-transact-sql.md?view=azure-sqldw-latest)|
31+
> |**_\* SQL Server \*_** &nbsp;|[SQL Database<br />managed instance](drop-workload-group-transact-sql.md?view=azuresqldb-mi-current)|[SQL Data<br />Warehouse](drop-workload-group-transact-sql.md?view=azure-sqldw-latest)|
3232
3333
&nbsp;
3434

@@ -95,7 +95,7 @@ GO
9595

9696
> ||||
9797
> |---|---|---|
98-
> |[SQL Server](create-workload-group-transact-sql.md?view=sql-server-2017)||[SQL Database<br />managed instance](create-workload-group-transact-sql.md?view=azuresqldb-mi-current)||**_\* SQL Data<br />Warehouse \*_** &nbsp;||||
98+
> |[SQL Server](drop-workload-group-transact-sql.md?view=sql-server-2017)||[SQL Database<br />managed instance](drop-workload-group-transact-sql.md?view=azuresqldb-mi-current)||**_\* SQL Data<br />Warehouse \*_** &nbsp;||||
9999
100100
&nbsp;
101101

docs/t-sql/statements/pick-a-product-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ In the following row, click whichever product name you're interested in. The cli
3232

3333
> |||||
3434
> |---|---|---|---|
35-
> |**_\* SQL Server \*_** &nbsp;|[SQL Database<br />single database/elastic pool](alter-database-transact-sql-set-options.md?view=azuresqldb-current)|[SQL Database<br />managed instance](alter-database-transact-sql-set-options.md?view=azuresqldb-mi-current)|[SQL Data<br />Warehouse](alter-database-transact-sql-set-options.md?view=azure-sqldw-latest)|||
35+
> |**_\* SQL Server \*_** &nbsp;|[SQL Database<br />single database/elastic pool](pick-a-product-template.md?view=azuresqldb-current)|[SQL Database<br />managed instance](pick-a-product-template.md?view=azuresqldb-mi-current)|[SQL Data<br />Warehouse](pick-a-product-template.md?view=azure-sqldw-latest)|||
3636
3737
&nbsp;
3838

0 commit comments

Comments
 (0)