ORA-01502: Index is Unusable Although SKIP_UNUSABLE_INDEXES=TRUE (Doc ID 1618766.1)

Last updated on MAY 30, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Unique index is created as create unique index instead of as consequence constraint unique.
Then make it unusable, alter session set skip_unusable_indexes=true
Insert a row into the table, it will fail with ORA-01502.
do the same actions on a usual index the row is inserted without problems.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms