|
| 1 | +--- |
| 2 | +title: "sys.workload_management_workload_groups (Transact-SQL) | Microsoft Docs" |
| 3 | +ms.custom: |
| 4 | +ms.date: "07/08//2019" |
| 5 | +ms.prod: sql |
| 6 | +ms.technology: system-objects |
| 7 | +ms.prod_service: "sql-data-warehouse" |
| 8 | +ms.reviewer: "jrasnick" |
| 9 | +ms.topic: "language-reference" |
| 10 | +dev_langs: |
| 11 | + - "TSQL" |
| 12 | +author: "ronortloff" |
| 13 | +ms.author: "rortloff" |
| 14 | +manager: craigg |
| 15 | +monikerRange: "=azure-sqldw-latest||=sqlallproducts-allversions" |
| 16 | +--- |
| 17 | +# sys.workload_management_workload_classifiers (Transact-SQL) |
| 18 | + |
| 19 | +[!INCLUDE[tsql-appliesto-xxxxxx-xxxx-asdw-xxx-md](../../includes/tsql-appliesto-xxxxxx-xxxx-asdw-xxx-md.md)] |
| 20 | + |
| 21 | + Returns details for workload groups. |
| 22 | + |
| 23 | +|Column Name|Data Type|Description|Range| |
| 24 | +|-----------------|---------------|-----------------|-----------| |
| 25 | +|group_id|**int**|Unique ID of the workload group. Is not nullable.|| |
| 26 | +|name|**sysname**|Name of the workload group. Must be unique to the instance. Is not nullable.|| |
| 27 | +|importance|**nvarchar(128)**|Is the relative importance of a request in this workload group and across workload groups for shared resources. Is not nullable.|low, below_normal, normal, above_normal, high|| |
| 28 | +|min_percentage_resource|**tinyint**|Guaranteed amount of resources for all requests in the workload group. This is not shared with other resource pools. Is not nullable.|| |
| 29 | +|cap_percentage_resource|**tinyint**|Hard cap on the resource percentage allocation for all requests in the workload group. Limits the maximum resources allocated to the specified level. The allowed range for value is from 1 through 100.|| |
| 30 | +|request_min_resource_grant_percent|**decimal(5,2)**|Specifies the minimum amount of resources allocated to a request. The allowed range for value is from 0.75 to 100.|| |
| 31 | +|request_max_resource_grant_percent |**decimal(5,2)**|Specifies the maximum amount of resources allocated to a request.|| |
| 32 | +|query_execution_timeout_sec|**int**|The amount of execution time, in seconds, allowed before the query is cancelled. Queries cannot be cancelled once they have reached the return phase of execution. query_execution_timeout_sec does not include time spent queued.|| |
| 33 | +|query_wait_timeout_sec|**int**|INTERNAL|| |
| 34 | + |
| 35 | +|create_time|**datetime**|Time the workload group was created. Is not nullable.|| |
| 36 | +modify_time|**datetime**|Time the workload group was last modified. Is not nullable.|| |
| 37 | +| |||| |
| 38 | + |
| 39 | +## Permissions |
| 40 | + |
| 41 | +Requires VIEW SERVER STATE permission. |
| 42 | + |
| 43 | +## Next steps |
| 44 | + |
| 45 | + For a list of all the catalog views for SQL Data Warehouse and Parallel Data Warehouse, see [SQL Data Warehouse and Parallel Data Warehouse Catalog Views](../../relational-databases/system-catalog-views/sql-data-warehouse-and-parallel-data-warehouse-catalog-views.md). To create a workload group, see [CREATE WORKLOAD GROUP](../../t-sql/statements/create-workload-group-transact-sql.md). For more information on workload classification, see [SQL DATA Warehouse Workload Classification](/azure/sql-data-warehouse/sql-data-warehouse-workload-classification) |
0 commit comments