Alert Log Shows Error 'ORA-12012: Error On Auto Execute Of Job' and 'ORA-20005: object statistics are locked (stattype = ALL)'
(Doc ID 2422488.1)
Last updated on NOVEMBER 26, 2020
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
- Alert during auto optimizer stats collection shows following errors:
ORA-12012: error on auto execute of job "SYS"."ST$AUTO5548_312_B49"
ORA-20005: object statistics are locked (stattype = ALL)
ORA-06512: at "SYS.DBMS_STATS", line 34850
ORA-06512: at line 1
Cause
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 |
Cause |
Solution |
References |