SQL Flow Field Guide

CREATE RESOURCE POOL

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

defines resource pool (no row flow)

What changes

Input
catalog
Output or change
catalog: resource pool

Syntax at a glance

CREATE RESOURCE POOL pool_name [ WITH ( [ MIN_CPU_PERCENT = value ] [ [ , ] MAX_CPU_PERCENT = value ] [ [ , ] CAP_CPU_PERCENT = value ] [ [ , ] AFFINITY {SCHEDULER = AUTO | ( <scheduler_range_spec> ) | NUMANODE = ( <NUMA_node_range_spec> ) } ] [ [ , ] MIN_MEMORY_PERCENT = value ] [ [ , ] MAX_MEMORY_PERCENT = value ] [ [ , ] MIN_IOPS_PER_VOLUME = value ] [ [ , ] MAX_IOPS_PER_VOLUME = value ] ) ] [;]

Work example

A workload needs a Resource Governor pool with bounded resource use.

Set pool limits from measured demand and trace the classifier that assigns the workload.

Check your work The test workload enters the intended pool and stays within its resource limits.

Open Microsoft Learn for full syntax, permissions, and details for your version.