You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/transact-sql-tsql-differences-sql-server.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: This article discusses the Transact-SQL (T-SQL) differences between
4
4
author: danimir
5
5
ms.author: danil
6
6
ms.reviewer: mathoma, bonova, danil, randolphwest
7
-
ms.date: 11/27/2024
7
+
ms.date: 02/17/2025
8
8
ms.service: azure-sql-managed-instance
9
9
ms.subservice: service-overview
10
10
ms.topic: reference
@@ -29,7 +29,7 @@ There are some PaaS limitations that are introduced in SQL Managed Instance and
29
29
-[Availability](#availability) includes the differences in [Always On Availability Groups](#always-on-availability-groups) and [backups](#backup).
30
30
-[Security](#security) includes the differences in [auditing](#auditing), [certificates](#certificates), [credentials](#credential), [cryptographic providers](#cryptographic-providers), [logins and users](#logins-and-users), and the [service key and service master key](#service-key-and-service-master-key).
31
31
-[Configuration](#configuration) includes the differences in [buffer pool extension](#buffer-pool-extension), [collation](#collation), [compatibility levels](#compatibility-levels), [database mirroring](#database-mirroring), [database options](#database-options), [SQL Server Agent](#sql-server-agent), and [table options](#tables).
32
-
-[Functionalities](#functionalities) include [BULK INSERT/OPENROWSET](#bulk-insert--openrowset), [CLR](#clr), [DBCC](#dbcc), [distributed transactions](#distributed-transactions), [extended events](#extended-events), [external libraries](#external-libraries), [FILESTREAM and FileTable](#filestream-and-filetable), [full-text Semantic Search](#full-text-semantic-search), [linked servers](#linked-servers), [PolyBase](#polybase), [Replication](#replication), [RESTORE](#restore-statement), [Service Broker](#service-broker), [stored procedures, functions, and triggers](#stored-procedures-functions-and-triggers).
-[Environment settings](#Environment) such as VNets and subnet configurations.
34
34
35
35
Most of these features are architectural constraints and represent service features.
@@ -418,6 +418,15 @@ For more information about configuring transactional replication, see the follow
418
418
-[Tutorial: Configure replication between two managed instances](replication-between-two-instances-configure-tutorial.md)
419
419
-[Tutorial: Configure transactional replication between Azure SQL Managed Instance and SQL Server](replication-two-instances-and-sql-server-configure-tutorial.md)
420
420
421
+
### Resource governor
422
+
423
+
Resource governor is supported. However, there are several behavior differences:
424
+
425
+
- To modify resource governor configuration in SQL Managed Instance, you must be in the context of the `master` database on the primary replica.
426
+
- Resource governor configuration changes made on the primary replica propagate to all secondary replicas. However, changes to the currently effective configuration on a secondary replica might not be immediate. To make the changes made on the primary replica become effective on a secondary replica, [connect](../database/read-scale-out.md#connect-to-a-read-only-replica) to the replica and execute `ALTER RESOURCE GOVERNOR RECONFIGURE`.
427
+
- In SQL Server, if the `REQUEST_MAX_CPU_TIME_SEC` setting is configured for a workload group and a batch request exceeds the configured CPU time, the `cpu_threshold_exceeded` event fires but the request is not terminated unless a trace flag is enabled. In SQL Managed Instance, the same event fires and the request is always terminated. For more information, see [REQUEST_MAX_CPU_TIME_SEC](/sql/t-sql/statements/create-workload-group-transact-sql#request_max_cpu_time_sec--value).
428
+
- The maximum number of resource pools you can create is 40.
Copy file name to clipboardExpand all lines: docs/relational-databases/resource-governor/resource-governor-walkthrough.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Use examples to learn how to create and validate resource governor
4
4
author: WilliamDAssafMSFT
5
5
ms.author: wiassaf
6
6
ms.reviewer: dfurman
7
-
ms.date: 01/02/2025
7
+
ms.date: 02/17/2025
8
8
ms.service: sql
9
9
ms.subservice: performance
10
10
ms.topic: tutorial
@@ -27,7 +27,7 @@ The article also includes examples of resource governor [monitoring queries](#mo
27
27
All examples assume that initially, resource governor is disabled and uses default settings, and that no user-defined resource pools, workload groups, and classifier functions exist.
28
28
29
29
> [!NOTE]
30
-
> For Azure SQL Managed Instance, you must be in the context of the `master` database to modify resource governor configuration.
30
+
> To modify resource governor configuration in [!INCLUDE[ssazuremi-md.md](../../includes/ssazuremi-md.md)], you must be in the context of the `master` database on the primary replica.
Copy file name to clipboardExpand all lines: docs/t-sql/includes/alter-workload-group.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,15 @@
2
2
author: rwestMSFT
3
3
ms.author: randolphwest
4
4
ms.reviewer: dfurman
5
-
ms.date: 01/13/2025
5
+
ms.date: 02/17/2025
6
6
ms.service: sql
7
7
ms.topic: include
8
8
---
9
9
10
10
Changes an existing resource governor workload group configuration, and optionally assigns it to a different resource governor resource pool.
11
11
12
12
> [!NOTE]
13
-
> For Azure SQL Managed Instance, you must be in the context of the `master` database to modify resource governor configuration.
13
+
> To modify resource governor configuration in [!INCLUDE[ssazuremi-md.md](../../includes/ssazuremi-md.md)], you must be in the context of the `master` database on the primary replica.
Copy file name to clipboardExpand all lines: docs/t-sql/includes/create-workload-group.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
author: rwestMSFT
3
3
ms.author: randolphwest
4
4
ms.reviewer: dfurman
5
-
ms.date: 01/13/2022
5
+
ms.date: 02/17/2025
6
6
ms.service: sql
7
7
ms.topic: include
8
8
---
@@ -12,7 +12,7 @@ Creates a resource governor workload group and associates the workload group wit
12
12
Resource governor isn't available in every edition of [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)]. For a list of features that are supported by the editions of [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)], see [Editions and supported features of SQL Server 2022](../../sql-server/editions-and-components-of-sql-server-2022.md).
13
13
14
14
> [!NOTE]
15
-
> For Azure SQL Managed Instance, you must be in the context of the `master` database to modify resource governor configuration.
15
+
> To modify resource governor configuration in [!INCLUDE[ssazuremi-md.md](../../includes/ssazuremi-md.md)], you must be in the context of the `master` database on the primary replica.
Copy file name to clipboardExpand all lines: docs/t-sql/includes/drop-workload-group.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,15 @@
2
2
author: rwestMSFT
3
3
ms.author: randolphwest
4
4
ms.reviewer: dfurman
5
-
ms.date: 01/02/2025
5
+
ms.date: 02/17/2025
6
6
ms.service: sql
7
7
ms.topic: include
8
8
---
9
9
10
10
Drops an existing user-defined resource governor workload group.
11
11
12
12
> [!NOTE]
13
-
> For Azure SQL Managed Instance, you must be in the context of the `master` database to modify resource governor configuration.
13
+
> To modify resource governor configuration in [!INCLUDE[ssazuremi-md.md](../../includes/ssazuremi-md.md)], you must be in the context of the `master` database on the primary replica.
Copy file name to clipboardExpand all lines: docs/t-sql/statements/alter-resource-governor-transact-sql.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: ALTER RESOURCE GOVERNOR (Transact-SQL)
4
4
author: markingmyname
5
5
ms.author: maghan
6
6
ms.reviewer: dfurman
7
-
ms.date: 12/31/2024
7
+
ms.date: 02/17/2025
8
8
ms.service: sql
9
9
ms.subservice: t-sql
10
10
ms.topic: reference
@@ -32,6 +32,9 @@ This statement performs the following resource governor actions:
32
32
- Reset workload group and resource pool statistics.
33
33
- Set the maximum queued I/O operations per disk volume.
34
34
35
+
> [!NOTE]
36
+
> To modify resource governor configuration in [!INCLUDE[ssazuremi-md.md](../../includes/ssazuremi-md.md)], you must be in the context of the `master` database on the primary replica.
Copy file name to clipboardExpand all lines: docs/t-sql/statements/alter-resource-pool-transact-sql.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: ALTER RESOURCE POOL (Transact-SQL)
4
4
author: markingmyname
5
5
ms.author: maghan
6
6
ms.reviewer: dfurman
7
-
ms.date: 12/31/2024
7
+
ms.date: 02/17/2025
8
8
ms.service: sql
9
9
ms.subservice: t-sql
10
10
ms.topic: reference
@@ -24,7 +24,7 @@ dev_langs:
24
24
Changes an existing [resource governor](../../relational-databases/resource-governor/resource-governor.md) resource pool configuration for a [!INCLUDE[ssDE](../../includes/ssde-md.md)] instance.
25
25
26
26
> [!NOTE]
27
-
> For Azure SQL Managed Instance, you must be in the context of the `master` database to modify resource governor configuration.
27
+
> To modify resource governor configuration in [!INCLUDE[ssazuremi-md.md](../../includes/ssazuremi-md.md)], you must be in the context of the `master` database on the primary replica.
Creates a [resource governor](../../relational-databases/resource-governor/resource-governor.md) resource pool. A resource pool represents a subset of the physical resources (CPU, memory, and IO) of a [!INCLUDE[ssDE](../../includes/ssde-md.md)] instance. Resource governor enables you to reserve or limit server resources among resource pools, up to a maximum of 64 pools.
26
+
Creates a [resource governor](../../relational-databases/resource-governor/resource-governor.md) resource pool. A resource pool represents a subset of the physical resources (CPU, memory, and IO) of a [!INCLUDE[ssDE](../../includes/ssde-md.md)] instance. Resource governor enables you to reserve or limit server resources among resource pools, up to a maximum of 64 pools for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] or 40 for [!INCLUDE[ssazuremi-md.md](../../includes/ssazuremi-md.md)].
27
27
28
28
Resource governor isn't available in every edition of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. For a list of features that are supported by the editions of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], see [Editions and supported features of SQL Server 2022](~/sql-server/editions-and-components-of-sql-server-2022.md).
29
29
30
30
> [!NOTE]
31
-
> For Azure SQL Managed Instance, you must be in the context of the `master` database to modify resource governor configuration.
31
+
> To modify resource governor configuration in [!INCLUDE[ssazuremi-md.md](../../includes/ssazuremi-md.md)], you must be in the context of the `master` database on the primary replica.
Copy file name to clipboardExpand all lines: docs/t-sql/statements/drop-resource-pool-transact-sql.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: DROP RESOURCE POOL (Transact-SQL)
4
4
author: WilliamDAssafMSFT
5
5
ms.author: wiassaf
6
6
ms.reviewer: dfurman
7
-
ms.date: 12/31/2024
7
+
ms.date: 02/17/2025
8
8
ms.service: sql
9
9
ms.subservice: t-sql
10
10
ms.topic: reference
@@ -24,7 +24,7 @@ dev_langs:
24
24
Deletes a user-defined [resource governor](../../relational-databases/resource-governor/resource-governor.md) resource pool for a [!INCLUDE[ssDE](../../includes/ssde-md.md)] instance.
25
25
26
26
> [!NOTE]
27
-
> For Azure SQL Managed Instance, you must be in the context of the `master` database to modify resource governor configuration.
27
+
> To modify resource governor configuration in [!INCLUDE[ssazuremi-md.md](../../includes/ssazuremi-md.md)], you must be in the context of the `master` database on the primary replica.
0 commit comments