Change Resource Pool Settings
Applies to:
SQL Server
Azure SQL Managed Instance
You can change resource pool settings by using SQL Server Management Studio or Transact-SQL.
Before you begin: Limitations and Restrictions, Permissions
To change the settings for a resource pool, using: SQL Server Management Studio, Transact-SQL
Before You Begin
Limitations and Restrictions
The maximum CPU percentage must be equal to or higher than the minimum CPU percentage. The maximum memory percentage must be equal to or higher than the minimum memory percentage.
The sums of the minimum CPU percentages and minimum memory percentages for all resource pools must not exceed 100.
Permissions
Changing resource pool settings requires CONTROL SERVER permission.
Change Resource Pool Settings Using SQL Server Management Studio
To change resource pool settings by using SQL Server Management Studio
In SQL Server Management Studio, open Object Explorer and recursively expand the Management node down to and including Resource Pools.
Right-click the resource pool to be modified, and then click Properties.
In the Resource Governor Properties page, select the row for the resource pool in the Resource pools grid if it is not automatically selected.
Click or double-click the cells in the row to be changed, and enter the new values.
To save the changes, click OK
Change Resource Pool Settings Using Transact-SQL
To change resource pool settings by using Transact-SQL
Run the ALTER RESOURCE POOL or ALTER EXTERNAL RESOURCE POOL statement specifying the property values to be changed.
Run the ALTER RESOURCE GOVERNOR RECONFIGURE statement.
Example (Transact-SQL)
The following example changes the max CPU percentage setting for the resource pool named poolAdhoc
.
ALTER RESOURCE POOL poolAdhoc
WITH (MAX_CPU_PERCENT = 25);
GO
ALTER RESOURCE GOVERNOR RECONFIGURE;
GO
See Also
Resource Governor
Enable Resource Governor
Create a Resource Pool
Delete a Resource Pool
Resource Governor Workload Group
Resource Governor Classifier Function
ALTER RESOURCE POOL (Transact-SQL)
ALTER RESOURCE GOVERNOR (Transact-SQL)
CREATE EXTERNAL RESOURCE POOL (Transact-SQL)
ALTER EXTERNAL RESOURCE POOL (Transact-SQL)