ORA-12012 ORA-00060 ORA-06512 While Executing Automatic Statistics
(Doc ID 2334444.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Information in this document applies to any platform.
- Periodic errors "ORA-00060" deadlocks while the daily "auto optimizer stats collection" maintenance task is running to update statistics:
ORA-12012: error on auto execute of job "SYS"."ORA$AT_OS_OPT_SY_7589"
ORA-00060: deadlock detected while waiting for resource
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 148
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 7664
ORA-06512: at "SYS.DBMS_STATS", line 28795
ORA-06512: at "SYS.DBMS_STATS", line 31599
- The following recursive SQL may be involved in the deadlock
delete /*+ dynamic_sampling(4) */ from sys.wri$_optstat_histgrm_history where savtime < :1 and rownum <= NVL(:2, rownum)
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