Skip to content

Commit bfbf9a2

Browse files
committed
update for warnings
1 parent 981622b commit bfbf9a2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/includes/alter-workload-group.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ALTER WORKLOAD GROUP { group_name | "default" }
4646
REQUEST_MAX_MEMORY_GRANT_PERCENT = *value*
4747
Specifies the maximum amount of memory that a single request can take from the pool. *value* is a percentage relative to the resource pool size specified by MAX_MEMORY_PERCENT.
4848

49-
*value* is an integer up to [!INCLUDE[ssSQL17](/sssql17-md.md)] and a float starting with [!INCLUDE[sql-server-2019](/sssqlv15-md.md)]. Default value is 25. The allowed range for *value* is from 1 through 100.
49+
*value* is an integer up to [!INCLUDE[ssSQL17](sssql17-md.md)] and a float starting with [!INCLUDE[sql-server-2019](sssqlv15-md.md)]. Default value is 25. The allowed range for *value* is from 1 through 100.
5050

5151
> [!NOTE]
5252
> The amount specified only refers to query execution grant memory.
@@ -72,7 +72,7 @@ ALTER WORKLOAD GROUP { group_name | "default" }
7272
> 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).
7373
7474
> [!IMPORTANT]
75-
> Starting with [!INCLUDE[ssSQL15](/sssql15-md.md)] SP2 and [!INCLUDE[ssSQL17](/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.
75+
> Starting with [!INCLUDE[ssSQL15](sssql15-md.md)] SP2 and [!INCLUDE[ssSQL17](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.
7676
7777
REQUEST_MEMORY_GRANT_TIMEOUT_SEC =*value*
7878
Specifies the maximum time, in seconds, that a query can wait for memory grant (work buffer memory) to become available.
@@ -86,7 +86,7 @@ ALTER WORKLOAD GROUP { group_name | "default" }
8686
Specifies the maximum degree of parallelism (DOP) for parallel requests. *value* must be 0 or a positive integer, 1 though 255. When *value* is 0, the server chooses the max degree of parallelism. This is the default and recommended setting.
8787

8888
> [!NOTE]
89-
> The actual value that the [!INCLUDE[ssDE](/ssde-md.md)] sets for MAX_DOP by might be less than the specified value. The final value is determined by the formula min(255, *number of CPUs)*.
89+
> The actual value that the [!INCLUDE[ssDE](ssde-md.md)] sets for MAX_DOP by might be less than the specified value. The final value is determined by the formula min(255, *number of CPUs)*.
9090
9191
> [!CAUTION]
9292
> Changing MAX_DOP can adversely affect a server's performance. If you must change MAX_DOP, we recommend that it be set to a value that is less than or equal to the maximum number of hardware schedulers that are present in a single NUMA node. We recommend that you do not set MAX_DOP to a value greater than 8.
@@ -128,11 +128,11 @@ ALTER WORKLOAD GROUP { group_name | "default" }
128128
129129
When executing DDL statements, we recommend that you be familiar with Resource Governor states. For more information, see [Resource Governor](../relational-databases/resource-governor/resource-governor.md).
130130

131-
REQUEST_MEMORY_GRANT_PERCENT: In [!INCLUDE[ssVersion2005](/ssversion2005-md.md)], index creation is allowed to use more workspace memory than initially granted for improved performance. This special handling is supported by Resource Governor in later versions, however, the initial grant and any additional memory grant are limited by resource pool and workload group settings.
131+
REQUEST_MEMORY_GRANT_PERCENT: In [!INCLUDE[ssVersion2005](ssversion2005-md.md)], index creation is allowed to use more workspace memory than initially granted for improved performance. This special handling is supported by Resource Governor in later versions, however, the initial grant and any additional memory grant are limited by resource pool and workload group settings.
132132

133133
**Index Creation on a Partitioned Table**
134134

135-
The memory consumed by index creation on non-aligned partitioned table is proportional to the number of partitions involved. If the total required memory exceeds the per-query limit (REQUEST_MAX_MEMORY_GRANT_PERCENT) imposed by the Resource Governor workload group setting, this index creation may fail to execute. Because the "default" workload group allows a query to exceed the per-query limit with the minimum required memory to start for [!INCLUDE[ssVersion2005](/ssversion2005-md.md)] compatibility, the user may be able to run the same index creation in "default" workload group, if the "default" resource pool has enough total memory configured to run such query.
135+
The memory consumed by index creation on non-aligned partitioned table is proportional to the number of partitions involved. If the total required memory exceeds the per-query limit (REQUEST_MAX_MEMORY_GRANT_PERCENT) imposed by the Resource Governor workload group setting, this index creation may fail to execute. Because the "default" workload group allows a query to exceed the per-query limit with the minimum required memory to start for [!INCLUDE[ssVersion2005](ssversion2005-md.md)] compatibility, the user may be able to run the same index creation in "default" workload group, if the "default" resource pool has enough total memory configured to run such query.
136136

137137
## Permissions
138138
Requires `CONTROL SERVER` permission.

0 commit comments

Comments
 (0)