Export (0) Print
Expand All

Disable Resource Governor

You can disable the Resource Governor by using either SQL Server Management Studio or Transact-SQL.

Disabling the Resource Governor has the following results:

  • The classifier function is not run.

  • All new connections are automatically classified into the default workload group.

  • System-initiated requests are classified into the internal workload group.

  • All existing workload group and resource pool settings are reset to their default values. In this case, no events are fired when limits are reached.

  • Normal system monitoring is not affected.

  • Configuration changes can be made, but the changes do not take effect until the Resource Governor is enabled.

  • Upon restarting SQL Server, the Resource Governor will not load its configuration, but instead will have only the default and internal workload groups and resource pools.

[Top]

Limitations and Restrictions

You cannot use the ALTER RESOURCE GOVERNOR statement to disable Resource Governor when in a user transaction.

[Top]

Permissions

Disabling the Resource Governor requires CONTROL SERVER permission.

[Top]

To disable the Resource Governor by using Object Explorer

  1. In SQL Server Management Studio, open Object Explorer and recursively expand the Management node down to Resource Governor.

  2. Right-click Resource Governor, and then click Disable.

[Top]

To disable the Resource Governor by using the Resource Governor Properties page

  1. In SQL Server Management Studio, open Object Explorer and recursively expand the Management node down to Resource Governor.

  2. Right-click Resource Governor and then click Properties, this opens the Resource Governor Properties page.

  3. Click the Enable Resource Governor check box, ensure that the box is not selected, and then click OK.

[Top]

To disable the Resource Governor by using Transact-SQL

  1. Run the ALTER RESOURCE GOVERNOR DISABLE statement.

Example (Transact-SQL)

The following example enables the Resource Governor.

ALTER RESOURCE GOVERNOR DISABLE;
GO

[Top]

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft