ORA-01502: Index is Unusable Although SKIP_UNUSABLE_INDEXES=TRUE
(Doc ID 1618766.1)
Last updated on NOVEMBER 07, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.1 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A 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.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |