Delen via


Resource Governor Properties F1 Help

Use this page to create or configure Resource Governor components.

Options

  • Classifier function name
    Specify the classifier function by selecting from the list.

  • Enable Resource Governor
    Enable or disable Resource Governor by selecting or clearing the check box.

  • Resource pools
    Create or change resource pool configuration by using the grid that is provided. This grid is populated with information for the predefined internal and default pools. Select a pool to work with by clicking the first column in the row for the pool. To create a new resource pool, click the row that is prefixed by the asterisk (*).

    • Name
      Specify the name of the resource pool.

    • Minimum CPU %
      Specify the guaranteed average CPU bandwidth for all requests in the resource pool when there is CPU contention. Range is 0 to 100.

    • Maximum CPU %
      Specify the maximum average CPU bandwidth that all requests in this resource pool will receive when there is CPU contention. Range is 0 to 100. The default setting is 100.

    • Minimum Memory %
      Specify the minimum amount of memory reserved for this resource pool that can not be shared with other resource pools. Range is 0 to 100.

    • Maximum Memory %
      Specify the total server memory that can be used by requests in this resource pool. Range is 0 to 100. The default setting is 100.

    For more information, see CREATE RESOURCE POOL (Transact-SQL).

  • Workload groups for resource pool
    Create or change the workload group configuration by using the grid that is provided. This grid is populated with information for the predefined internal and default groups. Select a group to work with by clicking the first column in the row for the pool. To create a new workload group, click the row that is prefixed by the asterisk (*).

    • Name
      Specify the name of the workload group.

    • Importance
      Specify the relative importance of a request in the workload group. Available settings are Low, Medium, and High.

    • Maximum Requests
      Specify the maximum number of simultaneous requests that are allowed to execute in the workload group. Must be 0 or a positive integer.

    • CPU Time (sec)
      Specify the maximum amount of CPU time that a request can use. Must be 0 or a positive integer. If 0, the time is unlimited.

    • Memory Grant %
      Specify the maximum amount of memory that a single request can take from the pool. Range is 0 to 100.

    • Grant Time-out (sec)
      Specify the maximum time that a query can wait for a resource to become available before the query fails. Must be 0 or a positive integer.

    • Degree of Parallelism
      Specify the maximum degree of parallelism (DOP) for parallel requests. Range is 0 to 64.

    For more information, see CREATE WORKLOAD GROUP (Transact-SQL).

Remarks

To delete a workload group or resource pool, select the row for the workload group or resource pool, right-click the pointer at the beginning of the row, click Delete, and then click OK.

To move a workload group, select the row for the workload group, right-click the pointer at the beginning of the row and then click Move to, specify a new location, and then click OK.

When you click OK after adding, deleting, or moving a workload group or resource pool, the ALTER RESOURCE GOVERNOR RECONFIGURE statement is executed.

Note

When you change a Resource Governor configuration using Transact-SQL statements, you must explicitly execute the ALTER RESOURCE GOVERNOR RECONFIGURE statement in order to apply the changes. For more information, see ALTER RESOURCE GOVERNOR (Transact-SQL).

You can determine whether there is a configuration pending by querying the sys.dm_resource_governor_configuration dynamic management view to get the current status of is_configuration_pending.

If the create or reconfigure operation for the resource pool or workload group fails, a summary error message appears below the title of the property page. To see a detailed error message, click the down arrow on the error message.