ORA-01410 invalid ROWID某种情况

 

select count(*) from tablename 时报:ORA-01410: invalid ROWID,以前从没出现过,什么原因?

ORA-01410 invalid ROWID
Cause: A ROWID was entered incorrectly. ROWIDs must be entered as formatted hexadecimal strings
using only numbers and the characters A through F. A typical ROWID format is ?00001F8.0001.0006?
Action: Check the format, then enter the ROWID using the correct format. ROWID format: block ID,
row in block, file ID
解决方式:
应该是索引块出了问题,rebuild一下就好了,最近的这个有些不一样。
是sqlldr通过direct方式加载,在维护索引的时候,如果此时机器突然死机,重启之后就会报出这样的错误,rebuild一下就可以了。
原贴地址:
http://www.itpub.net/98369.html

(1). CATS来解决
(2). 把这张表export/import一
(3).
解决ORA-01410:Invalid ROWID的一般步骤
===========================================================

1.使用ANALYZE TABLE <table> VALIDATE STRUCTURE CASCADE验证表和索引中的rowid是否有效.

2.设置event = "1410 trace name errorstack level 3" 跟踪,分析跟踪文件.
"

My suggestion:

1)do the above steps,

1)possibly the index of this table needs rebuild

2)data file corruption: use dbverify
Example
To verify the integrity of the data01.dbf data file, starting with block 1 and
ending with block 500, you execute the following command:
UNIX
$ dbv /users/DB00/u03/data01.dbf start=1 end=500

This should be similar to "analyze table"

Hope this is helpful.
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值