How to fix the Oracle error ORA-14064: Index with Unusable partition exists on unique/primary constraint key?

In this post, you’ll learn more about the Oracle ErrorORA-14064: Index with Unusable partition exists on unique/primary constraint key with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-14064: Index with Unusable partition exists on unique/primary constraint key

Reason for the Error ORA-14064: Index with Unusable partition exists on unique/primary constraint key

User attempted to add or enable a primary key/unique constraint on column(s) of a table on which there exists an index one or more partitions of which are marked Index Unusable.

How to fix the Error ORA-14064: Index with Unusable partition exists on unique/primary constraint key ?

You can fix this error in Oracle by following the below steps

Drop the existing index or rebuild unusable partitions it using ALTER INDEX REBUILD PARTITION

Tags :

Leave Your Comment