首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >修复DBCC CHECKDB错误

修复DBCC CHECKDB错误
EN

Stack Overflow用户
提问于 2016-08-19 13:34:57
回答 1查看 668关注 0票数 0

我运行了一个CHECKDB,它显示了以下错误

代码语言:javascript
复制
Msg 8928, Level 16, State 1, Line 1
Object ID 302676176, index ID 1, partition ID 72057594076135424, alloc unit ID 72057594090225664 (type In-row data): Page (1:262631) could not be processed.  See other errors for details.
Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 302676176, index ID 1, partition ID 72057594076135424, alloc unit ID 72057594090225664 (type In-row data). Page (1:262631) was not seen in the scan although its parent (1:263401) and previous (1:262630) refer to it. Check any previous errors.
Msg 8944, Level 16, State 13, Line 1
Table error: Object ID 302676176, index ID 1, partition ID 72057594076135424, alloc unit ID 72057594090225664 (type In-row data), page (1:262631), row 95. Test (ColumnOffsets <= (nextRec - pRec)) failed. Values are 1730 and 45.
Msg 8944, Level 16, State 13, Line 1
Table error: Object ID 302676176, index ID 1, partition ID 72057594076135424, alloc unit ID 72057594090225664 (type In-row data), page (1:262631), row 95. Test (ColumnOffsets <= (nextRec - pRec)) failed. Values are 1730 and 45.
Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 302676176, index ID 1, partition ID 72057594076135424, alloc unit ID 72057594090225664 (type In-row data). Page (1:262640) is missing a reference from previous page (1:262631). Possible chain linkage problem.
Msg 8928, Level 16, State 1, Line 1
Object ID 302676176, index ID 1, partition ID 72057594076135424, alloc unit ID 72057594090225664 (type In-row data): Page (1:3143601) could not be processed.  See other errors for details.
Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 302676176, index ID 1, partition ID 72057594076135424, alloc unit ID 72057594090225664 (type In-row data). Page (1:3143601) was not seen in the scan although its parent (1:3143681) and previous (1:3143600) refer to it. Check any previous errors.
Msg 8944, Level 16, State 13, Line 1

如何修复表中的一致性错误?

EN

回答 1

Stack Overflow用户

发布于 2017-03-01 12:50:05

对我来说,这更多的是索引一致性问题,尽管您可以尝试删除并重新创建对象302676176的索引ID=1 (select object_name(302676176)将为您提供表名)。

第二个选项是DBCC CHECKTABLE (,REPAIR_REBUILD)

第三个也是最后一个选项是DBCC CHECKTABLE (,REPAIR_ALLOW_DATA_LOSS)。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39031757

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档