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
- 10,000 concurrent database migrations per service.
14
14
- Migration speed heavily depends on the target Azure SQL Database SKU and the self-hosted Integration Runtime host.
15
-
- Azure SQL Database migration scales poorly with table numbers due to ADF overhead in starting activities. If a database has thousands of tables, there will be a couple of seconds of startup time for each, even if they're composed of one row with 1 bit of data.
15
+
- Azure SQL Database migration scales poorly with table numbers due to ADF overhead in starting activities. If a database has thousands of tables, the startup process of each table might take a couple of seconds, even if they're composed of one row with 1 bit of data.
16
16
- Azure SQL Database table names with double-byte characters currently aren't supported for migration. Mitigation is to rename tables before migration; they can be changed back to their original names after successful migration.
17
17
- Tables with large blob columns may fail to migrate due to timeout.
18
18
- Database names with SQL Server reserved are currently not supported.
19
19
- Database names that include semicolons are currently not supported.
- If migrating a single database, the database backups must be placed in a flat-file structure inside a database folder (including the container root folder), and the folders can't be nested, as it's not supported.
10
10
- If migrating multiple databases using the same Azure Blob Storage container, you must place backup files for different databases in separate folders inside the container.
11
11
- Overwriting existing databases using DMS in your target Azure SQL Managed Instance isn't supported.
12
-
-Configuring high availability and disaster recovery on your target to match source topology isn't supported by DMS.
12
+
-DMS doesn't support configuring high availability and disaster recovery on your target to match the source topology.
13
13
- The following server objects aren't supported:
14
14
- SQL Server Agent jobs
15
15
- Credentials
16
16
- SSIS packages
17
17
- Server audit
18
18
- You can't use an existing self-hosted integration runtime created from Azure Data Factory for database migrations with DMS. Initially, the self-hosted integration runtime should be created using the Azure SQL migration extension in Azure Data Studio and can be reused for further database migrations.
19
19
- A single LRS job (created by DMS) can run for a maximum of 30 days. When this period expires, the job is automatically canceled thus your target database gets automatically deleted.
20
+
- If you received the following error: `Memory-optimized filegroup must be empty in order to be restored on General Purpose tier of SQL Database Managed Instance`. This issue is by design, Hekaton (**also known as SQL Server In-Memory OLTP**) isn't supported on General Purpose tier of Azure SQL Managed Instance. To continue migration, one way is to upgrade to Business Critical tier, which supports Hekaton. Another way is to make sure the source database isn't using it while the Azure SQL Managed Instance is General Purpose.
Copy file name to clipboardExpand all lines: articles/dms/includes/sql-virtual-machines-limitations.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
author: croblesm
3
3
ms.author: roblescarlos
4
-
ms.date: 01/25/2023
4
+
ms.date: 03/21/2023
5
5
ms.service: dms
6
6
ms.topic: include
7
7
---
@@ -15,11 +15,14 @@ ms.topic: include
15
15
- Credentials
16
16
- SSIS packages
17
17
- Server audit
18
-
19
18
- You can't use an existing self-hosted integration runtime created from Azure Data Factory for database migrations with DMS. Initially, the self-hosted integration runtime should be created using the Azure SQL migration extension in Azure Data Studio and can be reused for further database migrations.
20
19
- VM with SQL Server 2008 and below as target versions aren't supported when migrating to SQL Server on Azure Virtual Machines.
21
20
- If you're using a VM with SQL Server 2012 or SQL Server 2014, you need to store your source database backup files on an Azure Storage Blob Container instead of using the network share option. Store the backup files as page blobs since block blobs are only supported in SQL 2016 and after.
22
21
- You must make sure the SQL IaaS Agent Extension in the target Azure Virtual Machine is in **Full mode** instead of Lightweight mode.
23
22
- SQL IaaS Agent Extension only supports management of Default Server Instance or Single Named Instance,
24
23
- There is a temporary limit of 80 databases per target Azure Virtual Machine. A workaround to break the limit (reset the counter) is to Uninstall and Reinstall SQL IaaS Agent Extension in the target Azure Virtual Machine.
25
-
- Apart from configuring the Networking/Firewall of your Storage Account to allow your VM to access backup files, you also need to configure the Networking/Firewall of your VM to allow outbound connection to your storage account.
24
+
- Apart from configuring the Networking/Firewall of your Azure Storage Account to allow your VM to access backup files. You also need to configure the Networking/Firewall of your SQL Server on Azure VM to allow outbound connection to your storage account.
25
+
- You need to keep the target SQL Server on Azure VM **power ON** while the SQL Migration is in progress. Also, when creating a new migration, failover or cancel the migration.
26
+
-**Error**: `Login failed for user 'NT Service\SQLIaaSExtensionQuery`.
27
+
**Reason**: SQL Server instance is in single-user mode. One possible reason is the target SQL Server on Azure VM is in upgrade mode. **Solution**: Please wait for the target SQL Server on Azure VM exit the upgrade mode and start migration again.
28
+
-**Error**: `Ext_RestoreSettingsError, message: Failed to create restore job.;Cannot create file 'F:\data\XXX.mdf' because it already exists`. **Solution**: Connect to the target SQL Server on Azure VM and delete the XXX.mdf file. Then, start migration again.
Copy file name to clipboardExpand all lines: articles/dms/known-issues-azure-sql-migration-azure-data-studio.md
+34-18Lines changed: 34 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ titleSuffix: Azure Database Migration Service
4
4
description: Known issues, limitations and troubleshooting guide for Azure SQL Migration extension for Azure Data Studio
5
5
author: croblesm
6
6
ms.author: roblescarlos
7
-
ms.date: 01/05/2023
7
+
ms.date: 03/14/2023
8
8
ms.service: dms
9
9
ms.topic: troubleshooting
10
10
ms.custom: seo-lt-2019
@@ -30,9 +30,9 @@ Known issues and troubleshooting steps associated with the Azure SQL Migration e
30
30
31
31
-**Message**: `Migration for Database 'DatabaseName' failed with error cannot find server certificate with thumbprint.`
32
32
33
-
-**Cause**: The source database is protected with Transparent Data Encryption (TDE). You need to migrate the Database Encryption Key (DEK) to the target Azure SQL Managed Instance or SQL Server on Azure Virtual Machine before starting the migration.
33
+
-**Cause**: Before migrating data, you need to migrate the certificate of the source SQL Server instance from a database that is protected by Transparent Data Encryption (TDE) to the target Azure SQL Managed Instance or SQL Server on Azure Virtual Machine.
34
34
35
-
-**Recommendation**: Migrate the TDE certificate to the target instance and retry the process. For more information about migrating TDE-enabled databases, see [Tutorial: Migrate TDE-enabled databases (preview) to Azure SQL in Azure Data Studio](./tutorial-transparent-data-encryption-migration-ads.md).
35
+
-**Recommendation**: Migrate the TDE certificate to the target instance and retry the process. For more information about migrating TDE-enabled databases, see [Tutorial: Migrate TDE-enabled databases (preview) to Azure SQL in Azure Data Studio](/azure/dms/tutorial-transparent-data-encryption-migration-ads).
36
36
37
37
38
38
-**Message**: `Migration for Database <DatabaseName> failed with error 'Non retriable error occurred while restoring backup with index 1 - 3169 The database was backed up on a server running version %ls. That version is incompatible with this server, which is running version %ls. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server.`
@@ -82,15 +82,26 @@ Known issues and troubleshooting steps associated with the Azure SQL Migration e
82
82
83
83
-**Recommendation**: If migrating multiple databases to **Azure SQL Managed Instance** using the same Azure Blob Storage container, you must place backup files for different databases in separate folders inside the container. For more information about LRS, see [Migrate databases from SQL Server to SQL Managed Instance by using Log Replay Service (Preview)](/azure/azure-sql/managed-instance/log-replay-service-migrate#limitations).
84
84
85
+
-**Message**: `Migration for Database <DatabaseName> failed with error 'Non retriable error occurred while restoring backup with index 1 - 12824 The sp_configure value 'contained database authentication' must be set to 1 in order to restore a contained database. You may need to use RECONFIGURE to set the value_in_use.
86
+
RESTORE DATABASE is terminating abnormally.`
85
87
86
-
> [!NOTE]
87
-
> For more information on general troubleshooting steps for Azure SQL Managed Instance errors, see [Known issues with Azure SQL Managed Instance](/azure/azure-sql/managed-instance/doc-changes-updates-known-issues)
88
+
-**Cause**: The source database is a contained database. A specific configuration is needed to enable restoring a contained database. For more information about contained databases, see [Contained Database Users](/sql/relational-databases/security/contained-database-users-making-your-database-portable).
89
+
90
+
-**Recommendation**: Run the following query connected to the source SQL Server in the context of the specific database before starting the migration. Then, attempt the migration of the contained database again.
91
+
```sql
92
+
-- Enable "contained database authentication"
93
+
EXEC sp_configure 'contained', 1;
94
+
RECONFIGURE;
95
+
```
96
+
97
+
> [!NOTE]
98
+
> For more information on general troubleshooting steps for Azure SQL Managed Instance errors, see [Known issues with Azure SQL Managed Instance](/azure/azure-sql/managed-instance/doc-changes-updates-known-issues)
88
99
89
100
## Error code: 2012 - TestConnectionFailed
90
101
91
102
-**Message**: `Failed to test connections using provided Integration Runtime. Error details: 'Remote name could not be resolved.'`
92
103
93
-
-**Cause**: DMS cannot connect to Self-Hosted Integration Runtime (SHIR) due to network settings in the firewall.
104
+
-**Cause**: Your network settings in the firewall are causing the Self-Hosted Integration Runtime to be unable to connect to the service back end.
94
105
95
106
-**Recommendation**: There's a Domain Name System (DNS) issue. Contact your network team to fix the issue. For more information, see [Troubleshoot Self-Hosted Integration Runtime](../data-factory/self-hosted-integration-runtime-troubleshoot-guide.md).
96
107
@@ -175,14 +186,15 @@ Known issues and troubleshooting steps associated with the Azure SQL Migration e
175
186
176
187
-**Recommendation**: If desired, the target database can be returned to its original state by running the first query and all of the returned queries, then running the second query and doing the same.
-**Message**: `Pre Copy steps finished successfully before canceling completed. Target database Foreign keys and temporal tables have been altered. Schema migration may be required again for future migrations. Target server: <Target Server>, Target database: <Target Database>.`
@@ -191,7 +203,7 @@ WHERE STEP in (5,7,8) ORDER BY STEP DESC;
191
203
192
204
-**Recommendation**: If desired, target database can be returned to its original state by running the following query and all of the returned queries.
193
205
194
-
```
206
+
```sql
195
207
SELECT [ROLLBACK] FROM [dbo].[__migration_status]
196
208
WHERE STEP in (3,4,6);
197
209
```
@@ -204,7 +216,6 @@ WHERE STEP in (3,4,6);
204
216
205
217
-**Recommendation**: For more troubleshooting steps, see [Troubleshoot Azure Data Factory and Synapse pipelines](../data-factory/data-factory-troubleshoot-guide.md#error-code-2108).
206
218
207
-
208
219
## Error code: 2056 - SqlInfoValidationFailed
209
220
210
221
-**Message**: CollationMismatch: `Source database collation <CollationOptionSource> is not the same as the target database <CollationOptionTarget>. Source database: <SourceDatabaseName> Target database: <TargetDatabaseName>.`
@@ -246,29 +257,34 @@ WHERE STEP in (3,4,6);
246
257
247
258
-**Recommendation**: Check if the selected tables exist in the target Azure SQL Database. If this migration is called from a PowerShell script, check if the table list parameter includes the correct table names and is passed into the migration.
248
259
249
-
250
260
## Error code: Ext_RestoreSettingsError
251
261
252
-
-**Message**: Unable to read blobs in storage container, exception: The remote server returned an error: (403) Forbidden.The remote server returned an error: (403) Forbidden
262
+
-**Message**: Unable to read blobs in storage container, exception: The remote server returned an error: (403) Forbidden.;The remote server returned an error: (403) Forbidden
253
263
254
-
-**Cause**: Target is unable to connect to blob storage.
264
+
-**Cause**: The Azure SQL target is unable to connect to blob storage.
255
265
256
-
-**Recommendation**: Confirm that target network settings allow access to blob storage. For example, if migrating to SQL VM, ensure that outbound connections on VM aren't being blocked.
266
+
-**Recommendation**: Confirm that target network settings allow access to blob storage. For example, if you're migrating to a SQL Server on Azure VM target, ensure that outbound connections on the Virtual Machine aren't being blocked.
257
267
258
268
259
-
-**Message**: Failed to create restore job. Unable to read blobs in storage container, exception: The remote name could not be resolved.
269
+
-**Message**: Failed to create restore job. Unable to read blobs in storage container, exception: The remote name couldn't be resolved.
260
270
261
-
-**Cause**: Target is unable to connect to blob storage.
271
+
-**Cause**: The Azure SQL target is unable to connect to blob storage.
262
272
263
-
-**Recommendation**: Confirm that target network settings allow access to blob storage. For example, if migrating to SQL VM, ensure that outbound connections on VM are not being blocked.
273
+
-**Recommendation**: Confirm that target network settings allow access to blob storage. For example, if migrating to SQL VM, ensure that outbound connections on VM aren't being blocked.
264
274
265
275
266
276
-**Message**: `Migration for Database <Database Name> failed with error 'Migration cannot be completed because provided backup file name <Backup File Name> should be the last restore backup file <Last Restore Backup File Name>'`.
267
277
268
-
-**Cause**: Most recent backup was not specified in backup settings.
278
+
-**Cause**: The most recent backup wasn't specified in the backup settings.
279
+
280
+
-**Recommendation**: Specify the most recent backup file name in backup settings and retry the operation.
281
+
282
+
283
+
-**Message**: `Operation failed: errorCode: Ext_RestoreSettingsError, message: RestoreId: 1111111-aaaa-bbbb-cccc-dddddddd, OperationId: 2222222-aaaa-bbbb-cccc-dddddddd, Detail: Unable to read blobs in storage container, exception: Unable to connect to the remote server;Unable to connect to the remote server;A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 11.111.11.111:443.`
269
284
270
-
-**Recommendation**: Specify most recent backup file name in backup settings and retry operation.
285
+
-**Cause**: The error is possible to occur for both storage accounts with public network and private endpoint configuration. It's also possible that you have an on-premises DNS server that controls a hybrid network routing and DHCP. Unless you allow the Azure IP addresses configured in your DNS server, your SQL Server on Azure VM target has no chance to resolve the remote storage blob endpoint.
271
286
287
+
-**Recommendation**: To debug this issue, you can try pinging your Azure Blob Storage URL from your SQL Server on Azure VM target and confirm if you have a connectivity problem. To solve this issue, you have to allow the Azure IP addresses configured in your DNS server. For more information, see [Troubleshoot Azure Private Endpoint connectivity problems](/azure/private-link/troubleshoot-private-endpoint-connectivity)
Copy file name to clipboardExpand all lines: articles/dms/tutorial-sql-server-azure-sql-database-offline-ads.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,12 @@ Before you begin the tutorial:
57
57
58
58
- If you're using Azure Database Migration Service for the first time, make sure that the Microsoft.DataMigration [resource provider is registered in your subscription](quickstart-create-data-migration-service-portal.md#register-the-resource-provider).
59
59
60
+
> [!NOTE]
61
+
> Make sure to migrate the database schema from source to target by using the [SQL Server dacpac extension](/sql/azure-data-studio/extensions/sql-server-dacpac-extension) or the [SQL Database Projects extension](/sql/azure-data-studio/extensions/sql-database-project-extension) in Azure Data Studio before selecting the list of tables to migrate.
62
+
>
63
+
> If no tables exists on the Azure SQL Database target, or no tables are selected before starting the migration. The **Next** button isn't available to select to initiate the migration task.
64
+
>
65
+
60
66
## Open the Migrate to Azure SQL wizard in Azure Data Studio
61
67
62
68
To open the Migrate to Azure SQL wizard:
@@ -165,6 +171,8 @@ To open the Migrate to Azure SQL wizard:
165
171
166
172
> [!NOTE]
167
173
> If no tables are selected or if a username and password aren't entered, the **Next** button isn't available to select.
174
+
>
175
+
> Make sure to migrate the database schema from source to target by using the [SQL Server dacpac extension](/sql/azure-data-studio/extensions/sql-server-dacpac-extension) or the [SQL Database Projects extension](/sql/azure-data-studio/extensions/sql-database-project-extension) in Azure Data Studio before selecting the list of tables to migrate.
0 commit comments