Missing rows in Azure SQL after using DMS to migrate MS SQL from VM

Kamil Kwiaton 1 Reputation point
2025-07-18T14:21:59.9733333+00:00

We were migrating MS SQL database from Azure Virtual Machine into Azure SQL. We use Microsoft Service to do that (Database Migration Service).

Whole migration completed successfully but we noticed that in one table we have over 3 milion missed rows.

Table before migration:

User's image

Table after migration to Azure SQL:

User's image

DMS is returning success status for that table:

User's image

Like it didn't read some rows. Rows which was not migrated are not any different then others except that it have NULL on one column. Every row which had a NULL on specific field are not migrated for that one table. Other columns with NULL work fine.

Of course the column is properly set to allow null values:

User's image

Is this some issue or limitation which we triggered? When i manually change the value on target DB it works and allow me to do that.

Azure Database Migration service
{count} votes

1 answer

Sort by: Most helpful
  1. Mahesh Kurva 7,090 Reputation points Microsoft External Staff Moderator
    2025-07-25T17:09:37.3766667+00:00

    Hi Kamil Kwiaton,

    As per out analysis the issue is because of used_parallel_copies = 4 . As a workaround try using just 1 node for migration instead of using 4 nodes and retry the migration for that particular table.

    Hope this helps. Do let us know if you any further queries.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.