DROP RESOURCE POOL (Transact-SQL)

Applies to: SQL Server Azure SQL Managed Instance

Deletes a user-defined resource governor resource pool for a Database Engine instance.

Note

For Azure SQL Managed Instance, you must be in the context of the master database to modify resource governor configuration.

Transact-SQL syntax conventions

Syntax

DROP RESOURCE POOL pool_name
[ ; ]

Arguments

pool_name

Is the name of an existing user-defined resource pool.

Remarks

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.

Permissions

Requires the CONTROL SERVER permission.

Examples

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;