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 220.127.116.11 and later
Oracle 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.
- 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
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