1.请问,我公司生产库中使用到了mssql的replication,最近发现活动监视器一直存在一个挂起的进程,进程内运行一个内部存储过程为:exec dbo.sp_replmonitorrefreshjob,如下图
从这个进程出现后经常会导致同步数据中断1-2分钟,然后恢复,频繁导致查询不同一的情况。如果手工停止又会造成所有同步中断或者类似下边的错误
* 进程无法在上执行“sp_repldone/sp_replcounters”
* 应用复制的命令时在订阅服务器上找不到该行。请问这是一个什么进程?如何避免?

解决方案 »

  1.   

    恩,估计就是同步有实时同步,3分钟同步,这个存储过程负责实时刷新那些job,让他们进行数据同步,但是不应该出现挂起吧
      

  2.   

    4-5个订阅有推,有拉,系统都是win03+sqlserver05
      

  3.   

    The data is no longer held in tempdb and the first thing to try is to run the procedure dbo.sp_replmonitorrefreshjob and check that the job "Replication monitoring refresher for distribution" is scheduled and enabled. 
      

  4.   

    any help for it:http://www.replicationanswers.com/General.asp
      

  5.   

    Thanks Nalnait, I am fully understood the theory of the procedure dbo.sp_replmonitorrefreshjob. My question was that how come there is always a session of the procedure dbo.sp_replmonitorrefreshjob with susppended status.And the wired thing is that this session of the procedure dbo.sp_replmonitorrefreshjob has been freezing my other replication sessions for every 1-2 hours, and no master the replication is push or pull.
      

  6.   


    这个进程应该不是某个推拉同步产生的就是一个同步系统refresh作业的进程吧。
    谢谢大家的关注啊