Share via

Azure data sync problem

Bob Fischer 71 Reputation points
2022-07-22T12:50:16.317+00:00

I am restarting sync after server problem caused us to shut it down for a few days. I created a new sync group, the sync agent on the business server is the same as before the troubles. I am syncing the same columns as before. I have 2 of the 4 tables syncing ok but a third table consistently fails to finish within 2 hours or more with cpu in the 20% range. This table has 4800 records, mostly static data. The hub data and the member data in this table are exactly the same. The table data appears to be clean, PK index is the only index and is 0% fragmented. Sync is MEMBER WINS and bidirectional. What could cause this?

The subscription ID is 56368080-1ade-463c-a6dd-79e6e7969f83
The sync group is Freight_2022_MemberWins

Azure SQL Database
0 comments No comments

Answer accepted by question author

  1. Alberto Morillo 35,501 Reputation points MVP Volunteer Moderator
    2022-07-22T14:06:23.86+00:00

    My suggestion is try to delete the sync group, then run the cleanup scripts on the following URL:

    https://github.com/vitomaz-msft/DataSyncMetadataCleanup

    After that recreate the sync group.

    Another suggestion, is to speed up the initial sync, create an empty database schema on the member(s) database(s) so SQL Data Sync does not have o compare data. Scale up the service tier of the databases only for the duration of the initial sync.

    Hope this helps.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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