简体   繁体   English

数据复制-SQL Server 2008

[英]Data Replication - SQL Server 2008

Good day 美好的一天

I needed to create a data replication between two databases. 我需要在两个数据库之间创建数据复制。 I created the Local Publication with one table for testing purposes. 我创建了带有一个表的本地发布以进行测试。 I then created the Local Subscription and it worked 100%. 然后,我创建了本地订阅,它可以100%工作。 I tested it and the data gets updated. 我对其进行了测试,并更新了数据。 I then started to add more tables to the Local Publication that I created. 然后,我开始向我创建的本地出版物中添加更多表。 I noticed that the new tables did not pull through to the new database through the Local Subscription I created. 我注意到新表没有通过我创建的本地订阅传递到新数据库。 Do I need to create a new Subscription for the updates? 我需要为更新创建新的订阅吗? Do I need to delete the current Subscription or is there another way that I can just update the Current Subscription? 我需要删除当前订阅吗?还是可以通过其他方法更新当前订阅?

Thanks 谢谢

Ruan

Got this description from this Article: http://www.mssqltips.com/sqlservertip/2502/limit-snapshot-size-when-adding-new-article-to-sql-server-replication/ 从本文获得了以下描述: http : //www.mssqltips.com/sqlservertip/2502/limit-snapshot-size-when-adding-new-article-to-sql-server-replication/

您必须启动快照代理,但是要检查已复制的表是否未标记为要重新初始化,因为在这种情况下,旧表中的数据将再次传输。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM