Azure synapse resource class

sakuraime 2,341 Reputation points
2021-05-01T15:13:50.253+00:00

I have a login is in xlarge , and another one is smallrc. i have three query .

93018-image.png

but seems the performance are similar . I am using DWU100. Any advice ?

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.
5,375 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Samara Soucy - MSFT 5,141 Reputation points
    2021-05-03T20:47:15.04+00:00

    There are a few things to look at beyond which resource class is involved that could slow down a query on a larger resource class:

    1. If they are not the exact same query, then the first thing to do is to look at the query plans involved. Depending on how the DB is constructed, even similar queries might execute with different query plans resulting in different execution times, or similar times with different amounts of resources. Adjustments to the DB structure or queries could resolve those sorts of issues. Similarly, if the query does not benefit from extra memory, moving to a larger resource class won't speed up the query.
    2. There are a few queries, mostly system-related that aren't governed at all by resource class. This is unlikely in your case, since the only SELECT statements included are on system tables, but it is a possible reason.
    3. At DWU100 there are only 4 concurrency slots available. Smallrc takes one slot but xlarge takes two. If there are three or four smallrc queries already running then it would need to wait for one or two of them to complete before starting work. In this scenario, it could actually take longer for a xlarge query to complete than a smaller group as it needs more space to open up on the server. Adding additional resources or increasing the workload importance of the xlarge workload may help to mitigate this issue.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.