Workload classification

Maitra-v, Anirban 141 Reputation points
2022-03-03T16:15:25.53+00:00

Say we have 2 AD groups.
ADG1
ADG2

In the workload management, under the classification , let say we have 2 classifier.
CREATE WORKLOAD CLASSIFIER class1 WITH
( WORKLOAD_GROUP = 'wg1'
,MEMBERNAME = 'ADG1'
,IMPORTANCE = ABOVE_NORMAL
);

CREATE WORKLOAD CLASSIFIER class2 WITH
( WORKLOAD_GROUP = 'wg2'
,MEMBERNAME = 'ADG2'
,IMPORTANCE = NORMAL
);

Some users are part of both AD groups. In that case how the classification will work.
What kind of Importance/Isolation the common users will get.

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,378 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 90,651 Reputation points Moderator
    2022-03-07T06:08:57.913+00:00

    Hello @Maitra-v, Anirban ,

    Thanks for the question and using MS Q&A platform.

    If you have multiple of these classifiers exist for the same user a weighting exercise is performed. The following table represents how the weighting happens.

    180561-image.png

    Dedicated SQL pool workload management in Azure Synapse consists of three high-level concepts: Workload Classification, Workload Importance, and Workload Isolation. These capabilities give you more control over how your workload utilizes system resources.

    Workload classification is the concept of assigning a request to a workload group and setting importance levels. Historically, this assignment was done via role membership using sp_addrolemember. This action can now be done via the CREATE WORKLOAD CLASSIFER. The classification capability provides a richer set of options such as label, session, and time to classify requests.

    Workload importance influences the order in which a request gets access to resources. On a busy system, a request with higher importance has first access to resources. Importance can also ensure ordered access to locks.

    Workload isolation reserves resources for a workload group. Resources reserved in a workload group are held exclusively for that workload group to ensure execution. Workload groups also allow you to define the amount of resources that are assigned per request, much like resource classes do. Workload groups give you the ability to reserve or cap the amount of resources a set of requests can consume. Finally, workload groups are a mechanism to apply rules, such as query timeout, to requests.

    For more information, refer to What is workload management? And also check out the detailed video on Workload Management Concepts.

    This article explains a bit more on Workload Management in Dedicated SQL Pools with examples of multiple users and groups.

    Hope this will help. Please let us know if any further 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

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.