【问题标题】:Are there other reasons for service broker to be disabled than a RESTORE DATABASE除了 RESTORE DATABASE 之外,是否还有其他原因导致服务代理被禁用
【发布时间】:2011-08-08 15:58:32
【问题描述】:

我们有一个生产数据库,其中服务代理被禁用。 我们有一个记录每个备份/恢复操作的分析器。我在其跟踪中找不到任何还原操作。 除了要禁用服务代理的数据库还原之外,还有其他原因吗?

请注意,此数据库使用高可用性和见证服务器进行镜像。在错误日志中,我可以找到

2011-07-29  09:00:52.53 spid25s     Error: 1479, Severity: 16, State: 2.

2011-07-29 09:00:52.53 spid25s     The mirroring connection to "TCP://DB84200:5022" has timed out for database "XXX" after 10 seconds without a response.  Check the service and network connections.

2011-07-29 09:00:53.05 spid24s     Database mirroring is inactive for database 'XXX'. This is an informational message only. No user action is required.

2011-07-29 09:00:53.72 spid24s     Error: 1404, Severity: 16, State: 6.

2011-07-29 09:00:53.72 spid24s     The command failed because the database mirror is busy. Reissue the command later.

镜像失败可以禁用服务代理吗?或者可能是相反的:镜像失败,因为服务代理被禁用?

任何解决此问题的建议将不胜感激!

【问题讨论】:

    标签: sql-server-2005 mirroring service-broker


    【解决方案1】:

    Service Broker 提供自动中毒消息检测。如果从队列接收消息的事务回滚五次,则自动有害消息检测会将队列状态设置为 OFF。

    检查回滚的 SQL Server 日志。 不过,这看起来更像是一个镜像错误。

    【讨论】:

      猜你喜欢
      • 2011-03-24
      • 2020-02-27
      • 2017-09-11
      • 1970-01-01
      • 2012-07-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多