ITPub博客

首页 > 数据库 > Oracle > ORA-20000: index "xxxx" or partition of such index is in unusable state

ORA-20000: index "xxxx" or partition of such index is in unusable state

原创 Oracle 作者:huzhichengforce 时间:2014-06-14 17:12:26 0 删除 编辑
今天接到业务员反映错误:
ORA-20000: index "ADAPTER"."PK_ADAPTER_ANALISLYZERSCHEDULE"  or partition of such index is in unusable state
查看索引项目
select * from  dba_indexes 
但是里面的status 却是 VALID
不解。。。。
先处理问题吧,
思路索引错误,那就删除索引重建。
错误报出的索引是主键,所以删除主键
alter table table_name drop primary key;
然后重建索引。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26764973/viewspace-1183106/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-08-19

  • 博文量
    202
  • 访问量
    518270