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/virtual-machines/windows/tempdb-ephemeral-storage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ However, because the local SSD drive is non-persistent, its contents and permiss
38
38
39
39
Before you can configure your `tempdb` to use ephemeral storage, you need the following prerequisites:
40
40
41
-
- An Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/).
41
+
- An Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
42
42
43
43
- SQL Server manually installed to an [Azure VM](/azure/virtual-machines/windows/quick-create-portal).
Copy file name to clipboardExpand all lines: data-migration/sql-server/managed-instance/custom-roles.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
-
title: "Custom roles: Online SQL Server to SQL Managed Instance migrations using ADS"
2
+
title: "Custom Roles: Online SQL Server to SQL Managed Instance Migrations Using ADS"
3
3
titleSuffix: Azure Database Migration Service
4
4
description: Learn to use the custom roles for SQL Server to Azure SQL Managed Instance migrations.
5
5
author: rwestMSFT
6
6
ms.author: randolphwest
7
-
ms.date: 06/11/2025
7
+
ms.date: 10/08/2025
8
8
ms.service: azure-database-migration-service
9
9
ms.topic: conceptual
10
10
ms.collection:
@@ -74,6 +74,9 @@ You can use either the Azure portal, Azure PowerShell, Azure CLI, or Azure REST
74
74
75
75
For more information, see [Create or update Azure custom roles using the Azure portal](/azure/role-based-access-control/custom-roles-portal) and [Azure custom roles](/azure/role-based-access-control/custom-roles).
76
76
77
+
> [!NOTE]
78
+
> When migrating to SQL Managed Instance via **Azure portal** using **Managed Identity**, make sure the signed in user has **Storage Blob Data Reader** access on the storage account. This permission is needed to list folders and files in the blob container during migration setup via Azure portal. For more information, see [DMS - Support for Managed Identity for Azure SQL Managed Instance migration](https://techcommunity.microsoft.com/blog/microsoftdatamigration/dms---support-for-managed-identity-for-azure-sql-managed-instance-migration/4411274).
79
+
77
80
## Description of permissions needed to migrate to Azure SQL Managed Instance
Copy file name to clipboardExpand all lines: data-migration/sql-server/managed-instance/database-migration-service.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
@@ -5,7 +5,7 @@ description: Learn how to migrate on-premises SQL Server to Azure SQL Managed In
5
5
author: abhims14
6
6
ms.author: abhishekum
7
7
ms.reviewer: randolphwest
8
-
ms.date: 10/06/2025
8
+
ms.date: 10/08/2025
9
9
ms.service: azure-database-migration-service
10
10
ms.topic: tutorial
11
11
ms.collection:
@@ -88,7 +88,7 @@ To complete this tutorial, you need to:
88
88
1. In the Azure portal, go to **Storage account** (used for the migration for keeping backup files), and navigate to **IAM roles** > **Assign role**, and assign Storage Blob Data Reader to the associated managed identity.
89
89
90
90
> [!NOTE]
91
-
> The Storage account should have the **Allow storage account key access** option enabled. For more information, see [DMS - Support for Managed Identity for Azure SQL Managed Instance migration](https://techcommunity.microsoft.com/blog/microsoftdatamigration/dms---support-for-managed-identity-for-azure-sql-managed-instance-migration/4411274).
91
+
> When migrating to SQL Managed Instance via **Azure portal** using **Managed Identity**, make sure the signed in user has **Storage Blob Data Reader** access on the storage account. This permission is needed to list folders and files in the blob container during migration setup via Azure portal. For more information, see [DMS - Support for Managed Identity for Azure SQL Managed Instance migration](https://techcommunity.microsoft.com/blog/microsoftdatamigration/dms---support-for-managed-identity-for-azure-sql-managed-instance-migration/4411274).
92
92
93
93
As an alternative to using one of these built-in roles, you can [assign custom roles](custom-roles.md).
Copy file name to clipboardExpand all lines: data-migration/sql-server/managed-instance/performance-baseline.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
-
title: "SQL Server to Azure SQL Managed Instance: Performance baseline"
2
+
title: "SQL Server to Azure SQL Managed Instance: Performance Baseline"
3
3
description: Learn to create and compare a performance baseline when migrating your SQL Server databases to Azure SQL Managed Instance.
4
4
author: rwestMSFT
5
5
ms.author: randolphwest
6
6
ms.reviewer: mathoma, wiassaf
7
-
ms.date: 06/26/2024
7
+
ms.date: 10/08/2025
8
8
ms.service: azure-sql-managed-instance
9
9
ms.subservice: migration-guide
10
10
ms.topic: how-to
@@ -25,9 +25,9 @@ Select a set of queries that are important to, and representative of your busine
25
25
26
26
The following resources can help define a performance baseline:
27
27
28
-
-[Monitor CPU usage](https://techcommunity.microsoft.com/t5/azure-sql-blog/monitor-cpu-usage-on-sql-server-and-azure-sql/ba-p/680777#M131)
29
-
-[Monitor memory usage](/sql/relational-databases/performance-monitor/monitor-memory-usage)and determine the amount of memory used by different components such as buffer pool, plan cache, column-store pool,[In-Memory OLTP](/sql/relational-databases/in-memory-oltp/monitor-and-troubleshoot-memory-usage), etc. In addition, you should find average and peak values of the Page Life Expectancy memory performance counter.
30
-
- Monitor disk IO usage on the source SQL Server instance using the[sys.dm_io_virtual_file_stats](/sql/relational-databases/system-dynamic-management-views/sys-dm-io-virtual-file-stats-transact-sql)view or[performance counters](/sql/relational-databases/performance-monitor/monitor-disk-usage).
28
+
-[Monitor CPU usage](https://techcommunity.microsoft.com/blog/azuresqlblog/monitor-cpu-usage-on-sql-server-and-azure-sql/680777#M131)
29
+
-[Monitor memory usage](/sql/relational-databases/performance-monitor/monitor-memory-usage)and determine the amount of memory used by different components such as buffer pool, plan cache, column-store pool,[In-Memory OLTP](/sql/relational-databases/in-memory-oltp/monitor-and-troubleshoot-memory-usage), etc. In addition, you should find average and peak values of the Page Life Expectancy memory performance counter.
30
+
- Monitor disk IO usage on the source SQL Server instance using the[sys.dm_io_virtual_file_stats](/sql/relational-databases/system-dynamic-management-views/sys-dm-io-virtual-file-stats-transact-sql)view or[performance counters](/sql/relational-databases/performance-monitor/monitor-disk-usage).
31
31
- Monitor workload and query performance by examining Dynamic Management Views (or Query Store if you're migrating from SQL Server 2016 and later). Identify average duration and CPU usage of the most important queries in your workload.
32
32
33
33
Any performance issues on the source SQL Server should be addressed before migration. Migrating known issues to any new system might cause unexpected results and invalidate any performance comparison.
@@ -44,7 +44,7 @@ Performance comparison is likely to result in the following outcomes:
44
44
45
45
- Most performance parameters and queries in the workload perform as expected, with some exceptions resulting in degraded performance. In this case, identify the differences and their importance. If there are some important queries with degraded performance, investigate whether the underlying SQL plans have changed, or whether queries are hitting resource limits. You can mitigate this by applying some hints on critical queries (for example, change compatibility level, legacy cardinality estimator) either directly or using plan guides. Ensure statistics and indexes are up to date and equivalent in both environments.
46
46
47
-
- Most queries are slower on a managed instance compared to your source SQL Server instance. In this case, try to identify the root causes of the difference such as[reaching some resource limit](/azure/azure-sql/managed-instance/resource-limits#service-tier-characteristics) such as IO, memory, or instance log rate limits. If there are no resource limits causing the difference, try changing the compatibility level of the database or change database settings like legacy cardinality estimation and rerun the test. Review the recommendations provided by the managed instance or Query Store views to identify the queries with regressed performance.
47
+
- Most queries are slower on a managed instance compared to your source SQL Server instance. In this case, try to identify the root causes of the difference such as[reaching some resource limit](/azure/azure-sql/managed-instance/resource-limits#service-tier-characteristics) such as IO, memory, or instance log rate limits. If there are no resource limits causing the difference, try changing the compatibility level of the database or change database settings like legacy cardinality estimation and rerun the test. Review the recommendations provided by the managed instance or Query Store views to identify the queries with regressed performance.
48
48
49
49
SQL Managed Instance has a built-in automatic plan correction feature that is enabled by default. This feature ensures that queries that worked fine in the past don't degrade in the future. If this feature isn't enabled, run the workload with the old settings so SQL Managed Instance can learn the performance baseline. Then, enable the feature and run the workload again with the new settings.
50
50
@@ -55,16 +55,16 @@ Make changes in the parameters of your test or upgrade to higher service tiers t
55
55
SQL Managed Instance provides advanced tools for monitoring and troubleshooting, and you should use them to monitor performance on your instance. Some of the key metrics to monitor are:
56
56
57
57
- CPU usage on the instance to determine if the number of vCores that you provisioned is the right match for your workload.
58
-
- Page-life expectancy on your managed instance to determineif you need [more memory](https://techcommunity.microsoft.com/t5/azure-sql-blog/do-you-need-more-memory-on-azure-sql-managed-instance/ba-p/563444).
59
-
- Statistics likeINSTANCE_LOG_GOVERNOR or PAGEIOLATCHthat identify storage IO issues, especially on the General Purpose tier, where you might need to preallocate files to get better IO performance.
58
+
- Page-life expectancy on your managed instance to determineif you need [more memory](https://techcommunity.microsoft.com/blog/azuresqlblog/do-you-need-more-memory-on-azure-sql-managed-instance/563444).
59
+
- Statistics like`INSTANCE_LOG_GOVERNOR` or `PAGEIOLATCH`that identify storage IO issues, especially on the General Purpose tier, where you might need to preallocate files to get better IO performance.
60
60
61
61
## Considerations
62
62
63
63
When comparing performance, consider the following requirements:
64
64
65
65
- Settings match between source and target. Validate that various instance, database, and `tempdb` settings are equivalent between the two environments. Differences in configuration, compatibility levels, encryption settings, trace flags, etc., can all skew performance.
66
66
67
-
- Storage is configured according to [best practices](https://techcommunity.microsoft.com/t5/azure-sql-blog/storage-performance-best-practices-and-considerations-for-azure/ba-p/305525). For example, for General Purpose, you might need to preallocate the size of the files to improve performance.
67
+
- Storage is configured according to [best practices](https://techcommunity.microsoft.com/blog/azuresqlblog/storage-performance-best-practices-and-considerations-for-azure-sql-db-managed-i/305525). For example, for General Purpose, you might need to preallocate the size of the files to improve performance.
68
68
69
69
- There are [key environment differences](https://azure.microsoft.com/blog/key-causes-of-performance-differences-between-sql-managed-instance-and-sql-server/) that might cause the performance differences between a managed instance and SQL Server. Identify risks relevant to your environment that might contribute to a performance issue.
70
70
@@ -74,5 +74,5 @@ When comparing performance, consider the following requirements:
74
74
75
75
-[How to identify why workload performance on Azure SQL Managed Instance is different than SQL Server?](https://medium.com/azure-sqldb-managed-instance/what-to-do-when-azure-sql-managed-instance-is-slower-than-sql-server-dd39942aaadd)
76
76
-[Key causes of performance differences between SQL Managed Instance and SQL Server](https://azure.microsoft.com/blog/key-causes-of-performance-differences-between-sql-managed-instance-and-sql-server/)
77
-
-[Storage performance best practices and considerations for Azure SQL Managed Instance (General Purpose)](https://techcommunity.microsoft.com/t5/azure-sql-blog/storage-performance-best-practices-and-considerations-for-azure/ba-p/305525)
77
+
-[Storage performance best practices and considerations for Azure SQL Managed Instance (General Purpose)](https://techcommunity.microsoft.com/blog/azuresqlblog/storage-performance-best-practices-and-considerations-for-azure-sql-db-managed-i/305525)
78
78
-[Real-time performance monitoring for Azure SQL Managed Instance (this is archived, is this the intended target?)](/archive/blogs/sqlcat/real-time-performance-monitoring-for-azure-sql-database-managed-instance)
Copy file name to clipboardExpand all lines: docs/database-engine/availability-groups/windows/configure-distributed-availability-groups.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,13 +33,13 @@ To configure a distributed availability group, you must have the following:
33
33
34
34
Requires **CREATE AVAILABILITY GROUP** permission on the server to create an availability group and `sysadmin` to fail over a distributed availability group.
35
35
36
-
## Set the endpoint listeners to listen to all IP addresses
36
+
## Set the database mirroring endpoints to listen on all IP addresses
37
37
38
-
Make sure the endpoints can communicate between the different availability groups in the distributed availability group. If one availability group is set to a specific network on the endpoint, the distributed availability group doesn't work properly. On each server that hosts a replica in the distributed availability group, set the listener to listen on all IP addresses (`LISTENER_IP = ALL`).
38
+
Make sure the database mirroring endpoints can communicate between the different availability groups in the distributed availability group. If one availability group is set to a specific network on the database mirroring endpoint, the distributed availability group doesn't work properly. On each server that hosts a replica in the distributed availability group, set the database mirroring endpoint to listen on all IP addresses (`LISTENER_IP = ALL`).
39
39
40
-
### Create an endpoint to listen to all IP addresses
40
+
### Create a database mirroring endpoint to listen on all IP addresses
41
41
42
-
For example, the following script creates a listener endpoint on TCP port 5022 that listens on all IP addresses.
42
+
For example, the following script creates a new database mirroring endpoint on TCP port 5022 that listens on all IP addresses.
43
43
44
44
```sql
45
45
CREATE ENDPOINT [aodns-hadr]
@@ -58,9 +58,9 @@ CREATE ENDPOINT [aodns-hadr]
58
58
GO
59
59
```
60
60
61
-
### Alter an endpoint to listen to all IP addresses
61
+
### Alter an existing database mirroring endpoint to listen on all IP addresses
62
62
63
-
For example, the following script changes a listener endpoint to listen on all IP addresses.
63
+
For example, the following script changes an existing database mirroring endpoint to listen on all IP addresses.
64
64
65
65
```sql
66
66
ALTER ENDPOINT [aodns-hadr]
@@ -75,7 +75,7 @@ GO
75
75
76
76
### Create the primary availability group on the first cluster
77
77
78
-
Create an availability group on the first Windows Server Failover Cluster (WSFC). In this example, the availability group is named `ag1` for the database `db1`. The primary replica of the primary availability group is known as the **global primary** in a distributed availability group. Server1 is the global primary in this example.
78
+
Create an availability group on the first Windows Server Failover Cluster (WSFC). In this example, the availability group is named `ag1` for the database `db1`. The primary replica of the primary availability group is known as the **global primary** in a distributed availability group. Server1 is the global primary in this example.
0 commit comments