今日数据库报了ORA-01502: index 'ATOS.PK_T_FAULTMANAGEMENT' or partition of such index is in unusable state
错误。
按网上方法,执行 alter index idx_t rebuild;
发现在执行select *时候,数据查询不出来了。
后来请教了专家,rebuild是数据逻辑没有损坏情况下是可以的,我们的数据以前有可能发生断电,所以只能通过先drop index,再create index的方法。
最后
以上就是热心纸鹤最近收集整理的关于partition of such index is in unusable state的全部内容,更多相关partition内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复