Azure Data Sync - Resolve slow initial sync (especially on two way sync)
Published Mar 13 2019 06:54 PM 3,659 Views
First published on MSDN on Mar 08, 2018
Symptoms:

if you start Azure Data sync between two databases in two way mode and you have data to be merged in both (or more) databases you might found that also with relatively small amount of data the initial sync is very slow and might cause blocking issue with your application.

more information about it can be found here: Avoid slow and costly initial sync

Resolution:

start the sync when you have data in only one database on the sync group.

in case you have data to sync in both locations and data need to be merged you should do that manually.

note that even if you have identical data among members in the sync group, Data Sync consider this as data that need to be merged as there is no way for Data sync to confirm this is identical unless it goes row by row which we described in symptoms. therefore our recommended approach is to run initial sync with data in only one database.

I found that it will be very easy to use the Data compare option provided by SQL Server Data Tools

if you are not familiar with that please read the below articles:

Download SQL Server Data Tools (SSDT)

How to: Compare and Synchronize the Data of Two Databases

I hope you found that information useful, please do share your comment about your experience.

Version history
Last update:
‎Mar 13 2019 06:54 PM
Updated by: