Skip to content

Latest commit

 

History

History
76 lines (54 loc) · 2.64 KB

File metadata and controls

76 lines (54 loc) · 2.64 KB
title DROP RESOURCE POOL (Transact-SQL)
description DROP RESOURCE POOL (Transact-SQL)
author WilliamDAssafMSFT
ms.author wiassaf
ms.reviewer dfurman
ms.date 02/17/2025
ms.service sql
ms.subservice t-sql
ms.topic reference
f1_keywords
DROP RESOURCE POOL
DROP_RESOURCE_POOL_TSQL
helpviewer_keywords
DROP RESOURCE POOL
dev_langs
TSQL

DROP RESOURCE POOL (Transact-SQL)

[!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

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;

Related content