ORA-01452: Cannot CREATE UNIQUE INDEX; Duplicate Keys Found (Doc ID 1683393.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.
***Checked for relevance on 01-Jul-2016***

Symptoms

ISSUE
-----
 There was an issue with an index identified.
 Customer was advised to rebuild the index.
 During rebuild operation the following error was reported:
 
  SQL> alter index SYS.WRH$_SQL_PLAN_PK rebuild online;
  alter index SYS.WRH$_SQL_PLAN_PK rebuild online
  *
  ERROR at line 1:
  ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
  

Changes

 None .

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