错误 823
严重级别 24
消息正文
在文件 ''%4!'' 的偏移量 %3! 处的 %2! 过程中,检测到 I/O 错误 %1!。解释
Microsoft® SQL Server™ 在对某设备进行读或写请求时遇到 I/O 错误。该错误通常表明磁盘问题。但是,错误日志中在错误 823 之前记录的其它核心消息应指出涉及了哪个设备。对策
检查该设备的可访问性和状态。如果可能,执行硬件诊断并纠正问题。从最新的数据库备份还原损坏的文件。从数据库备份中还原应始终是修复已损坏数据库的首选方法。如果没有备份或者检测到的错误是孤立的,则 DBCC CHECKDB 的修复功能可能很有用。然而,比起从备份中还原损坏的文件,可能使用 DBCC CHECKDB 消耗的时间更多,且可能无法恢复全部数据。注意  如果使用修复子句运行 DBCC CHECKDB 时,问题没有得到纠正,或者不知道该过程将如何影响数据,请与主要的支持提供者联系。

解决方案 »

  1.   

    TO Dear DoDone,在日志文件中還有相關之錯誤信息,17204 :
    FCB::Open failed: Could not open device d:\mssql7\data\mrp.mdf for virtual device number (VDN) 0.17207 :
    udopen: Operating system error 2(系統找不到指定的檔案。) during the creation/opening 
    of physical device d:\mssql7\data\mrp.mdf.
      

  2.   

    TO Dear DoDone,麻煩幫我分析一下,我的數据庫几乎要崩潰了,可能會失業......
      

  3.   

    我已經用DBCC CHECKDB檢查過了,報告了三個錯誤:
    Server: Msg 8928, Level 16, State 1, Line 0
    Object ID 3, index ID 2: Page (1:142664) could not be processed. See other errors for details.There are 7714 rows in 155 pages for object 'SampleA'.
    CHECKDB found 0 allocation errors and 2 consistency errors in table '(Object ID 1472624805)' (object ID 1472624805).DBCC results for 'Pn_EmpRelaBARCODE'.
    There are 0 rows in 1 pages for object 'Pn_EmpRelaBARCODE'.
    CHECKDB found 0 allocation errors and 3 consistency errors in database 'mrp'.最后一句話是:
    repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (mrp ).
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.還有,我已經徹底檢測過我的服務器硬件,如硬盤等,都很正常.請大蝦出招啊!
      

  4.   

    是數据庫過大造成的嗎?SQL SERVER最大能支持多大的數据庫?