Skip to content

Commit de2eecb

Browse files
Links and Acrolinx
1 parent c173c1c commit de2eecb

10 files changed

Lines changed: 108 additions & 108 deletions

docs/relational-databases/system-catalog-views/sys-resource-governor-configuration-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Returns the stored resource governor configuration.
2727

2828
| Column name | Data type | Description |
2929
|:--|:--|:--|
30-
| `classifier_function_id` | **int** | The object ID of the classifier function in [sys.objects](sys-objects-transact-sql.md). Is not nullable.<br /><br /> **Note** This function is used to classify new sessions and uses rules to route the workload to the appropriate workload group. For more information, see [Resource governor](../../relational-databases/resource-governor/resource-governor.md). |
31-
| `is_enabled` | **bit** | Indicates the current state of resource governor:<br /><br /> 0 = is not enabled.<br /><br /> 1 = is enabled.<br /><br /> Is not nullable. |
30+
| `classifier_function_id` | **int** | The object ID of the classifier function in [sys.objects](../system-catalog-views/sys-objects-transact-sql.md). Not nullable.<br /><br /> **Note** This function is used to classify new sessions and uses rules to route the workload to the appropriate workload group. For more information, see [Resource governor](../../relational-databases/resource-governor/resource-governor.md). |
31+
| `is_enabled` | **bit** | Indicates the current state of resource governor:<br /><br /> 0 = is not enabled.<br /><br /> 1 = is enabled.<br /><br /> Not nullable. |
3232
| `max_outstanding_io_per_volume` | **int** | **Applies to**: [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)] and later.<br /><br /> The maximum number of outstanding I/O requests per volume. |
3333

3434
## Remarks

docs/relational-databases/system-catalog-views/sys-resource-governor-external-resource-pools-transact-sql.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ Returns the stored external resource pool configuration in [!INCLUDE[ssNoVersion
2929

3030
| Column name | Data type | Description |
3131
|:--|:--|:--|
32-
| `external_pool_id` | **int** | Unique ID of the resource pool. Is not nullable. |
33-
| `name` | **sysname** | Name of the resource pool. Is not nullable. |
34-
| `max_cpu_percent` | **int** | Maximum average CPU bandwidth allowed for all requests in the resource pool when there is CPU contention. Is not nullable. |
35-
| `max_memory_percent` | **int** | Percentage of total server memory that can be used by requests in this resource pool. Is not nullable. The effective maximum depends on the pool minimums. For example, max_memory_percent can be set to 100, but the effective maximum is lower. |
36-
| `max_processes` | **int** | Maximum number of concurrent external processes. The default value, 0, specifies no limit. Is not nullable. |
32+
| `external_pool_id` | **int** | Unique ID of the resource pool. Not nullable. |
33+
| `name` | **sysname** | Name of the resource pool. Not nullable. |
34+
| `max_cpu_percent` | **int** | Maximum average CPU bandwidth allowed for all requests in the resource pool when there is CPU contention. Not nullable. |
35+
| `max_memory_percent` | **int** | Percentage of total server memory that can be used by requests in this resource pool. Not nullable. The effective maximum depends on the pool minimums. For example, max_memory_percent can be set to 100, but the effective maximum is lower. |
36+
| `max_processes` | **int** | Maximum number of concurrent external processes. The default value, 0, specifies no limit. Not nullable. |
3737
| `version` | **bigint** | Internal version number. |
3838

3939
## Permissions

docs/relational-databases/system-catalog-views/sys-resource-governor-resource-pools-transact-sql.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ Returns the stored resource pool configuration. Each row represents a resource p
2727

2828
| Column name | Data type | Description |
2929
|:--|:--|:--|
30-
| `pool_id` | **int** | Unique ID of the resource pool. Is not nullable.|
31-
| `name` | **sysname** | Name of the resource pool. Is not nullable.|
32-
| `min_cpu_percent` | **int** | Guaranteed average CPU bandwidth for all requests in the resource pool when there is CPU contention. Is not nullable. |
33-
| `max_cpu_percent` | **int** | Maximum average CPU bandwidth allowed for all requests in the resource pool when there is CPU contention. Is not nullable. |
34-
| `min_memory_percent` | **int** | Guaranteed amount of query workspace memory for all requests in the resource pool. This is not shared with other resource pools. Is not nullable. |
35-
| `max_memory_percent` | **int** | Percentage of total query workspace memory that can be used by requests in this resource pool. Is not nullable. The effective maximum depends on the other pool minimums. For example, `max_memory_percent` can be set to 100, but the effective maximum might be lower. Is not nullable. |
36-
| `cap_cpu_percent` | **int** | **Applies to**: [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)] and later.<br /><br /> Hard cap on the CPU bandwidth that all requests in the resource pool receive. Limits the maximum CPU bandwidth to the specified level. The allowed range for value is from 1 through 100. Is not nullable. |
37-
| `min_iops_per_volume` | **int** | **Applies to**: [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)] and later.<br /><br /> The minimum I/O operations per second (IOPS) per volume setting for this pool. 0 = no reservation. Is not nullable. |
38-
| `max_iops_per_volume` | **int** | **Applies to**: [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)] and later.<br /><br /> The maximum I/O operations per second (IOPS) per volume setting for this pool. 0 = unlimited. Is not nullable. |
30+
| `pool_id` | **int** | Unique ID of the resource pool. Not nullable.|
31+
| `name` | **sysname** | Name of the resource pool. Not nullable.|
32+
| `min_cpu_percent` | **int** | Guaranteed average CPU bandwidth for all requests in the resource pool when there is CPU contention. Not nullable. |
33+
| `max_cpu_percent` | **int** | Maximum average CPU bandwidth allowed for all requests in the resource pool when there is CPU contention. Not nullable. |
34+
| `min_memory_percent` | **int** | Guaranteed amount of query workspace memory for all requests in the resource pool. This is not shared with other resource pools. Not nullable. |
35+
| `max_memory_percent` | **int** | Percentage of total query workspace memory that can be used by requests in this resource pool. Not nullable. The effective maximum depends on the other pool minimums. For example, `max_memory_percent` can be set to 100, but the effective maximum might be lower. Not nullable. |
36+
| `cap_cpu_percent` | **int** | **Applies to**: [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)] and later.<br /><br /> Hard cap on the CPU bandwidth that all requests in the resource pool receive. Limits the maximum CPU bandwidth to the specified level. The allowed range for value is from 1 through 100. Not nullable. |
37+
| `min_iops_per_volume` | **int** | **Applies to**: [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)] and later.<br /><br /> The minimum I/O operations per second (IOPS) per volume setting for this pool. 0 = no reservation. Not nullable. |
38+
| `max_iops_per_volume` | **int** | **Applies to**: [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)] and later.<br /><br /> The maximum I/O operations per second (IOPS) per volume setting for this pool. 0 = unlimited. Not nullable. |
3939

4040
## Remarks
4141

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ Returns the stored workload group configuration. Each row represents a workload
2727

2828
| Column name | Data type | Description |
2929
|:--|:--|:--|
30-
| `group_id` | **int** | Unique ID of the workload group. Is not nullable. |
31-
| `name` | **sysname** | Name of the workload group. Is not nullable. |
32-
| `importance` | **sysname** | Is the relative importance of a request in this workload group. Importance is one of the following: `Low`, `Medium`, `High`. `Medium` is the default. <br /><br /> **Note:** Importance is relative to other workload groups in the same resource pool.<br /><br />Is not nullable. |
33-
| `request_max_memory_grant_percent` | **int** | Maximum memory grant for a single request, as a percentage of the total query workspace memory for a resource pool. The default value is 25. Is not nullable.<br /><br /> **Note:** If this setting is excessively high, queries requiring memory grants might be blocked until other queries complete, and in some cases might get an out-of-memory error. |
34-
| `request_max_cpu_time_sec` | **int** | Maximum CPU use limit, in seconds, for a single request. The default value, 0, specifies no limit. Is not nullable.<br /><br />For more information, see [REQUEST_MAX_CPU_TIME_SEC](../../t-sql/statements/create-workload-group-transact-sql.md#request_max_cpu_time_sec--value). |
35-
| `request_memory_grant_timeout_sec` | **int** | Memory grant time-out, in seconds, for a single request. The default value, 0, uses an internal calculation based on query cost. Is not nullable. |
36-
| `max_dop` | **int** | Maximum degree of parallelism for a request executing in the workload group. The default value, 0, uses global settings in the server or database scope. Is not nullable.<br /><br /> **Note:** If set to a value other than 0, overrides the global settings and the `MAXDOP` query hint. |
37-
| `group_max_requests` | **int** | Maximum number of concurrent requests executing in the workload group. The default value, 0, specifies no limit. Is not nullable. |
30+
| `group_id` | **int** | Unique ID of the workload group. Not nullable. |
31+
| `name` | **sysname** | Name of the workload group. Not nullable. |
32+
| `importance` | **sysname** | Is the relative importance of a request in this workload group. Importance is one of the following: `Low`, `Medium`, `High`. `Medium` is the default. <br /><br /> **Note:** Importance is relative to other workload groups in the same resource pool.<br /><br />Not nullable. |
33+
| `request_max_memory_grant_percent` | **int** | Maximum memory grant for a single request, as a percentage of the total query workspace memory for a resource pool. The default value is 25. Not nullable.<br /><br /> **Note:** If this setting is excessively high, queries requiring memory grants might be blocked until other queries complete, and in some cases might get an out-of-memory error. |
34+
| `request_max_cpu_time_sec` | **int** | Maximum CPU use limit, in seconds, for a single request. The default value, 0, specifies no limit. Not nullable.<br /><br />For more information, see [REQUEST_MAX_CPU_TIME_SEC](../../t-sql/statements/create-workload-group-transact-sql.md#request_max_cpu_time_sec--value). |
35+
| `request_memory_grant_timeout_sec` | **int** | Memory grant time-out, in seconds, for a single request. The default value, 0, uses an internal calculation based on query cost. Not nullable. |
36+
| `max_dop` | **int** | Maximum degree of parallelism for a request executing in the workload group. The default value, 0, uses global settings in the server or database scope. Not nullable.<br /><br /> **Note:** If set to a value other than 0, overrides the global settings and the `MAXDOP` query hint. |
37+
| `group_max_requests` | **int** | Maximum number of concurrent requests executing in the workload group. The default value, 0, specifies no limit. Not nullable. |
3838
| `pool_id` | **int** | ID of the resource pool that this workload group uses. |
3939
| `external_pool_id` | **int** | **Applies to**: [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)] and later.<br /><br /> ID of the external resource pool that this workload group uses. |
40-
| `request_max_memory_grant_percent_numeric` | **float** | **Applies to**: [!INCLUDE[sql-server-2019](../../includes/sssql19-md.md)] and later.<br /><br /> Maximum memory grant for a single request, as a percentage of the total query workspace memory for a resource pool. The default value is 25. Is not nullable.<br /><br /> **Note:** Matches `request_max_memory_grant_percent`, but includes fractions of a percent if specified when creating or modifying a workload group. |
40+
| `request_max_memory_grant_percent_numeric` | **float** | **Applies to**: [!INCLUDE[sql-server-2019](../../includes/sssql19-md.md)] and later.<br /><br /> Maximum memory grant for a single request, as a percentage of the total query workspace memory for a resource pool. The default value is 25. Not nullable.<br /><br /> **Note:** Matches `request_max_memory_grant_percent`, but includes fractions of a percent if specified when creating or modifying a workload group. |
4141

4242
## Remarks
4343

docs/relational-databases/system-dynamic-management-views/sys-dm-resource-governor-configuration-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Returns a row that contains the currently effective resource governor configurat
2727

2828
| Column name | Data type | Description |
2929
|:--|:--|:--|
30-
| `classifier_function_id` | **int** | The object ID of the currently used classifier function in [sys.objects](sys-objects-transact-sql.md). Returns 0 if no classifier function is being used. Is not nullable.<br /><br /> **Note:** This function is used to classify new requests and uses rules to route these requests to the appropriate workload group. For more information, see [Resource governor](../../relational-databases/resource-governor/resource-governor.md). |
31-
| `is_reconfiguration_pending` | **bit** | Indicates whether or not changes to resource governor configuration were made but have not been applied to the currently effective configuration using `ALTER RESOURCE GOVERNOR RECONFIGURE`. The changes that require resource governor reconfiguration include:<br /><br />- Create, modify, or delete a resource pool.<br />- Create, modify, or delete a workload group.<br />- Specify or remove a classifier function.<br />- Set or remove a limit on the maximum number of outstanding I/O operations per volume.<br /><br /> The value returned is one of:<br /><br /> 0 - A reconfiguration is not required.<br /><br /> 1 - A reconfiguration or server restart is required in order for pending configuration changes to be applied.<br /><br /> **Note:** The value returned is always 0 when resource governor is disabled.<br /><br /> Is not nullable. |
30+
| `classifier_function_id` | **int** | The object ID of the currently used classifier function in [sys.objects](sys-objects-transact-sql.md). Returns 0 if no classifier function is being used. Not nullable.<br /><br /> **Note:** This function is used to classify new requests and uses rules to route these requests to the appropriate workload group. For more information, see [Resource governor](../../relational-databases/resource-governor/resource-governor.md). |
31+
| `is_reconfiguration_pending` | **bit** | Indicates whether or not changes to resource governor configuration were made but have not been applied to the currently effective configuration using `ALTER RESOURCE GOVERNOR RECONFIGURE`. The changes that require resource governor reconfiguration include:<br /><br />- Create, modify, or delete a resource pool.<br />- Create, modify, or delete a workload group.<br />- Specify or remove a classifier function.<br />- Set or remove a limit on the maximum number of outstanding I/O operations per volume.<br /><br /> The value returned is one of:<br /><br /> 0 - A reconfiguration is not required.<br /><br /> 1 - A reconfiguration or server restart is required in order for pending configuration changes to be applied.<br /><br /> **Note:** The value returned is always 0 when resource governor is disabled.<br /><br /> Not nullable. |
3232
| `max_outstanding_io_per_volume` | **int** | **Applies to**: [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)] and later.<br /><br /> The maximum number of outstanding I/O operations per volume. |
3333

3434
## Remarks

docs/relational-databases/system-dynamic-management-views/sys-dm-resource-governor-external-resource-pool-affinity-transact-sql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Returns CPU affinity information about the current external resource pool config
2929

3030
| Column name | Data type | Description |
3131
|:--|:--|:--|
32-
| `pool_id` | **int** | The ID of the external resource pool. Is not nullable. |
33-
| `processor_group`| **smallint** | The ID of the Windows logical processor group. Is not nullable. |
34-
| `cpu_mask`| **bigint** | The binary mask representing the CPUs associated with this pool. Is not nullable. |
32+
| `pool_id` | **int** | The ID of the external resource pool. Not nullable. |
33+
| `processor_group`| **smallint** | The ID of the Windows logical processor group. Not nullable. |
34+
| `cpu_mask`| **bigint** | The binary mask representing the CPUs associated with this pool. Not nullable. |
3535

3636
## Remarks
3737

docs/relational-databases/system-dynamic-management-views/sys-dm-resource-governor-external-resource-pools.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ Returns information about the current external resource pool state, the current
2828

2929
| Column name | Data type | Description |
3030
|:--|:--|:--|
31-
| `external_pool_id` | **int** | The ID of the resource pool. Is not nullable. |
32-
| `name` | **sysname** | The name of the resource pool. Is not nullable. |
31+
| `external_pool_id` | **int** | The ID of the resource pool. Not nullable |
32+
| `name` | **sysname** | The name of the resource pool. Not nullable |
3333
| `pool_version` | **int** | Internal version number. |
34-
| `max_cpu_percent` | **int** | The current configuration for the maximum average CPU bandwidth allowed for all requests in the resource pool when there is CPU contention. Is not nullable. |
35-
| `max_processes` | **int** | Maximum number of concurrent external processes. The default value, 0, specifies no limit. Is not nullable.|
36-
| `max_memory_percent` | **int** | The current configuration for the percentage of total server memory that can be used by requests in this resource pool. Is not nullable. |
37-
| `statistics_start_time` | **datetime** | The time when statistics was reset for this pool. Is not nullable. |
38-
| `peak_memory_kb` | **bigint** | The maximum amount of memory used, in kilobytes, for the resource pool. Is not nullable. |
39-
| `write_io_count` | **int** | The total write IOs issued since the Resource Governor statistics were reset. Is not nullable. |
40-
| `read_io_count` | **int** | The total read IOs issued since the Resource Governor statistics were reset. Is not nullable. |
41-
| `total_cpu_kernel_ms` | **bigint** | The cumulative CPU user kernel time in milliseconds since the Resource Governor statistics were reset. Is not nullable. |
42-
| `total_cpu_user_ms` | **bigint** | The cumulative CPU user time in milliseconds since the Resource Governor statistics were reset. Is not nullable. |
43-
| `active_processes_count` | **int** | The number of external processes running at the moment of the request. Is not nullable. |
34+
| `max_cpu_percent` | **int** | The current configuration for the maximum average CPU bandwidth allowed for all requests in the resource pool when there is CPU contention. Not nullable. |
35+
| `max_processes` | **int** | Maximum number of concurrent external processes. The default value, 0, specifies no limit. Not nullable. |
36+
| `max_memory_percent` | **int** | The current configuration for the percentage of total server memory that can be used by requests in this resource pool. Not nullable |
37+
| `statistics_start_time` | **datetime** | The time when statistics was reset for this pool. Not nullable. |
38+
| `peak_memory_kb` | **bigint** | The maximum amount of memory used, in kilobytes, for the resource pool. Not nullable. |
39+
| `write_io_count` | **int** | The total write IOs issued since the Resource Governor statistics were reset. Not nullable. |
40+
| `read_io_count` | **int** | The total read IOs issued since the Resource Governor statistics were reset. Not nullable. |
41+
| `total_cpu_kernel_ms` | **bigint** | The cumulative CPU user kernel time in milliseconds since the Resource Governor statistics were reset. Not nullable. |
42+
| `total_cpu_user_ms` | **bigint** | The cumulative CPU user time in milliseconds since the Resource Governor statistics were reset. Not nullable. |
43+
| `active_processes_count` | **int** | The number of external processes running at the moment of the request. Not nullable. |
4444

4545
## Permissions
4646

0 commit comments

Comments
 (0)