'ORA-00001: unique constraint (SYS.WRH$_OPTIMIZER_ENV_PK)' Violated When AWR Snapshots Creation
(Doc ID 2282689.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
ORA-00001: unique constraint (SYS.WRH$_OPTIMIZER_ENV_PK) violated error happpend,
is occurring at the moment of AWR snapshots creation.
・AWR Snapshots creation is sucessful.
・From DBA_HIST_SNAP_ERROR/WRM$_SNAP_ERROR shows ERROR_NUMBER is 1:
After applying DATABASE BUNDLE PATCH: 126.96.36.199.170117 (24732088)
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!