You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: sys.dm_pdw_errors holds information about all errors encountered during execution of a request or query in Azure Synapse Analytics dedicated SQL pools and Analytics Platform System (PDW).
Holds information about all errors encountered during execution of a request or query.
17
+
Holds information about all errors encountered during execution of a request or query in Azure Synapse Analytics dedicated SQL pools and Analytics Platform System (PDW).
|type|**nvarchar(4000)**|Type of error that occurred.|[!INCLUDE[ssInfoNA](../../includes/ssinfona-md.md)]|
27
-
|create_time|**datetime**|Time at which the error occurred.|Smaller or equal to current time.|
28
-
|pwd_node_id|**int**|Identifier of the specific node involved, if any. For additional information on node ids, see [sys.dm_pdw_nodes (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-nodes-transact-sql.md).||
29
-
|session_id|**nvarchar(32)**|Identifier of the session involved, if any. For additional information on session ids, see [sys.dm_pdw_exec_sessions (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-sessions-transact-sql.md).||
30
-
|request_id|**nvarchar(32)**|Identifier of the request involved, if any. For additional information on request ids, see [sys.dm_pdw_exec_requests (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-requests-transact-sql.md). This request_id can be corresponded with the request_id in [sys.dm_pdw_exec_requests(Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-requests-transact-sql.md)||
31
-
|spid|**int**|spid of the SQL Server session involved, if any.||
|details|**nvarchar(4000)**|Holds the full error text description.||
24
+
|`error_id`|**nvarchar(36)**|Key for this view.<br /><br /> Unique numeric id associated with the error.|Unique across all query errors in the system.|
|`type`|**nvarchar(4000)**|Type of error that occurred.|[!INCLUDE[ssInfoNA](../../includes/ssinfona-md.md)]|
27
+
|`create_time`|**datetime**|Time at which the error occurred.|Smaller or equal to current time.|
28
+
|`pwd_node_id`|**int**|Identifier of the specific node involved, if any. For additional information on node ids, see [sys.dm_pdw_nodes (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-nodes-transact-sql.md).||
29
+
|`session_id`|**nvarchar(32)**|Identifier of the session involved, if any. For additional information on session ids, see [sys.dm_pdw_exec_sessions (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-sessions-transact-sql.md).||
30
+
|`request_id`|**nvarchar(32)**|Identifier of the request involved, if any. For additional information on request ids, see [sys.dm_pdw_exec_requests (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-requests-transact-sql.md). This `request_id` can be corresponded with the `request_id` in [sys.dm_pdw_exec_requests](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-requests-transact-sql.md)||
31
+
|`spid`|**int**|spid of the SQL Server session involved, if any.||
|`details`|**nvarchar(4000)**|Holds the full error text description.||
34
34
35
35
For information about the maximum rows retained by this view, see the Metadata section in the [Capacity limits](/azure/sql-data-warehouse/sql-data-warehouse-service-capacity-limits#metadata) topic.
36
36
37
-
## See Also
38
-
[Azure Synapse Analytics and Parallel Data Warehouse Dynamic Management Views (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sql-and-parallel-data-warehouse-dynamic-management-views.md)
Copy file name to clipboardExpand all lines: docs/relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-requests-transact-sql.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,22 @@
1
1
---
2
2
title: "sys.dm_pdw_exec_requests (Transact-SQL)"
3
-
description: sys.dm_pdw_exec_requests holds information about all requests currently or recently active in Azure Synapse Analytics.
3
+
description: sys.dm_pdw_exec_requests holds information about all requests currently or recently active in Azure Synapse Analytics dedicated SQL pools and Analytics Platform System (PDW).
Holds information about all requests currently or recently active in [!INCLUDE [ssazuresynapse-md](../../includes/ssazuresynapse-md.md)]. It lists one row per request/query.
19
+
Holds information about all requests currently or recently active in Azure Synapse Analytics dedicated SQL pools and Analytics Platform System (PDW). It lists one row per request/query.
20
20
21
21
> [!NOTE]
22
22
> [!INCLUDE [synapse-analytics-od-unsupported-syntax](../../includes/synapse-analytics-od-unsupported-syntax.md)] For serverless SQL pool, use [sys.dm_exec_requests](sys-dm-exec-requests-transact-sql.md).
@@ -30,9 +30,9 @@ Holds information about all requests currently or recently active in [!INCLUDE [
30
30
|`start_time`|**datetime**| Time at which the request execution was started. |`NULL` for queued requests; otherwise, valid **datetime** smaller or equal to current time. |
31
31
|`end_compile_time`|**datetime**| Time at which the engine completed compiling the request. |`NULL` for requests that haven't been compiled yet; otherwise a valid **datetime** less than `start_time` and less than or equal to the current time. |
32
32
|`end_time`|**datetime**| Time at which the request execution completed, failed, or was canceled. |`NULL` for queued or active requests; otherwise, a valid **datetime** smaller or equal to current time. |
33
-
|`total_elapsed_time`|**int**| Time elapsed in execution since the request was started, in milliseconds. | Between 0 and the difference between `submit_time` and `end_time`.<br /><br />If `total_elapsed_time` exceeds the maximum value for an integer, `total_elapsed_time` continues to be the maximum value. This condition generates the warning "The maximum value has been exceeded."<br /><br />The maximum value in milliseconds is the same as 24.8 days. |
33
+
|`total_elapsed_time`|**int**| Time elapsed in execution since the request was started, in milliseconds. | Between 0 and the difference between `submit_time` and `end_time`.<br /><br />If `total_elapsed_time` exceeds the maximum value for an integer, `total_elapsed_time` continues to be the maximum value. This condition generates the warning "The maximum value has been exceeded."<br />The maximum value in milliseconds is the same as 24.8 days. |
34
34
|`label`|**nvarchar(255)**| Optional label string associated with some `SELECT` query statements. | Any string containing `a-z`, `A-Z`,`0-9`,`_`. |
35
-
|`error_id`|**nvarchar(36)**| Unique ID of the error associated with the request, if any. |
35
+
|`error_id`|**nvarchar(36)**| Unique ID of the error associated with the request, if any. ||
36
36
|`database_id`|**int**| Identifier of database used by explicit context (for example, `USE DB_X`). | See `database_id` in [sys.databases](../system-catalog-views/sys-databases-transact-sql.md). |
37
37
|`command`|**nvarchar(4000)**| Holds the full text of the request as submitted by the user. | Any valid query or request text. Queries that are longer than 4,000 bytes are truncated. |
38
38
|`resource_class`|**nvarchar(20)**| The workload group used for this request. | Static Resource Classes<br />`staticrc10`<br />`staticrc20`<br />`staticrc30`<br />`staticrc40`<br />`staticrc50`<br />`staticrc60`<br />`staticrc70`<br />`staticrc80`<br /><br />Dynamic Resource Classes<br />`SmallRC`<br />`MediumRC`<br />`LargeRC`<br />`XLargeRC`|
@@ -77,4 +77,4 @@ Requires `VIEW SERVER STATE` permission.
77
77
78
78
## Related content
79
79
80
-
-[SQL and Parallel Data Warehouse Dynamic Management Views](sql-and-parallel-data-warehouse-dynamic-management-views.md)
80
+
-[Azure Synapse Analytics and Parallel Data Warehouse Dynamic Management Views (Transact-SQL)](../../relational-databases/system-dynamic-management-views/sql-and-parallel-data-warehouse-dynamic-management-views.md)
0 commit comments