Disable Resource Governor
You can disable the Resource Governor by using either SQL Server Management Studio or Transact-SQL.
Before you begin: Limitations and Restrictions, Permissions
To disable Resource Governorn, using: Object Explorer, Resource Governor Properties, Transact-SQL
Before You Begin
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]
Disable Resource Governor Using Object Explorer
To disable the Resource Governor by using Object Explorer
In SQL Server Management Studio, open Object Explorer and recursively expand the Management node down to Resource Governor.
Right-click Resource Governor, and then click Disable.
[Top]
Disable Resource Governor Using Resource Governor Properties
To disable the Resource Governor by using the Resource Governor Properties page
In SQL Server Management Studio, open Object Explorer and recursively expand the Management node down to Resource Governor.
Right-click Resource Governor and then click Properties, this opens the Resource Governor Properties page.
Click the Enable Resource Governor check box, ensure that the box is not selected, and then click OK.
[Top]
Disable Resource Governor Using Transact-SQL
To disable the Resource Governor by using Transact-SQL
- Run the ALTER RESOURCE GOVERNOR DISABLE statement.
Example (Transact-SQL)
The following example enables the Resource Governor.
ALTER RESOURCE GOVERNOR DISABLE;
GO
[Top]
See Also
Reference
ALTER RESOURCE GOVERNOR (Transact-SQL)
Concepts
Resource Governor Resource Pool