问题现象:
在业务数据库中查询:SELECT a.NAME FROM SYSOBJECTS a WHERE a.NAME LIKE '%2015' AND a.XTYPE='u'
提示:消息 21,级别 21,状态 1,第 1 行
Warning: Fatal error 829 occurred at Jan 7 2016 4:58PM. Note the error and time, and contact your system administrator.
环境信息如下:
Windows server 2008 Sqlserver 2005 RTM x86
=============================================================================================
drop table LC0029999.TMP_ZWPZINFO07c1b9ff3d
消息 829,级别 21,状态 1,第 1 行
数据库 ID 8,页 (1:80740) 已标记为 RestorePending,可能表明磁盘已损坏。要从此状态恢复,请执行还原操作。
=============================================================================================
执行DBCC CHECKDB 发现如下错误:
消息 8967,级别 16,状态 216,第 2 行
An internal error occurred in DBCC which prevented further processing. Please contact Product Support.
DBCC results for 'sys.sysschobjs'.
消息 8928,级别 16,状态 1,第 2 行
Object ID 34, index ID 3, partition ID 844424932360192, alloc unit ID 72057594042449920 (type In-row data): Page (1:80740) could not be processed. See other errors for details.
消息 8939,级别 16,状态 98,第 2 行
Table error: Object ID 34, index ID 3, partition ID 844424932360192, alloc unit ID 72057594042449920 (type In-row data), page (1:80740). Test (IS_OFF (BUF_IOERR, pBUF->bstat)) failed. Values are 348260617 and -6.
DBCC results for 'LC0029999.ZWPZKOP'.
消息 8952,级别 16,状态 1,第 2 行
Table error: Table 'LC0029999.ZWPZKOP' (ID 269960038). Index row in index '^' (ID 2) does not match any data row. Possible extra or invalid keys for:
消息 8956,级别 16,状态 1,第 2 行
Index row (1:701643:6) with values (ZWPZK_DWBH = '010601' and ZWPZK_KJND = '2015' and ZWPZK_PZNM = '3174' and ZWPZK_ID = '59911c42-e01b-4cfa-9f34-936dbed3dd54') pointing to the data row identified by (ZWPZK_ID = '59911c42-e01b-4cfa-9f34-936dbed3dd54').
消息 8952,级别 16,状态 1,第 2 行
Table error: Table 'LC0029999.ZWPZKOP' (ID 269960038). Index row in index 'က'i' (ID 3) does not match any data row. Possible extra or invalid keys for:
消息 8956,级别 16,状态 1,第 2 行
Index row (1:413120:6) with values (SysUserID = 'feiyan' and ZWPZK_ID = '59911c42-e01b-4cfa-9f34-936dbed3dd54') pointing to the data row identified by (ZWPZK_ID = '59911c42-e01b-4cfa-9f34-936dbed3dd54').
DBCC results for 'LC0029999.ZWFZYS2015'.
消息 8951,级别 16,状态 1,第 2 行
Table error: Table 'LC0029999.ZWFZYS2015' (ID 466703835). Data row does not have a matching index row in index '^' (ID 2). Possible missing or invalid keys for the index row matching:
消息 8955,级别 16,状态 1,第 2 行
Data row (1:735306:26) identified by (HEAP RID = (1:735306:26)) with index values (ZWFZYS_DWBH = '010604' and ZWFZYS_KMBH = '1001' and ZWFZYS_BMBH = NULL and ZWFZYS_ZGBH = NULL and ZWFZYS_WLDWBH = NULL and ZWFZYS_XMBH = '00000w' and HEAP RID = (1:735306:26)).
DBCC results for 'LC0029999.GSPAudit1511'.
消息 8964,级别 16,状态 1,第 2 行
Table error: Object ID 609195718, index ID 1, partition ID 72057630440685568, alloc unit ID 72057638908985344 (type LOB data). The off-row data node at page (1:735224), slot 8, text ID 175683338240 is not referenced.
消息 8964,级别 16,状态 1,第 2 行
Table error: Object ID 609195718, index ID 1, partition ID 72057630440685568, alloc unit ID 72057638908985344 (type LOB data). The off-row data node at page (1:735227), slot 27, text ID 175695790080 is not referenced.
问题截图如下: