SQL Server Compact Edition - 多个订阅问题
我有一个 SQL Server 2008 数据库,已成功复制到筛选器订阅上的 Windows Mobile 数据库。这很好用。
但是,如果我的 2008 年数据库出现故障,我的移动设备将无法再进行复制。 我想要做的是对 SQL 服务器进行故障转移,如果订阅 1 无法同步,那么我可以通过另一个网址调用服务器 2 上的第二个订阅。
但是,我无法添加附加订阅,因为已经有主数据库的订阅,并且表是相同的。
知道是否可以做到这一点,如果不能的话,处理用于复制目的的故障转移服务器的最佳方法是什么。
I have a SQL server 2008 database successfully replicating to a Windows mobile database on a filter subscription. This works great.
However If my 2008 database goes down my mobile will not replicate anymore.
What i want to do is have a fail over SQL server which if subscription 1 fails to sync then i can call the second subscription on server 2 over another web address.
However i cannot add the addition subscription because there is already a subscription for the primary DB and as the tables are the same.
Any idea if this can be done and if not what is the best way to handle a fail over server for replication purposes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有通过同步进行故障转移服务器的规定。您必须设置一个 SQL Server 集群并针对该集群进行原始同步。
无法配置另一台服务器上的数据库,因为触发器和逻辑删除表将过时。我认为默认情况下它们不会被复制。
There is no provision for fail over servers through sync. You would have to setup a SQL Server cluster and have the original sync happen against the cluster.
A database on another server can't be provisioned because the triggers and tombstone tables would be out of date. I don't think they are replicated by default.