Skip to content

Commit 2d226dc

Browse files
authored
Merge pull request #4451 from pmasl/patch-94
Update create-workload-group-transact-sql.md
2 parents 3bf765e + 2842a55 commit 2d226dc

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "CREATE WORKLOAD GROUP (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/16/2016"
4+
ms.date: "01/04/2018"
55
ms.prod: "sql-non-specified"
66
ms.prod_service: "sql-database"
77
ms.service: ""
@@ -38,7 +38,6 @@ ms.workload: "Inactive"
3838
## Syntax
3939

4040
```
41-
4241
CREATE WORKLOAD GROUP group_name
4342
[ WITH
4443
( [ IMPORTANCE = { LOW | MEDIUM | HIGH } ]
@@ -63,21 +62,19 @@ CREATE WORKLOAD GROUP group_name
6362
Specifies the relative importance of a request in the workload group. Importance is one of the following, with MEDIUM being the default:
6463

6564
- LOW
66-
67-
- MEDIUM
68-
65+
- MEDIUM (default)
6966
- HIGH
7067

7168
> [!NOTE]
72-
> Internally each importance setting is stored as a number that is used for calculations.
69+
> Internally each importance setting is stored as a number that is used for calculations.
7370
7471
IMPORTANCE is local to the resource pool; workload groups of different importance inside the same resource pool affect each other, but do not affect workload groups in another resource pool.
7572

7673
REQUEST_MAX_MEMORY_GRANT_PERCENT =*value*
7774
Specifies the maximum amount of memory that a single request can take from the pool. This percentage is relative to the resource pool size specified by MAX_MEMORY_PERCENT.
7875

7976
> [!NOTE]
80-
> The amount specified only refers to query execution grant memory.
77+
> The amount specified only refers to query execution grant memory.
8178
8279
*value* must be 0 or a positive integer. The allowed range for *value* is from 0 through 100. The default setting for *value* is 25.
8380

@@ -100,7 +97,10 @@ CREATE WORKLOAD GROUP group_name
10097
Specifies the maximum amount of CPU time, in seconds, that a request can use. *value* must be 0 or a positive integer. The default setting for *value* is 0, which means unlimited.
10198

10299
> [!NOTE]
103-
> Resource Governor will not prevent a request from continuing if the maximum time is exceeded. However, an event will be generated. For more information, see [CPU Threshold Exceeded Event Class](../../relational-databases/event-classes/cpu-threshold-exceeded-event-class.md).
100+
> By default, Resource Governor will not prevent a request from continuing if the maximum time is exceeded. However, an event will be generated. For more information, see [CPU Threshold Exceeded Event Class](../../relational-databases/event-classes/cpu-threshold-exceeded-event-class.md).
101+
102+
> [!IMPORTANT]
103+
> Starting with [!INCLUDE[ssSQL17](../../includes/sssql17-md.md)] CU3, and using [trace flag 2422](../../t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md), Resource Governor will abort a request when the maximum time is exceeded.
104104
105105
REQUEST_MEMORY_GRANT_TIMEOUT_SEC =*value*
106106
Specifies the maximum time, in seconds, that a query can wait for a memory grant (work buffer memory) to become available.

0 commit comments

Comments
 (0)