Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sync data from local db to Central SQL Server

I have a requirement to sync local db data with central SQL server. The remote users (mostly around 10 people) will be using laptop which will host application and local db. The internet connection is not 24x7. During no connectivity, the laptop user should be able to make changes in local db and once the connection is restored, the data should be synced with central SQL server automatically. The sync is just usually data updates. I have looked at options Sync framework and Merge replication. I can’t use sync framework as I am not C# expert. For Merge replication, additional hardware is required I believe which is not possible. The solution should be easy to develop and maintain.

Are there any other options available? Is it possible to use SSIS in this scenario?

like image 340
ram Avatar asked Jun 29 '17 06:06

ram


People also ask

What is SQL synchronization?

Synchronizing data refers to the process of data and schema changes being propagated between the Publisher and Subscribers after the initial snapshot has been applied at the Subscriber.

How does SQL Data Sync work?

SQL Data Sync is a service built on Azure SQL Database that lets you synchronize the data you select bi-directionally across multiple databases, both on-premises and in the cloud. Azure SQL Data Sync does not support Azure SQL Managed Instance or Azure Synapse Analytics at this time.


1 Answers

I would use Merge replication for this scenario. I'm unaware of any "additional hardware" requirements.

SSIS could do this job but it does not give you any help out-of-the-box - you would be reinventing the wheel for a very common and complex scenario.

like image 121
Mike Honey Avatar answered Oct 11 '22 19:10

Mike Honey