AWR Snapshots Failing with ORA-00001: unique constraint (SYS.WRH$_RULE_SET_PK) violated
(Doc ID 1668096.1)
Last updated on MAY 12, 2022
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
- Automatic AWR Snapshots are failing
- MMON trace (mmon) shows the Flush worker failed:
This will create duplicate stats in gv$rule_set which is based on the fixed table x$rule_set.
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 References
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.