免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2467 | 回复: 4
打印 上一主题 下一主题

求助:dbcc检测结果 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-08 19:00 |只看该作者 |倒序浏览
数据库为ASE12.5,操作系统redhat linux as3,近期运行dbcc checkdb(db)出现如下错误,请问如何解决。错误信息如下:
Number of data pages (1736) counted by DBCC differs from count in the data OAM (1735) for dbid 5 object 542621945.
Index i_u_tranctrl is not consistent; found 29493 leaf rows but 29482 data rows. Drop and recreate the index.
Index i_u_tranlog is not consistent; found 32995 leaf rows but 33019 data rows. Drop and recreate the index.
Number of data pages (8609) counted by DBCC differs from count in the data OAM (8599) for dbid 5 object 713050545.
Index i_u_sale_h1 is not consistent; found 128491 leaf rows but 128678 data rows. Drop and recreate the index.
Index i_u_sale_h_11 is not consistent; found 229 leaf rows but 240 data rows. Drop and recreate the index.
Index i_u_sale_h_13 is not consistent; found 118 leaf rows but 119 data rows. Drop and recreate the index.
Index i_u_sale_d_11 is not consistent; found 371 leaf rows but 402 data rows. Drop and recreate the index.
Index i_u_sale_h_16 is not consistent; found 111 leaf rows but 134 data rows. Drop and recreate the index.

论坛徽章:
0
2 [报告]
发表于 2008-07-08 20:39 |只看该作者
对这个表重新建索引就可以了

论坛徽章:
0
3 [报告]
发表于 2008-07-08 20:40 |只看该作者

回复 #2 hobbylu 的帖子

可以使用reorg rebuild 表名来修复吗?

论坛徽章:
1
2017金鸡报晓
日期:2017-01-10 15:19:56
4 [报告]
发表于 2008-07-09 08:41 |只看该作者
Drop and recreate the index

论坛徽章:
0
5 [报告]
发表于 2008-07-09 09:14 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP