|
1 | 1 | --- |
2 | 2 | title: "Overview of Data Migration Assistant (SQL Server)" |
3 | | -description: Learn how to use Data Migration Assistant to migrate SQL Server databases to other SQL Server or Azure databases |
| 3 | +description: Learn how to use Data Migration Assistant to migrate SQL Server databases to other instances of SQL Server or Azure SQL Database. |
4 | 4 | author: ajithkr-ms |
5 | 5 | ms.author: ajithkr |
6 | 6 | ms.reviewer: randolphwest |
7 | | -ms.date: 05/24/2022 |
| 7 | +ms.date: 08/21/2023 |
8 | 8 | ms.service: sql |
9 | 9 | ms.subservice: dma |
10 | | -ms.topic: conceptual |
11 | | -helpviewer_keywords: |
| 10 | +ms.topic: overview |
| 11 | +ms.custom: UpdateFrequency5 |
| 12 | +helpviewer_keywords: |
12 | 13 | - "Data Migration Assistant, overview" |
13 | 14 | --- |
14 | 15 |
|
15 | 16 | # Overview of Data Migration Assistant |
16 | 17 |
|
17 | | -The Data Migration Assistant (DMA) helps you upgrade to a modern data platform by detecting compatibility issues that can impact database functionality in your new version of SQL Server or Azure SQL Database. DMA recommends performance and reliability improvements for your target environment and allows you to move your schema, data, and uncontained objects from your source server to your target server. |
| 18 | +The Data Migration Assistant (DMA) helps you upgrade to a modern data platform by detecting compatibility issues that can impact database functionality when you upgrade to a new version of SQL Server or migrate to [Azure SQL Database](/azure/azure-sql/database/sql-database-paas-overview). DMA recommends performance and reliability improvements for your target environment and allows you to move your schema, data, and uncontained objects from your source server to your target server. |
18 | 19 |
|
19 | 20 | > [!NOTE] |
20 | | -> For large migrations (in terms of number and size of databases), we recommend that you use the [Azure Database Migration Service](/azure/dms/dms-overview), which can migrate databases at scale. |
| 21 | +> - For SQL Server large migrations (in terms of number and size of databases) to Azure, we recommend that you use the [Azure Database Migration Service](/azure/dms/dms-overview), which can migrate databases at scale. |
| 22 | +> - DMA does not support database migrations to [Azure SQL Managed Instance](/azure/azure-sql/managed-instance/sql-managed-instance-paas-overview). Use the [Azure SQL migration extension for Azure Data Studio](/azure/dms/migration-using-azure-data-studio) instea, which supports both online and offline database migrations to Azure SQL Managed Instance. |
21 | 23 | |
22 | 24 | ## Get Data Migration Assistant |
23 | 25 |
|
24 | 26 | To install DMA, download the latest version of the tool from the [Microsoft Download Center](https://www.microsoft.com/download/details.aspx?id=53595), and then run the **DataMigrationAssistant.msi** file. |
25 | 27 |
|
26 | 28 | ## Capabilities |
27 | 29 |
|
28 | | -- Assess on-premises SQL Server instance(s) migrating to Azure SQL database(s). The assessment workflow helps you to detect the following issues that can affect Azure SQL database migration and provides detailed guidance on how to resolve them. |
| 30 | +DMA brings you the following capabilities: |
29 | 31 |
|
30 | | - - Migration blocking issues: Discovers the compatibility issues that block migrating on-premises SQL Server database(s) to Azure SQL Database(s). DMA provides recommendations to help you address those issues. |
| 32 | +#### Assess on-premises SQL Server Instances migrating to Azure |
31 | 33 |
|
32 | | - - Partially supported or unsupported features: Detects partially supported or unsupported features that are currently in use on the source SQL Server instance. DMA provides a comprehensive set of recommendations, alternative approaches available in Azure, and mitigating steps so that you can incorporate them into your migration projects. |
| 34 | +Assess on-premises SQL Server instance(s) migrating to Azure SQL Database or Azure SQL Managed Instance. The assessment workflow helps you to detect the following issues which may affect your Azure SQL migration and provides detailed guidance on how to resolve them. |
33 | 35 |
|
34 | | -- Discover issues that can affect an upgrade to an on-premises SQL Server. These are described as compatibility issues and are organized in the following categories: |
| 36 | + - Migration blocking issues: Discovers the compatibility issues that block migrating on-premises SQL Server database to Azure SQL Database. DMA provides recommendations to help you address those issues. |
| 37 | + |
| 38 | + - Partially supported or unsupported features: Detects partially supported or unsupported features that are currently in use by the source SQL Server instance. DMA provides a comprehensive set of recommendations, alternative approaches available in Azure, and mitigating steps so that you can incorporate them into your migration projects. |
| 39 | + |
| 40 | +#### Discover issues that affect an upgrade |
| 41 | + |
| 42 | +Discover issues that can affect an upgrade to an on-premises SQL Server. These are described as compatibility issues and are organized in the following categories: |
35 | 43 |
|
36 | 44 | - Breaking changes |
37 | 45 | - Behavior changes |
38 | 46 | - Deprecated features |
39 | 47 |
|
40 | | -- Discover new features in the target SQL Server platform that the database can benefit from after an upgrade. These are described as feature recommendations and are organized in the following categories: |
| 48 | +#### Discover new features |
| 49 | + |
| 50 | +Discover new features in the target SQL Server platform that the database can benefit from after an upgrade. These are described as feature recommendations and are organized in the following categories: |
41 | 51 |
|
42 | 52 | - Performance |
43 | 53 | - Security |
44 | 54 | - Storage |
45 | 55 |
|
46 | | -- Migrate an on-premises SQL Server instance to a modern SQL Server instance hosted on-premises or on an Azure virtual machine (VM) that is accessible from your on-premises network. The Azure VM can be accessed using VPN or other technologies. The migration workflow helps you to migrate the following components: |
| 56 | +#### Migrate on-premises instances to SQL Server on Azure VMs |
| 57 | + |
| 58 | +Migrate an on-premises SQL Server instance to a modern SQL Server instance hosted on-premises or on an Azure virtual machine (VM) that is accessible from your on-premises network. The Azure VM can be accessed using VPN or other technologies. The migration workflow helps you to migrate the following components: |
47 | 59 |
|
48 | 60 | - Schema of databases |
49 | 61 | - Data and users |
50 | 62 | - Server roles |
51 | 63 | - SQL Server and Windows logins |
52 | 64 |
|
53 | | -- After a successful migration, applications can connect to the target SQL Server databases seamlessly. |
| 65 | +#### Assess on-premesis SSIS packages migration to Azure |
54 | 66 |
|
55 | | -- Assess on-premises SQL Server Integration Services (SSIS) package(s) migrating to Azure SQL Database or Azure SQL Managed Instance. The assessment helps to discover issues that can affect the migration. These are described as compatibility issues and are organized in the following categories: |
| 67 | +Assess on-premises SQL Server Integration Services (SSIS) package(s) migrating to Azure SQL Database or Azure SQL Managed Instance. The assessment helps to discover issues that can affect the migration. These are described as compatibility issues and are organized in the following categories: |
56 | 68 |
|
57 | 69 | - Migration blockers: discovers the compatibility issues that block migrating source package(s) to Azure. DMA provides recommendations to help you address those issues. |
58 | 70 |
|
59 | 71 | - Information issues: detects partially supported or deprecated features that are used in source package(s). |
60 | 72 |
|
61 | | -> [!NOTE] |
62 | | -> DMA does not support database migrations to Azure SQL Managed Instance. Recommendation is to use the [Azure SQL migration extension for Azure Data Studio](/azure/dms/migration-using-azure-data-studio), which supports both online and offline database migrations to Azure SQL Managed Instance. |
| 73 | +#### Connect to databases after migration |
| 74 | + |
| 75 | +After a successful migration, applications can connect to the target SQL databases seamlessly. |
63 | 76 |
|
64 | | -## Prerequisites |
| 77 | + |
| 78 | +## Permissions |
65 | 79 |
|
66 | 80 | To run an assessment, you have to be a member of the SQL Server **sysadmin** role. The recommended display resolution is 1024x756. |
67 | 81 |
|
68 | 82 | ## Supported source and target versions |
69 | 83 |
|
70 | | -DMA replaces all previous versions of SQL Server Upgrade Advisor and should be used for upgrades for most SQL Server versions. Supported source and target versions for assessment are: |
71 | | - |
72 | | -### Sources |
73 | | - |
74 | | -- SQL Server 2005 (deprecated) |
75 | | -- SQL Server 2008 |
76 | | -- SQL Server 2008 R2 |
77 | | -- SQL Server 2012 |
78 | | -- SQL Server 2014 |
79 | | -- SQL Server 2016 |
80 | | -- SQL Server 2017 |
81 | | -- SQL Server 2019 |
82 | | -- SQL Server 2022 |
83 | | -- Amazon RDS for SQL Server |
84 | | - |
85 | | -### Targets |
86 | | - |
87 | | -- SQL Server 2012 |
88 | | -- SQL Server 2014 |
89 | | -- SQL Server 2016 |
90 | | -- SQL Server 2017 on Windows and Linux |
91 | | -- SQL Server 2019 |
92 | | -- SQL Server 2022 |
93 | | -- Azure SQL Database single database |
94 | | -- Azure SQL Managed Instance (assessment only) |
95 | | -- SQL Server running on an Azure Virtual Machine |
| 84 | +DMA replaces all previous versions of SQL Server Upgrade Advisor and should be used for upgrades for most SQL Server versions. The following list shows the supported source and target versions for assessment: |
| 85 | + |
| 86 | + |
| 87 | +:::row::: |
| 88 | + :::column::: |
| 89 | + **Supported sources** |
| 90 | + - SQL Server 2005 (deprecated) |
| 91 | + - SQL Server 2008 |
| 92 | + - SQL Server 2008 R2 |
| 93 | + - SQL Server 2012 |
| 94 | + - SQL Server 2014 |
| 95 | + - SQL Server 2016 |
| 96 | + - SQL Server 2017 |
| 97 | + - SQL Server 2019 |
| 98 | + - SQL Server 2022 |
| 99 | + - Amazon RDS for SQL Server |
| 100 | + :::column-end::: |
| 101 | + :::column::: |
| 102 | + **Supported targets** |
| 103 | + - SQL Server 2012 |
| 104 | + - SQL Server 2014 |
| 105 | + - SQL Server 2016 |
| 106 | + - SQL Server 2017 on Windows and Linux |
| 107 | + - SQL Server 2019 on Windows and Linux |
| 108 | + - SQL Server 2022 on Windows and Linux |
| 109 | + - [Azure SQL Database](/azure/azure-sql/database/sql-database-paas-overview) |
| 110 | + - [Azure SQL Managed Instance](/azure/azure-sql/managed-instance/sql-managed-instance-paas-overview) (assessment only) |
| 111 | + - [SQL Server on Azure Virtual Machines](/azure/azure-sql/virtual-machines/windows/sql-server-on-azure-vm-iaas-what-is-overview) |
| 112 | + :::column-end::: |
| 113 | +:::row-end::: |
| 114 | + |
96 | 115 |
|
97 | 116 | ## See also |
98 | 117 |
|
|
0 commit comments