| title | Change Resource Pool Settings | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 03/17/2016 | ||
| ms.prod | sql | ||
| ms.reviewer | |||
| ms.technology | performance | ||
| ms.topic | conceptual | ||
| helpviewer_keywords |
|
||
| ms.assetid | 49438285-a011-4dac-bd4f-f35cd90fda61 | ||
| author | julieMSFT | ||
| ms.author | jrasnick |
[!INCLUDEappliesto-ss-asdbmi-xxxx-xxx-md]
You can change resource pool settings by using [!INCLUDEssManStudioFull] or [!INCLUDEtsql].
-
Before you begin: Limitations and Restrictions, Permissions
-
To change the settings for a resource pool, using: SQL Server Management Studio, Transact-SQL
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.
Changing resource pool settings requires CONTROL SERVER permission.
To change resource pool settings by using [!INCLUDEssManStudioFull]
-
In [!INCLUDEssManStudioFull], 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
To change resource pool settings by using [!INCLUDEtsql]
-
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.
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
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)