ORA-12751: "Cpu Time Or Run Time Policy Violation" Reported Due to DBMS_FEATURE_AWR Running Slow on 12c
Last updated on AUGUST 25, 2017
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 12.1]
Information in this document applies to any platform.
- MMON slaves fail with ORA-12751: "Cpu Time Or Run Time Policy Violation". This may be reported in trace and the alert log.
- Upon tracing, we see that the following query run by DBMS_FEATURE_AWR is long running, the query also runs slowly in SQL*Plus:
- The elapsed time of the query depends on the retention period and the interval settings of the AWR snapshots. In this case, we had a 90 days retention with a 30 minutes interval, which led to over 4000 snapshots. If the retention is lower, the query is faster.
- Gathering statistics on the AWR tables did not help
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