数据同步订阅的注意事项
[ 2006-05-29 11:48:34 | 作者: progame ]
1、当你可以顺利建立订阅,但是在初始化同步时总是报错:
那么你首先要查的就是
如果发现不一致,那么就
2、如果初始化同步时总提报错说
然后你跑到run agent的property中加上 -QueryTimerout 10000
再试 结果还是这个错误的话
那么你就应该试试,重启subscriber的server服务了
因为很有可能有未释放的死锁或进程访问导致无法合并复制无法更新表结构
3、当碰到这个错误时
4、清除订阅端的meta date
评论Feed: /feed.asp?q=comment&id=41
Error info : number 14010
Full error message : The remote server is not defined as a subscription
server.
Full error message : The remote server is not defined as a subscription
server.
那么你首先要查的就是
select @@servername
select SERVERPROPERTY('ServerName')
select SERVERPROPERTY('ServerName')
如果发现不一致,那么就
sp_dropserver 'old_name'
go
sp_addserver 'new_name', 'local'
go
go
sp_addserver 'new_name', 'local'
go
2、如果初始化同步时总提报错说
Error: "The process could not make a generation at the 'Subscriber'
The merge process
timed out while executing a query.Reconfigure the
QueryTimeout parameter and retry the operation
The merge process
timed out while executing a query.Reconfigure the
QueryTimeout parameter and retry the operation
然后你跑到run agent的property中加上 -QueryTimerout 10000
再试 结果还是这个错误的话
那么你就应该试试,重启subscriber的server服务了
因为很有可能有未释放的死锁或进程访问导致无法合并复制无法更新表结构
3、当碰到这个错误时
The agent is suspect. No response within last 10 minutes.
这个表示agent无法忍受这么慢的反应了[code]Just right click the Replication Monitor node, click Refresh Rate
and Settings, and then increase the Inactivity Threshold values.
这个表示agent无法忍受这么慢的反应了[code]Just right click the Replication Monitor node, click Refresh Rate
and Settings, and then increase the Inactivity Threshold values.
4、清除订阅端的meta date
EXECUTE [TEST_B].dbo.sp_mergesubscription_cleanup @publisher = N'PROGAME', @publisher_db = N'TEST_A', @publication = N'TEST_A'
评论Feed: /feed.asp?q=comment&id=41
您可能感兴趣的文章:
进程未能将快照传送给订阅服务器 (progame at 2006-07-16)
Sql Server数据同步之推拉式 (progame at 2007-03-13)
[转]关于sql server数据同步msmerge表的说明 (progame at 2008-11-16)
凑也要把数据凑出来 -- 数据库损坏恢复 (progame at 2008-01-16)
sql server 合并复制(Merge Replication) (progame at 2006-04-23)
在刀尖上跳舞,一次sql server 数据库恢复的过程 (progame at 2006-06-30)
造型说明无效的字符值? (progame at 2008-03-05)
安装sql server时,提示程序被挂起 (沁励 at 2007-01-08)
这篇日志没有评论.

