TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

DROP RESOURCE POOL (Transact-SQL)

 

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

Drops a user-defined Resource Governor resource pool.

Topic link icon Transact-SQL Syntax Conventions.

  
DROP RESOURCE POOL pool_name  
[ ; ]  

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

You cannot drop a resource pool if it contains workload groups.

You cannot drop the Resource Governor default or internal pools.

When you are executing DDL statements, we recommend that you be familiar with Resource Governor states. For more information, see Resource Governor.

Requires CONTROL SERVER permission.

The following example drops the resource pool named big_pool.

DROP RESOURCE POOL big_pool;  
GO  
ALTER RESOURCE GOVERNOR RECONFIGURE;  
GO  

Resource Governor
CREATE RESOURCE POOL (Transact-SQL)
ALTER RESOURCE POOL (Transact-SQL)
CREATE WORKLOAD GROUP (Transact-SQL)
ALTER WORKLOAD GROUP (Transact-SQL)
DROP WORKLOAD GROUP (Transact-SQL)
ALTER RESOURCE GOVERNOR (Transact-SQL)

Community Additions

ADD
Show:
© 2016 Microsoft