Skip to content

Commit ef931bd

Browse files
20240423 technical update edit pass
1 parent f8062e8 commit ef931bd

2 files changed

Lines changed: 26 additions & 26 deletions

File tree

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: "sys.dm_pdw_errors (Transact-SQL)"
3-
description: sys.dm_pdw_errors (Transact-SQL)
3+
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).
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
6-
ms.date: "03/07/2017"
6+
ms.date: 04/23/2024
77
ms.service: sql
88
ms.subservice: data-warehouse
99
ms.topic: "reference"
@@ -12,29 +12,29 @@ dev_langs:
1212
monikerRange: ">=aps-pdw-2016||=azure-sqldw-latest"
1313
---
1414
# sys.dm_pdw_errors (Transact-SQL)
15-
[!INCLUDE[applies-to-version/asa-pdw](../../includes/applies-to-version/asa-pdw.md)]
15+
[!INCLUDE [applies-to-version/asa-pdw](../../includes/applies-to-version/asa-pdw.md)]
1616

17-
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).
1818

1919
> [!NOTE]
20-
> [!INCLUDE[synapse-analytics-od-unsupported-syntax](../../includes/synapse-analytics-od-unsupported-syntax.md)]
20+
> [!INCLUDE [synapse-analytics-od-unsupported-syntax](../../includes/synapse-analytics-od-unsupported-syntax.md)]
2121
2222
|Column Name|Data Type|Description|Range|
2323
|-----------------|---------------|-----------------|-----------|
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.|
25-
|source|**nvarchar(64)**|[!INCLUDE[ssInfoNA](../../includes/ssinfona-md.md)]|[!INCLUDE[ssInfoNA](../../includes/ssinfona-md.md)]|
26-
|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 &#40;Transact-SQL&#41;](../../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 &#40;Transact-SQL&#41;](../../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 &#40;Transact-SQL&#41;](../../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 &#40;Transact-SQL&#41;](../../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.||
32-
|thread_id|**int**|[!INCLUDE[ssInfoNA](../../includes/ssinfona-md.md)]||
33-
|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.|
25+
| `source` |**nvarchar(64)**|[!INCLUDE [ssInfoNA](../../includes/ssinfona-md.md)]|[!INCLUDE [ssInfoNA](../../includes/ssinfona-md.md)]|
26+
| `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.||
32+
| `thread_id` |**int**|[!INCLUDE [ssInfoNA](../../includes/ssinfona-md.md)]||
33+
| `details` |**nvarchar(4000)**|Holds the full error text description.||
3434

3535
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.
3636

37-
## See Also
38-
[Azure Synapse Analytics and Parallel Data Warehouse Dynamic Management Views &#40;Transact-SQL&#41;](../../relational-databases/system-dynamic-management-views/sql-and-parallel-data-warehouse-dynamic-management-views.md)
39-
40-
37+
## Related content
38+
39+
- [sys.dm_pdw_exec_requests (Transact-SQL)](sys-dm-pdw-exec-requests-transact-sql.md)
40+
- [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)

docs/relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-requests-transact-sql.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
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).
44
author: jacinda-eng
55
ms.author: jacindaeng
66
ms.reviewer: wiassaf, randolphwest
7-
ms.date: 04/15/2024
7+
ms.date: 04/23/2024
88
ms.service: sql
99
ms.subservice: data-warehouse
1010
ms.topic: "reference"
1111
dev_langs:
1212
- "TSQL"
13-
monikerRange: ">=aps-pdw-2016 || =azure-sqldw-latest"
13+
monikerRange: ">=aps-pdw-2016||=azure-sqldw-latest"
1414
---
1515
# sys.dm_pdw_exec_requests (Transact-SQL)
1616

1717
[!INCLUDE [applies-to-version/asa-pdw](../../includes/applies-to-version/asa-pdw.md)]
1818

19-
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.
2020

2121
> [!NOTE]
2222
> [!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 [
3030
| `start_time` | **datetime** | Time at which the request execution was started. | `NULL` for queued requests; otherwise, valid **datetime** smaller or equal to current time. |
3131
| `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. |
3232
| `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. |
3434
| `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. | |
3636
| `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). |
3737
| `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. |
3838
| `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.
7777
7878
## Related content
7979

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

Comments
 (0)