SQL Server 订阅初始化不断重新启动,永远不会完成
我正在尝试通过第三个作为分发者在 2 个 SQL Server 2005 实例上设置事务拉式复制。 当订阅初始化时,它会正确批量插入,并给出快照已成功加载的消息。 然后它像往常一样创建主键索引。
此时,作业重新开始,删除所有表并再次批量插入。 它无限循环并且永远不会结束,直到快照过期并且必须创建新的快照。 我需要帮助诊断这个问题,因为我已经检查了我所知道的所有错误日志,但没有看到任何可能相关的内容。
I'm trying to set up transactional pull replication on 2 SQL Server 2005 instances, through a 3rd as a distributor. When the subscription is being initialized, it bulk inserts properly, giving the message that the snapshot was successfully loaded. Then it makes primary key indexes as usual.
At this point the job starts over, dropping all the tables and bulk inserting again. It loops endlessly and never finishes, until the snapshot expires and a new one has to be made. I need help diagnosing this problem, as I have checked all the error logs I know of, and didn't see anything that might be of relevance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查发布中是否有任何表的主键已损坏。 我见过导致 SQL Server 事务复制以奇怪方式运行的实例。
Check to see if there are any tables with corrupted primary keys in the publication. I have seen instances where that causes SQL Server transactional replication to behave in bizarre ways.