Why does the error_id differ between two DMVs when using Synapse Analytics?

gCW1886 11 Reputation points

If a query on a dedicated SQL pool (Synapse Analytics) encounters an error, an error_id is shown in the DMV 'sys.dm_pdw_request_steps'.
According to the documentation this should be the key attribute for the DMV 'sys.dm_pdw_errors', but there was no match for any error I encountered between those two DMVs.
It is not to big of an issue since you can match via session_id or request_id, but I am wondering whether this is working as intended.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,542 questions
{count} votes

1 answer

Sort by: Most helpful
  1. HimanshuSinha-msft 19,386 Reputation points Microsoft Employee

    Hello @gCW1886 ,
    Request you to please share the details which @PRADEEPCHEEKATLA-MSFT asked for , I could also want to let you know that the DMV are reset when you pause or scale the instance . Also the limit for the # of rows is 10K . This is called out here .https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-service-capacity-limits#metadata


    Please do let me if you have any queries.

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
      • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators