ce修改服务器的数据库,CE6.0上的EDB数据库可以和服务器的数据库同步吗?请问?...

探讨了在使用EDB数据库进行本地数据操作时,如何选择Mergereplication与SynchronizationServices技术来实现数据上传。对比了RDA、Mergereplication及SynchronizationServices的特点,并针对SQL Server Compact 3.5的支持情况进行了分析。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

恩~我这两天查了一下文档,EDB是个本地数据库,非sql数据库,不可用查询分析器查询数据库。只能用C++编写,但在一定复杂程度上,他是在CE设备上操作起来最快的数据库。

我现在已经把EDB数据库用于本地数据的操作,将一些需要上传主服务器的数据通过SQL SERVER COMPACT 3.5与SQL SERVER 2005连接了。

但是我现在遇到了新问题。我在选择时采用Merge replication方法还是采用Synchronization Services技术有些犹豫。技术文档上是这么写的

For some applications, the decision to use a technology is easy: If you must synchronize a data source other than a SQL Server database, Synchronization Services is the way to go. If you are a database administrator who wants to configure synchronization without much programming, merge replication might be a better choice. Ultimately, you must look carefully at your application requirements and determine whether the Synchronization Services API is the appropriate technology to use. We think that if you are moving beyond replicating a schema and its data from one database to another, Synchronization Services is clearly the appropriate choice.

而我只需要将CE上的数据上传到服务器,而不需要将服务器的数据下载到本地。Synchronization Services里面的Up-Load功能很吸引我,但是看到上面写到的If you are a database administrator who wants to configure synchronization without much programming, merge replication might be a better choice,我就开始犹豫了。。

RDA  ,Merge replication,Synchronization Services三种方法的对照片如下

Synchronize using services          RDA  Merge Replication  Synchronization Services

No   No                   Yes

Supports heterogeneous databases

No   No                   Yes

Incremental change tracking

No   Yes                   Yes

Conflict detection and resolution

No   Yes                   Yes

Easily create data views on the client

No   No                   Yes

Automatically initialize schema and data

Yes   Yes                   Yes

Supports large data sets

Yes   Yes                   Yes

Query processor is locally available

Yes   Yes                   Yes

Automatically propagate schema changes

No   Yes                   No

Automatically repartition data

No   Yes                   No

Use on devices

No   Yes                   Not in this version

我的CE设备之间得EDB要通信,我肯定用Synchronization Services (如果能用)。然后在SQL Server ce与服务器之间用MErge或者Synchronization Services

但是注意上边比较的最后一行。那个Use on devices        Not in this version是个啥意思。。

这是我在SQL SERVER COMPACT技术文档上看到的。我觉得是不是说SQL Server Compact 3.5还不支持Synchronization Services 这个技术?那也许我只能用Merge了。。。

谢谢楼上

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值