Hourly AWR Snapshots Generates 'ORA-00001: unique constraint (SYS.WRH$_OPTIMIZER_ENV_PK)' After Applying Jan 2017 Bundle Patch (12.1.0.2.170117DBBP)

(Doc ID 2285382.1)

Last updated on MAY 09, 2018

Applies to:

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

Symptoms

 

Changes

The errors have started since applying the Jan 2017 DB Bundle Patch (12.1.0.2.170117DBBP):

<PATCH:24732088> DATABASE BUNDLE PATCH 12.1.0.2.170117

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