现有sqlserver2008数据库A,大概3T左右,根据业务需要,须copy一份给另一台机器B,数据库版本一样。
此台机器上的数据时常更新,一天一两次左右,更新数据量在几个G,并且将更新数据同步到B,想请教坛里的大神如何实现。
网上查资料,发布订阅的方式可以,只是使用条件限制表必须有主键,而A里面的数据好多是没有主键的,如何解决。有没有另外的方法?
你好,
由于我们并不是很熟悉SQL,请在专门的SQL 论坛创建一个新帖从而得到更加专业的帮助:
https://social.technet.microsoft.com/Forums/zh-CN/home?forum=sqlserverzhchs&filter=alltypes&sort=lastpostdesc
下面有个关于SQL replication model 的链接也许会有帮助:
Understand the Replication Models in SQL Server 2008
https://technet.microsoft.com/en-us/magazine/dd323622.aspx
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.