什么是更好的数据同步,SQL复制或同步框架? [英] What is better for data synchronziation, SQL Replication or Sync framework?

查看:106
本文介绍了什么是更好的数据同步,SQL复制或同步框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对数据有什么好处
同步
,SQL复制或同步框架?


我们要求在PC上运行的应用程序(放在卡车上)之间进行数据同步,该应用程序从工厂运出以执行工厂中的交付和应用程序。


卡车离开工厂执行某些操作,操作细节由PC应用程序记录到某个数据库中。当卡车回到工厂时,需要将卡车PC应用程序的数据与主工厂应用程序的
同步。


我们正在评估各种数据同步选项。


我们有两种相关的数据同步方法。


第一种是同步框架。第二个是SQL Server复制。


在哪种情况下使用哪个?


我们需要根据哪种方法比较这两种方法用于以下场景,因此它将帮助我们决定方法:


- >数据同步频率


- >要同步的数据量


- >如果卡车上的数据库和工厂上的数据库不同,该怎么办?例如。 truck有SQL Server Express数据库,工厂有DB2数据库。


- >安全性


- >可靠性


- >需要连接的时间


- >表现


- >实施的复杂性


- >冲突检测和解决方案的灵活性


- >任何其他

解决方案

查看此链接以比较SyncFx和SQL Merge Replication:
http://blogs.msdn.com/sqlservercompact/archive/2009/11 /09/merge-replication-vs-sync-services-for-compact.aspx

What is better for data synchronization, SQL Replication or Sync framework?

We have requirement of data synchronization between a application running on PC (which is put on truck) which goes out of plant to perform delivery and application running in the plant.

Truck goes out of the plant for performing some operations, the operations details are logged by the PC application into some database. When that truck comes back to the plant, their is an requirement of synchronizing the data of truck PC application with the main plant application.

We are evaluating various options for data synchronization.

We got two related approach for data synchronization.

First one is sync framework. And second one is SQL Server Replication.

Which one to use in which scenario?

We need comparisons of both these approach in terms of which approach to use for following scenarios, so it will help us in deciding the approach:

-> Frequency of data synchronization

-> Amount of data to be synchronize

-> What if database on truck and databse on plant are different? For eg. truck has SQL Server Express database and plant has DB2 database.

-> Security

-> Reliability

-> Time of connectivity required

-> Performance

-> Complexity of implementation

-> Flexibility in conflict detection and resolution

-> Any other

解决方案

check out this link for a comparison of SyncFx and SQL Merge Replication: http://blogs.msdn.com/sqlservercompact/archive/2009/11/09/merge-replication-vs-sync-services-for-compact.aspx


这篇关于什么是更好的数据同步,SQL复制或同步框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆