移动客户端上与 Microsoft 同步框架的 SQL 同步速度较慢

发布于 2024-08-31 20:15:57 字数 505 浏览 2 评论 0原文

我们正在开发一个应用程序,它使用 MS Sync Framework 在带有 SQL CE 3.5 SP1 客户端的 Windows CE 6.0 和 SQL 2008 数据库之间同步数据。我们的主要问题是 15 个完全空的表的同步时间很慢,最多需要 1 分钟。 以下是我们的组件的细分:

服务器:

  • Sql Server 2008

  • 15 个已激活更改跟踪的表

  • 带有端点的 WCF 服务移动同步(使用 Sync Framework 2.0)

客户端(移动)

  • Windows CE 6.0

  • 使用 NET 应用程序启动同步的设备同步框架 (CTP 1)

正如我上面提到的,在没有任何更改和空表的情况下,同步最多需要 1 分钟。移动设备位于其底座中。 这对于生产环境来说是一个大问题。有人有这方面的经验吗?有办法改善吗? 感谢您的任何回复。

we are developing an application which uses MS Sync Framework to sync data between Windows CE 6.0 with SQL CE 3.5 SP1 Clients and an SQL 2008 Database. Our major problem is a slow sync time up to 1 minute for 15 tables which are totally empty.
Here's a break down of our components:

Server:

  • Sql Server 2008

  • 15 tables with activated change tracking

  • WCF Service with endpoint for the mobile sync (uses Sync Framework 2.0)

Client (Mobile)

  • Windows CE 6.0

  • NET Application using Sync Framework for Devices (CTP 1) which starts the sync

As I mentioned above, the sync takes up to 1 minute without any changes and empty tables. The mobile device is in its dock.
This is a deal breaker for a production environment. Does anybody have any experience in this field? Is there a way to improve things?
Thanks for any responses.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

诺曦 2024-09-07 20:15:57

我有同样的问题。
如果更改批量大小,同步时间会显着缩短。我尝试了以下修补程序。
http://support.microsoft.com/kb/973058
我没有看到任何改进。

I have the same problem.
The sync time improves dramatically if you change the batch size.I trid the following hot fix.
http://support.microsoft.com/kb/973058
I did'nt see any improvements.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文