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
Determine whether SQL Managed Instance is compatible with the database requirements of
74
-
your application. SQL Managed Instance is designed to provide easy lift and shift migration for
75
-
the majority of existing applications that use SQL Server. However, you may sometimes require
76
-
features or capabilities that are not yet supported and the cost of implementing a workaround is
77
-
too high.
73
+
Determine whether SQL Managed Instance is compatible with the database requirements of your application. SQL Managed Instance is designed to provide easy lift and shift migration for the majority of existing applications that use SQL Server. However, you may sometimes require features or capabilities that are not yet supported and the cost of implementing a workaround is too high.
78
74
79
-
You can use the Data Migration Assistant (version 4.1 and later) to assess databases to get:
75
+
The [Azure SQL Migration extension for Azure Data Studio](../../../dms/migration-using-azure-data-studio.md) provides a seamless wizard based experience to assess, get Azure recommendations and migrate your SQL Server databases on-premises to SQL Server on Azure Virtual Machines. Besides, highlighting any migration blockers or warnings, the extension also includes an option for Azure recommendations to collect your databases' performance data to recommend a right-sized SQL Server on Azure Virtual Machines to meet the performance needs of your workload (with the least price).
76
+
77
+
You can also use the Data Migration Assistant (version 4.1 and later) to assess databases to get:
@@ -101,7 +99,14 @@ If SQL Managed Instance is not a suitable target for your workload, SQL Server o
101
99
102
100
#### Scaled Assessments and Analysis
103
101
104
-
Data Migration Assistant supports performing scaled assessments and consolidation of the assessment reports for analysis. If you have multiple servers and databases that need to be assessed and analyzed at scale to provide a wider view of the data estate, click on the following links to learn more.
102
+
If you have multiple servers or databases that require Azure readiness assessment, you can automate the process by using scripts using one of the following options. To learn more about using scripting see [Migrate databases at scale using automation](../../../dms/migration-dms-powershell-cli.md).
Data Migration Assistant also supports consolidation of the assessment reports for analysis. If you have multiple servers and databases that need to be assessed and analyzed at scale to provide a wider view of the data estate, click on the following links to learn more.
105
110
106
111
-[Performing scaled assessments using PowerShell](/sql/dma/dma-consolidatereports)
107
112
-[Analyzing assessment reports using Power BI](/sql/dma/dma-consolidatereports#dma-reports)
@@ -111,6 +116,8 @@ Data Migration Assistant supports performing scaled assessments and consolidatio
111
116
112
117
### Deploy to an optimally sized managed instance
113
118
119
+
You can use the [Azure SQL Migration extension for Azure Data Studio](/sql/azure-data-studio/extensions/azure-sql-migration-extension) to get right-sized Azure SQL Managed Instance recommendation. The extension collects performance data from your source SQL Server instance to provide right-sized Azure recommendation that meets your workload's performance needs with minimal cost. To learn more, see [Get right-sized Azure recommendation for your on-premises SQL Server database(s)](../../../dms/ads-sku-recommend.md)
120
+
114
121
Based on the information in the discover and assess phase, create an appropriately-sized target SQL Managed Instance. You can do so by using the [Azure portal](../../managed-instance/instance-create-quickstart.md), [PowerShell](../../managed-instance/scripts/create-configure-managed-instance-powershell.md), or an [Azure Resource Manager (ARM) Template](../../managed-instance/create-template-quickstart.md).
115
122
116
123
SQL Managed Instance is tailored for on-premises workloads that are planning to move to the cloud. It introduces a [purchasing model](../../database/service-tiers-vcore.md) that provides greater flexibility in selecting the right level of resources for your workloads. In the on-premises world, you are probably accustomed to sizing these workloads by using physical cores and IO bandwidth. The purchasing model for managed instance is based upon virtual cores, or "vCores," with additional storage and IO available separately. The vCore model is a simpler way to understand your compute requirements in the cloud versus what you use on-premises today. This purchasing model enables you to right-size your destination environment in the cloud. Some general guidelines that might help you to choose the right service tier and characteristics are described here:
@@ -154,29 +161,32 @@ need to be migrated, such as maintenance jobs for regular backups or Always On c
154
161
155
162
This article covers two of the recommended migration options:
156
163
157
-
- Azure Database Migration Service - migration with near-zero downtime.
164
+
- Azure SQL Migration extension for Azure Data Studio - migration with near-zero downtime.
158
165
- Native `RESTORE DATABASE FROM URL` - uses native backups from SQL Server and requires some
159
166
downtime.
160
167
161
168
This guide describes the two most popular options - Azure Database Migration Service (DMS) and native backup and restore.
162
169
163
170
For other migration tools, see [Compare migration options](sql-server-to-managed-instance-overview.md#compare-migration-options).
164
171
165
-
### Database Migration Service
166
-
167
-
To perform migrations using DMS, follow the steps below:
168
-
169
-
1.[Register the **Microsoft.DataMigration** resource provider](../../../dms/quickstart-create-data-migration-service-portal.md#register-the-resource-provider) in your subscription if you are performing this for the first time.
170
-
1. Create an Azure Database Migration Service Instance in a desired location of your choice (preferably in the same region as your target Azure SQL Managed Instance) and select an existing virtual network or create a new one to host your DMS instance.
171
-
1. After creating your DMS instance, create a new migration project and specify the source server type as **SQL Server** and the target server type as **Azure SQL Database Managed Instance**. Choose the type of activity in the project creation blade - online or offline data migration.
172
-
1. Specify the source SQL Server details on the **Migration source** details page and the target Azure SQL Managed Instance details on the **Migration target** details page. Select **Next**.
173
-
1. Choose the database you want to migrate.
174
-
1. Provide configuration settings to specify the **SMB Network Share** that contains your database backup files. Use Windows User credentials with DMS that can access the network share. Provide your **Azure Storage account details**.
175
-
1. Review the migration summary, and choose **Run migration**. You can then monitor the migration activity and check the progress of your database migration.
176
-
1. After database is restored, choose **Start cutover**. The migration process copies the tail-log backup once you make it available in the SMB network share and restore it on the target.
177
-
1. Stop all incoming traffic to your source database and update the connection string to the new Azure SQL Managed Instance database.
178
-
179
-
For a detailed step-by-step tutorial of this migration option, see [Migrate SQL Server to an Azure SQL Managed Instance online using DMS](../../../dms/tutorial-sql-server-managed-instance-online.md).
172
+
### Migrate using the Azure SQL Migration extension for Azure Data Studio (minimal downtime)
173
+
174
+
To perform a minimal downtime migration using Azure Data Studio, follow the high level steps below. For a detailed step-by-step tutorial, see [Migrate SQL Server to an Azure SQL Managed Instance online using Azure Data Studio](../../../dms/tutorial-sql-server-managed-instance-online-ads.md):
175
+
176
+
1. Download and install [Azure Data Studio](/sql/azure-data-studio/download-azure-data-studio) and the [Azure SQL Migration extension](/sql/azure-data-studio/extensions/azure-sql-migration-extension).
177
+
1. Launch the Migrate to Azure SQL wizard in the extension in Azure Data Studio.
178
+
1. Select databases for assessment and view migration readiness or issues (if any). Additionally, collect performance data and get right-sized Azure recommendation.
179
+
1. Select your Azure account and your target Azure SQL Managed Instance from your subscription.
180
+
1. Select the location of your database backups. Your database backups can either be located on an on-premises network share or in an Azure storage blob container.
181
+
1. Create a new Azure Database Migration Service using the wizard in Azure Data Studio. If you have previously created Azure Database Migration Service using Azure Data Studio you can can reuse the same if desired.
182
+
1.*Optional*: If your backups are on an on-premises network share, download and install [self-hosted integration runtime](https://www.microsoft.com/en-us/download/details.aspx?id=39717) on a machine that can connect to source SQL Server and the location containing the backup files.
183
+
1. Start the database migration and monitor the progress in Azure Data Studio. You can also monitor the progress under the Azure Database Migration Service resource in Azure Portal.
184
+
1. Complete the cutover.
185
+
1. Stop all incoming transactions to the source database.
186
+
1. Make application configuration changes to point to the target database in Azure SQL Managed Instance.
187
+
1. Take any tail log backups for the source database in the backup location specified.
188
+
1. Ensure all database backups have the status Restored in the monitoring details page.
189
+
1. Select Complete cutover in the monitoring details page.
Copy file name to clipboardExpand all lines: azure-sql/migration-guides/managed-instance/sql-server-to-managed-instance-overview.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
@@ -49,7 +49,7 @@ One of the key benefits of migrating your SQL Server databases to SQL Managed In
49
49
50
50
## Choose an appropriate target
51
51
52
-
You can use the [Azure SQL Migration extension for Azure Data Studio] to get right-sized Azure SQL Managed Instance recommendation. The extension collects performance data from your source SQL Server instance to provide right-sized recommendation that meets your workload's performance needs with minimal cost. To learn more, see [Get right-sized Azure recommendation for your on-premises SQL Server database(s)](../../../dms/ads-sku-recommend.md)
52
+
You can use the [Azure SQL Migration extension for Azure Data Studio](/sql/azure-data-studio/extensions/azure-sql-migration-extension) to get right-sized Azure SQL Managed Instance recommendation. The extension collects performance data from your source SQL Server instance to provide right-sized Azure recommendation that meets your workload's performance needs with minimal cost. To learn more, see [Get right-sized Azure recommendation for your on-premises SQL Server database(s)](../../../dms/ads-sku-recommend.md)
53
53
54
54
The following general guidelines can help you choose the right service tier and characteristics of SQL Managed Instance to help match your [performance baseline](sql-server-to-managed-instance-performance-baseline.md):
Copy file name to clipboardExpand all lines: azure-sql/migration-guides/virtual-machines/sql-server-to-sql-on-azure-vm-individual-databases-guide.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
@@ -83,10 +83,10 @@ During the assessment of user databases, use Data Migration Assistant to [import
83
83
84
84
#### Assessments at scale
85
85
86
-
If you have multiple servers that require a Data Migration Assistant assessment, you can automate the process by using scripts using one of the following options. To learn more about using scripting see [Migrate databases at scale using automation](../../../dms/migration-dms-powershell-cli.md).
86
+
If you have multiple servers that require Azure readiness assessment, you can automate the process by using scripts using one of the following options. To learn more about using scripting see [Migrate databases at scale using automation](../../../dms/migration-dms-powershell-cli.md).
For summary reporting across large estates, Data Migration Assistant assessments can also be [consolidated into Azure Migrate](/sql/dma/dma-assess-sql-data-estate-to-sqldb).
0 commit comments