|
| 1 | +--- |
| 2 | +title: "sys.dm_resource_governor_external_resource_pools (Transact-SQL) | Microsoft Docs" |
| 3 | +ms.custom: "" |
| 4 | +ms.date: "05/02/2018" |
| 5 | +ms.suite: "sql" |
| 6 | +ms.prod: "sql" |
| 7 | +ms.prod_service: "database-engine" |
| 8 | +ms.technology: machine-learning |
| 9 | +ms.service: "" |
| 10 | +ms.component: "dmv's" |
| 11 | +ms.reviewer: "" |
| 12 | +ms.tgt_pltfrm: "" |
| 13 | +ms.topic: "language-reference" |
| 14 | +f1_keywords: |
| 15 | + - "sys.dm_resource_governor_external_resource_pools_TSQL" |
| 16 | + - "sys.dm_resource_governor_external_resource_pools" |
| 17 | + - "dm_resource_governor_external_resource_pools" |
| 18 | + - "dm_resource_governor_external_resource_pools_TSQL" |
| 19 | +dev_langs: |
| 20 | + - "TSQL" |
| 21 | +helpviewer_keywords: |
| 22 | + - "dm_resource_governor_external_resource_pools" |
| 23 | + - "sys.dm_resource_governor_external_resource_pools" |
| 24 | +author: "HeidiSteen" |
| 25 | +ms.author: "heidist" |
| 26 | +manager: "cgronlun" |
| 27 | +--- |
| 28 | +# sys.dm_resource_governor_external_resource_pools (Transact-SQL) |
| 29 | +[!INCLUDE[tsql-appliesto-ss2016-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2016-xxxx-xxxx-xxx-md.md)] |
| 30 | + |
| 31 | +Returns information about the current external resource pool state, the current configuration of resource pools, and resource pool statistics. |
| 32 | + |
| 33 | +  [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md). |
| 34 | + |
| 35 | +|Colmn name |Data type |Description| |
| 36 | +|----------------|---------------|-----------------| |
| 37 | +| external_pool_id|**int**|The ID of the resource pool. Is not nullable. | |
| 38 | +| name|**sysname**|The name of the resource pool. Is not nullable. |
| 39 | +| pool_version|**int**|nternal version number.| |
| 40 | +| max_cpu_percent|**int**|The current configuration for the maximum average CPU bandwidth allowed for all requests in the resource pool when there is CPU contention. Is not nullable. | |
| 41 | +| max_processes|**int**|Maximum number of concurrent external processes. The default value, 0, specifies no limit. Is not nullable.| |
| 42 | +| max_memory_percent|**int**|The current configuration for the percentage of total server memory that can be used by requests in this resource pool. Is not nullable. | |
| 43 | +| statistics_start_time|**datetime**|The time when statistics was reset for this pool. Is not nullable. |
| 44 | +| peak_memory_kb|**bigint**|he maximum amount of memory used, in kilobytes, for the resource pool. Is not nullable. | |
| 45 | +| write_io_count|**int**|The total write IOs issued since the Resource Govenor statistics were reset. Is not nullable. | |
| 46 | +| read_io_count|**int**|The total read IOs issued since the Resource Govenor statistics were reset. Is not nullable. | |
| 47 | +| total_cpu_kernel_ms|**bigint**|The cumulative CPU user time in milliseconds since the Resource Govenor statistics were reset. Is not nullable. | |
| 48 | +| total_cpu_user_ms|**bigint**|The cumulative CPU user time in milliseconds since the Resource Govenor statistics were reset. Is not nullable. | |
| 49 | +| active_processes_count|**int**|The number of external processes running at the moment of the request. Is not nullable. | |
| 50 | + |
| 51 | + |
| 52 | +## Permissions |
| 53 | + |
| 54 | +Requires `VIEW SERVER STATE` permission. |
| 55 | + |
| 56 | +## See Also |
| 57 | + [sys.dm_resource_governor_external_resource_pool_affinity (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-resource-governor-external-resource-pool-affinity-transact-sql.md) |
| 58 | + |
| 59 | + |
0 commit comments