Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server
Azure SQL Managed Instance
You can create a workload group by using SQL Server Management Studio or Transact-SQL.
Creating a workload group requires the CONTROL SERVER
permission.
To create a workload group using SQL Server Management Studio:
To create a workload group by using Transact-SQL:
ALTER RESOURCE GOVERNOR RECONFIGURE
statement for the changes to take effect.The following example creates a workload group named groupAdhoc
in the resource pool named poolAdhoc
, and configures the maximum memory grant per request.
CREATE WORKLOAD GROUP groupAdhoc WITH (REQUEST_MAX_MEMORY_GRANT_PERCENT = 30)
USING poolAdhoc;
ALTER RESOURCE GOVERNOR RECONFIGURE;
Resource pools can govern a variety of system resources. For more information, see CREATE WORKLOAD GROUP.
For more samples and a complete walkthrough, see Tutorial: Resource governor configuration examples and best practices.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayTraining
Module
Scale multiple Azure SQL Databases with SQL elastic pools - Training
Learn how to create SQL elastic pools and how to use them to manage performance and cost for a collection of SQL databases.
Certification
Microsoft Certified: Azure Database Administrator Associate - Certifications
Administer an SQL Server database infrastructure for cloud, on-premises and hybrid relational databases using the Microsoft PaaS relational database offerings.