帮人分析解决一个YourSQLDba备份报错问题,个人觉得有点意思,顺手记录一下分析思路,大体解决思路如下:

 

首先,找到YourSQLDba作业YourSQLDba_FullBackups_And_Maintenance的报错邮件或者作业的错误日志信息,检查YourSQLDba出错的详细信息。

 

YOURSQLDBA.MAINT.ShowHistoryErrors 96

 

发现YourSQLDba在更新统计信息是遇到错误,如下所示

 

<Exec>
  <ctx>yMaint.UpdateStats</ctx>
  <inf>update statistics selected</inf>
  <cmd>update statistics [model].[dbo].[ServiceBrokerQueue] WITH sample 100 PERCENT</cmd>
  <err>Error 2706, Severity 16, level 6 : Table 'ServiceBrokerQueue' does not exist.</err>
</Exec>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
  • 2022-02-18
  • 2021-08-06
  • 2021-05-07
猜你喜欢
  • 2022-12-23
  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2022-01-12
  • 2021-12-30
相关资源
相似解决方案