sys.dm_os_dispatcher_pools (Transact-SQL)

Applies to: yesSQL Server (all supported versions) yesAzure Synapse Analytics yesParallel Data Warehouse

Returns information about session dispatcher pools. Dispatcher pools are thread pools used by system components to perform background processing.


To call this from Azure Synapse Analytics or Parallel Data Warehouse, use the name sys.dm_pdw_nodes_os_dispatcher_pools. This syntax is not supported by serverless SQL pool in Azure Synapse Analytics.

Column name Data type Description
dispatcher_pool_address varbinary(8) The address of the dispatcher pool. dispatcher_pool_address is unique. Is not nullable.
type nvarchar(256) The type of the dispatcher pool. Is not nullable. There are two types of dispatcher pools:



Query the DMV for the full list
name nvarchar(256) The name of the dispatcher pool. Is not nullable.
dispatcher_count int The number of active dispatcher threads. Is not nullable.
dispatcher_ideal_count int The number of dispatcher threads that the dispatcher pool can grow to use. Is not nullable.
dispatcher_timeout_ms int The time, in milliseconds, that a dispatcher will wait for new work before exiting. Is not nullable.
dispatcher_waiting_count int The number of idle dispatcher threads. Is not nullable.
queue_length int The number of work items waiting to be handled by the dispatcher pool. Is not nullable.
pdw_node_id int Applies to: Azure Synapse Analytics, Parallel Data Warehouse

The identifier for the node that this distribution is on.


On SQL Server and SQL Managed Instance, requires VIEW SERVER STATE permission.
On SQL Database Basic, S0, and S1 service objectives, and for databases in elastic pools, the server admin account or the Azure Active Directory admin account is required. On all other SQL Database service objectives, the VIEW DATABASE STATE permission is required in the database.

See Also