标题: 關于后台資料庫一問? [打印本页] 作者: newsailor 时间: 2003-06-27 10:30
我已經用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.
還有,我已經徹底檢測過我的服務器硬件,如硬盤等,都很正常.請大蝦出招啊!作者: xzh2000 时间: 2003-06-27 10:59
很明显,你的文件破啦,数据库还能启动,
先做个完全备份试试?作者: xzh2000 时间: 2003-06-27 11:03
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).
-------------SampleA这个对象有点问题,估计是约束坏啦,删除约束试试
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.
DBCC results for \'master\'.
DBCC results for \'sysobjects\'.
There are 862 rows in 13 pages for object \'sysobjects\'.
DBCC results for \'sysindexes\'.
There are 80 rows in 3 pages for object \'sysindexes\'.
\'...\'
DBCC results for \'spt_provider_types\'.
There are 23 rows in 1 pages for object \'spt_provider_types\'.
CHECKDB found 0 allocation errors and 0 consistency errors in database \'master\'.
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
如果指定 NO_INFOMSGS 选项,DBCC CHECKDB 将返回以下结果集(消息):
The command(s) completed successfully.
如果指定 ESTIMATEONLY 选项,DBCC CHECKDB 将返回以下结果集。
Estimated TEMPDB space needed for CHECKALLOC (KB)
-------------------------------------------------
13
(1 row(s) affected)
Estimated TEMPDB space needed for CHECKTABLES (KB)
--------------------------------------------------
57
(1 row(s) affected)
DBCC execution completed. If DBCC printed error messages, contact your system administrator.