You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/includes/alter-workload-group.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ ALTER WORKLOAD GROUP { group_name | "default" }
46
46
REQUEST_MAX_MEMORY_GRANT_PERCENT = *value*
47
47
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.
48
48
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.
50
50
51
51
> [!NOTE]
52
52
> The amount specified only refers to query execution grant memory.
@@ -72,7 +72,7 @@ ALTER WORKLOAD GROUP { group_name | "default" }
72
72
> 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).
73
73
74
74
> [!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.
76
76
77
77
REQUEST_MEMORY_GRANT_TIMEOUT_SEC =*value*
78
78
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" }
86
86
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.
87
87
88
88
> [!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)*.
90
90
91
91
> [!CAUTION]
92
92
> 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" }
128
128
129
129
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).
130
130
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.
132
132
133
133
**Index Creation on a Partitioned Table**
134
134
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.
0 commit comments