Index XXX or partition of such index is in unusable state
2016-09-26 00:00
621 查看
摘要: Index XXX or partition of such index is in unusable state
问题: 删除oracl数据库中某张表的某条记录时报错: index "SYS.IX_target" or partition of such index is in unusable state 解决方案: --查询UNUSABLE状态的index select index_name, status, owner from dba_indexes where STATUS = 'UNUSABLE'; --组装重新编译index的sql语句 select 'alter index '||owner||'.'||index_name||' rebuild;' from dba_indexes where STATUS = 'UNUSABLE'; --执行组装好的语句 alter index SYS.IX_target rebuild;
问题: 删除oracl数据库中某张表的某条记录时报错: index "SYS.IX_target" or partition of such index is in unusable state 解决方案: --查询UNUSABLE状态的index select index_name, status, owner from dba_indexes where STATUS = 'UNUSABLE'; --组装重新编译index的sql语句 select 'alter index '||owner||'.'||index_name||' rebuild;' from dba_indexes where STATUS = 'UNUSABLE'; --执行组装好的语句 alter index SYS.IX_target rebuild;
相关文章推荐
- OGG-00665 (status = 1502-ORA-01502: index 'index' or partition of such index is in unusable state)
- 分析和解决 ORA-01502: index '某分区表索引名' or partition of such index is in unusable state
- ORA-01502: index 'INDEX_NAME' or partition of such index is in unusable state
- ORA-01502: index ‘index_name' or partition of such index is in unusable state
- ORA-14517: Subpartition of index "string.string" is in unusable state
- java.lang.NoSuchFieldError: No static field xxx of type I in class Lcom/XX/R$id; or its superclasses
- java.lang.NoSuchFieldError: No static field xxx of type I in class Lcom/XX/R$id; or its superclasses
- Android java.lang.NoSuchFieldError: No static field xxx of type I in class Lcom/XX/R$id; or its superclasses
- java.lang.NoSuchFieldError: No static field xxx of type I in class Lcom/XX/R$id; or its superclasses
- 二、Java.lang.NoSuchFieldError: No static field xxx of type I in class Lcom/XX/R$id; or
- One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot"
- Item 38: Model "has-a" or "is-implemented-in-terms-of" through composition(Effective C++)
- @synthesize of 'weak' property is only allowed in ARC or GC mode
- This generally means that another instance of this process was already running or is hung in the debugger
- This generally means that another instance of this process was already running or is hung in the deb
- 对象的当前状态使该操作无效 or SPListItem Update Operation is not valid due to the current state of the object
- Excel With ADO.NET:Cannot modify the design of table ‘xxx′. It is in a read-only database
- 在 12cR1 数据库中创建测试用户是报 ORA-65096 错误(2c: ORA-65049: creation of local user or role is not allowed in C)
- Question 8: In which of the following scenarios is a Copy Constructor called or invoked?
- 'ddlXXX' has a SelectedIndex which is invalid because it does not exist in the list of items