--- title: "Create a Resource Pool | Microsoft Docs" ms.custom: "" ms.date: "03/17/2016" ms.prod: sql ms.reviewer: "" ms.technology: performance ms.topic: conceptual helpviewer_keywords: - "resource pools [SQL Server], create" - "Resource Governor, resource pool create" ms.assetid: 44dd0567-a4c8-4c72-89ff-e76f6ddef344 author: julieMSFT ms.author: jrasnick --- # Create a Resource Pool [!INCLUDE[appliesto-ss-asdbmi-xxxx-xxx-md](../../includes/appliesto-ss-asdbmi-xxxx-xxx-md.md)] You can create a resource pool by using [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or [!INCLUDE[tsql](../../includes/tsql-md.md)]. To understand the principals of resource pools, see [Resource Governor Resource Pool](../../relational-databases/resource-governor/resource-governor-resource-pool.md). - **Before you begin:** [Limitations and Restrictions](#LimitationsRestrictions), [Permissions](#Permissions) - **To create a resource pool, using:** [SQL Server Management Studio](#CreRPProp), [Transact-SQL](#CreRPTSQL) ## Before You Begin ### Limitations and Restrictions 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. ### Permissions Creating a resource pool requires CONTROL SERVER permission. ## Create a Resource Pool Using SQL Server Management Studio **To create a resource pool by using [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)]** 1. In [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)], open Object Explorer and recursively expand the **Management** node down to and including **Resource Governor**. 2. Right-click **Resource Governor**, and then click **Properties**. 3. In the **Resource pools** grid, click the first column in the empty row. This column is labeled with an asterisk (*). 4. Double-click the empty cell in the **Name** column. Type in the name that you want to use for the resource pool. 5. Click or double-click any other cells in the row you want to change, and enter the new values. 6. To save the changes, click **OK** ## Create a Resource Pool Using Transact-SQL **To create a resource pool by using [!INCLUDE[tsql](../../includes/tsql-md.md)]** 1. Run the [CREATE RESOURCE POOL](../../t-sql/statements/create-resource-pool-transact-sql.md) or [CREATE EXTERNAL RESOURCE POOL](../../t-sql/statements/create-external-resource-pool-transact-sql.md) statement specifying the property values to be set. 2. Run the **ALTER RESOURCE GOVERNOR RECONFIGURE** statement. ### Example (Transact-SQL) The following example creates a resource pool named `poolAdhoc`. ``` CREATE RESOURCE POOL poolAdhoc WITH (MAX_CPU_PERCENT = 20); GO ALTER RESOURCE GOVERNOR RECONFIGURE; GO ``` ## See Also [Resource Governor](../../relational-databases/resource-governor/resource-governor.md) [Enable Resource Governor](../../relational-databases/resource-governor/enable-resource-governor.md) [Resource Governor Resource Pool](../../relational-databases/resource-governor/resource-governor-resource-pool.md) [Change Resource Pool Settings](../../relational-databases/resource-governor/change-resource-pool-settings.md) [Delete a Resource Pool](../../relational-databases/resource-governor/delete-a-resource-pool.md) [Configure Resource Governor Using a Template](../../relational-databases/resource-governor/configure-resource-governor-using-a-template.md) [Resource Governor Workload Group](../../relational-databases/resource-governor/resource-governor-workload-group.md) [Resource Governor Classifier Function](../../relational-databases/resource-governor/resource-governor-classifier-function.md) [CREATE RESOURCE POOL (Transact-SQL)](../../t-sql/statements/create-resource-pool-transact-sql.md) [ALTER RESOURCE GOVERNOR (Transact-SQL)](../../t-sql/statements/alter-resource-governor-transact-sql.md) [CREATE EXTERNAL RESOURCE POOL (Transact-SQL)](../../t-sql/statements/create-external-resource-pool-transact-sql.md) [ALTER EXTERNAL RESOURCE POOL (Transact-SQL)](../../t-sql/statements/alter-external-resource-pool-transact-sql.md)