title | description | author | ms.author | ms.reviewer | ms.date | ms.service | ms.subservice | ms.topic | f1_keywords | helpviewer_keywords | dev_langs | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DROP RESOURCE POOL (Transact-SQL) |
DROP RESOURCE POOL (Transact-SQL) |
WilliamDAssafMSFT |
wiassaf |
dfurman |
02/17/2025 |
sql |
t-sql |
reference |
|
|
|
[!INCLUDE SQL Server]
Deletes a user-defined resource governor resource pool for a [!INCLUDEssDE] instance.
Note
To modify resource governor configuration in [!INCLUDEssazuremi-md.md], you must be in the context of the master
database on the primary replica.
:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions
DROP RESOURCE POOL pool_name
[ ; ]
Is the name of an existing user-defined resource pool.
You can't drop a resource pool if it contains any workload groups.
You can't drop the built-in default
and internal
pools.
For more information, see Resource governor and Resource governor resource pool.
Requires the CONTROL SERVER
permission.
The following example deletes the resource pool named big_pool
and makes the new configuration effective.
DROP RESOURCE POOL big_pool;
ALTER RESOURCE GOVERNOR RECONFIGURE;