码迷,mamicode.com
首页 > 数据库 > 详细

Database 处于Suspect状态

时间:2016-07-15 19:51:50      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:

在物理机安装更新,重启之后,发现有一个DB处于Suspect状态,该db的Files分布在不同的Server上,我怀疑是在RemoteServer重启时,导致该DB不能访问Remote Files,于是 SQL Server 进入 Suspect状态。

查看Windows 日志报告,发现一下错误信息:

The operating system returned error 53(The network path was not found.) to SQL Server during a read at offset 0x000001bed08000 in file ‘\\RemoteServerName\ShareFolder\xxxx.ndf‘. Additional messages in the SQL Server error log and system event log may provide more detail. This is a severe system-level error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online.

WorkAround

这个错误是由于Remote Server重启,导致DB不能访问位于Remote Server上的Files。等到所有的Remote Server都重启之后,将DB的Service重启,一旦SQL Server Instance检测到DB的所有files 都能正常访问,DB恢复正常。

 

参考doc:

How To Repair A Suspect Database In MSSQL

Recovering a SQL Server Database from Suspect Mode

 

Database 处于Suspect状态

标签:

原文地址:http://www.cnblogs.com/ljhdo/p/5674233.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!