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

原因:

  这个错误一般是因为索引状态为UNUSABLE引起的。你可以通过下面SQL,查看索引的状态

解决办法:

SELECT OWNER, INDEX_NAME,STATUS  FROM DBA_INDEXES WHERE INDEX_NAME='INDEX_NAME';
SELECT OWNER, INDEX_NAME,STATUS  FROM ALL_INDEXES WHERE INDEX_NAME='INDEX_NAME';
SELECT  INDEX_NAME,STATUS  FROM USER_INDEXES WHERE INDEX_NAME='INDEX_NAME';

重建索引即可

ALTER INDEX INDEX_NAME REBUILD
时间: 2024-09-20 08:09:05

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-01502: index 'index_name' or partition of such index is in unusable state ORA-06512: at line 168 错误原因: 这个错误一般是因为索引状态为UNUSABLE引起的.你可以通过下面SQL,查看索引的状态 SELECT OWNER, INDEX_NAME,STATUS FROM DBA_INDEXES WHERE INDEX_NAME='IND

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-06512: at line 168 错误原因: 这个错误一般是因为索引状态为UNUSABLE引起的.你可以通过下面SQL,查看索引的状态 SELECT OWNER, INDEX_NAME,STATUS FROM DBA_INDEXES WHERE INDEX_NAME='IND

javascript-jquery如何设置一个动态创建的 $('#').append('')中的ID?并利用它

问题描述 jquery如何设置一个动态创建的 $('#').append('')中的ID?并利用它 就比如像这样的: <script type="text/javascript"> var number=0; function next(){ $('#showdata').append('<input class="number_showdata" id="showdataid'+number+'" type="tex

media-程序编译出错 missing &amp;amp;#39;;&amp;amp;#39; before identifier &amp;amp;#39;m_ActiveMovie&amp;amp;#39;

问题描述 程序编译出错 missing ';' before identifier 'm_ActiveMovie' 错误: c:usersadministrator.win-42esb6vovundesktoplilymplilympdlg.h(40) : error C2146: syntax error : missing ';' before identifier 'm_ActiveMovie' c:usersadministrator.win-42esb6vovundesktoplily

ajax-关于callback(eval(&amp;amp;#39;(&amp;amp;#39;+xhr.responseText+&amp;amp;#39;)&amp;amp;#39;));IE报错的问题

问题描述 关于callback(eval('('+xhr.responseText+')'));IE报错的问题 //这是index.js的文件 (function() { var li = function(id) { return document.getElementById(id); }; li.init = function() {// li下的init方法 // 创建一个ajax对象并返回 try { return new XMLHttpRequest(); } catch (e) {

Unknown column &amp;#39;*&amp;#39; in &amp;#39;field list&amp;#39; 异常解决

在使用Hibernate做持久化的时候,为实体类定义一个与数据表无关的属性. 出现异常如下: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'user0_.authority' in 'field list' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.Native

ERROR 1045 (28000): Access denied for user &amp;#39;root&amp;#39;@&amp;#39;localhost&amp;#39; (using password: YES)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) root@mysql ~]# mysql -p -u root Enter password:  ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) ERROR 1045 (28000): Access denied

[java] javax.el.PropertyNotFoundException: Property &amp;#39;id&amp;#39; not found on type bean.Student

问题提出: 在使用MyEclipse开发Java Web时,调用DAO和Java Bean出现了如下错误: 严重: Servlet.service() for servlet [jsp] in context with path [/JDBCbyDao] threw exception [An exception occurred processing JSP page /student.jsp at line 3734: 35: <c:forEach items="${ studentL

Error using subsindex Function &amp;#39;subsindex&amp;#39; is not defined for values of class &amp;#39;struct&amp;#39;.

1 clc; clear all; close all; 2 image_path = '/media/wangxiao/Elements/image_segment_backup/'; 3 savePath = '/media/wangxiao/Seagate/wangxiao/additional_data/'; 4 5 threshold = 5000; 6 7 first_files = dir(image_path); 8 9 for i = 3:length(first_files)