Introduction
To better understanding of workload management concepts in Azure Synapse Analytics, I recommend reading my previous article titled "Workload Management Concepts in Azure Synapse Analytics." This article explores the significance of workload classification, the assignment of resource classes, and importance of requests, and the prioritization of data load and queries.
Classification in workload management
Classification in workload management allows us to configure policies that can be applied to incoming requests by assigning resource classes and importance. A better use case in a typical data warehousing environment would be when you want to prioritize your data load by assigning them higher resource classes and resources compared to queries from users, which can be considered with a lower resource class than the data load. Not only this, but you can also assign finer controls by subclassifying both the query and data loads to ensure the larger data load or query has higher resource class or importance settings than the smaller ones. For example, the biometric data load in a company might be huge and need to be loaded before the payroll calculation data which is small.

Note. DBCC commands like BEGIN, COMMIT, and ROLLBACK TRANSACTION statements cannot be classified.
How to create a workload classifier?
Workload classification is a function that can map the users with workload group that has been already defined.
CREATE WORKLOAD CLASSIFIER classifier_name
WITH
(WORKLOAD_GROUP = 'name'
, MEMBERNAME = 'security_account'
[ [ , ] WLM_LABEL = 'label' ]
[ [ , ] WLM_CONTEXT = 'context' ]
[ [ , ] START_TIME = 'HH:MM' ]
[ [ , ] END_TIME = 'HH:MM' ]
[ [ , ] IMPORTANCE = { LOW | BELOW_NORMAL | NORMAL | ABOVE_NORMAL | HIGH }])
[;]
Now let us look at each of these parameters in detail.
WORKLOAD_GROUP: The name which maps the request to a workload group at the time of creating the classifier.
MEMBERNAME: The security user account which can be a database user, role, or AAD login/AAD group.
WLM_LABEL: The label is like that of a tag that we use when creating any Azure services. It is an optional parameter, and one can use the OPTION(LABEL) in the request to match the classifier configuration.
CREATE WORKLOAD CLASSIFIER etlloads WITH
( WORKLOAD_GROUP = 'dataload_wg' ,MEMBERNAME = 'etlrole' ,WLM_LABEL = 'fact_load' )
--execute the select query with OPTION LABEL
SELECT COUNT(*)
FROM usertable
OPTION (LABEL = 'fact_load')
WLM_CONTEXT: This is an optional parameter. Instead of labeling each query in a session, you can simply apply session context, which can last for the entire session.
CREATE WORKLOAD CLASSIFIER etlloads WITH
( WORKLOAD_GROUP = 'dataload_wg',MEMBERNAME = 'etlrole' ,WLM_CONTEXT = 'fact_load_cont' )
--setting the session context
EXEC sys.sp_set_session_context @key = 'wlm_context', @value = 'fact_load_cont'

Join the conversation! Your thoughts help the community grow.