Skip to content

Commit 24eed7c

Browse files
authored
Merge pull request #4452 from pmasl/patch-95
Update alter-workload-group-transact-sql.md
2 parents 2d226dc + c5883e3 commit 24eed7c

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

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

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

3838
```
39-
4039
ALTER WORKLOAD GROUP { group_name | "default" }
4140
[ WITH
4241
([ IMPORTANCE = { LOW | MEDIUM | HIGH } ]
@@ -55,32 +54,30 @@ ALTER WORKLOAD GROUP { group_name | "default" }
5554
Is the name of an existing user-defined workload group or the Resource Governor default workload group.
5655

5756
> [!NOTE]
58-
> Resource Governor creates the "default" and internal groups when [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] is installed.
57+
> Resource Governor creates the "default" and internal groups when [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] is installed.
5958
6059
The option "default" must be enclosed by quotation marks ("") or brackets ([]) when used with ALTER WORKLOAD GROUP to avoid conflict with DEFAULT, which is a system reserved word. For more information, see [Database Identifiers](../../relational-databases/databases/database-identifiers.md).
6160

6261
> [!NOTE]
63-
> Predefined workload groups and resource pools all use lowercase names, such as "default". This should be taken into account for servers that use case-sensitive collation. Servers with case-insensitive collation, such as SQL_Latin1_General_CP1_CI_AS, will treat "default" and "Default" as the same.
62+
> Predefined workload groups and resource pools all use lowercase names, such as "default". This should be taken into account for servers that use case-sensitive collation. Servers with case-insensitive collation, such as SQL_Latin1_General_CP1_CI_AS, will treat "default" and "Default" as the same.
6463
6564
IMPORTANCE = { LOW | MEDIUM | HIGH }
6665
Specifies the relative importance of a request in the workload group. Importance is one of the following:
6766

6867
- LOW
69-
7068
- MEDIUM (default)
71-
7269
- HIGH
7370

7471
> [!NOTE]
75-
> Internally each importance setting is stored as a number that is used for calculations.
72+
> Internally each importance setting is stored as a number that is used for calculations.
7673
7774
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.
7875

7976
REQUEST_MAX_MEMORY_GRANT_PERCENT =*value*
8077
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.
8178

8279
> [!NOTE]
83-
> The amount specified only refers to query execution grant memory.
80+
> The amount specified only refers to query execution grant memory.
8481
8582
*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.
8683

@@ -103,7 +100,10 @@ ALTER WORKLOAD GROUP { group_name | "default" }
103100
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.
104101

105102
> [!NOTE]
106-
> 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).
103+
> 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).
104+
105+
> [!IMPORTANT]
106+
> 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.
107107
108108
REQUEST_MEMORY_GRANT_TIMEOUT_SEC =*value*
109109
Specifies the maximum time, in seconds, that a query can wait for memory grant (work buffer memory) to become available.

0 commit comments

Comments
 (0)