Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to fix ORA-01502: index or partition of such index is in usable state?

orchidNov 9 2012 — edited Nov 14 2012
Greetings,

I received the ORA-01502: index or partition of such index is in un-usable state from one of our Oracle forms, and the problem was caused by using SQL Loader w/ the "DIRECT" load option. As a result of that, the system won't allow any updates including insert/delete to the problematic table w/ the index in un-usable state. I am trying to fix the problem but so far no luck:

When I tried to delete the duplicate rows from the table, I received the ORA-01502: index or partition of such index is in un-usable state error message;

When I tried to rebuild the index by using the following command:

ALTER INDEX index_name REBUILD

I received the "ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found

Any help, suggestions or advice on this would be greatly appreciated.

Thanks millions in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2012
Added on Nov 9 2012
18 comments
86,238 views