My Oracle Support Banner

"ORA-20005: object statistics are locked" Error When Executing gather_table_stats.sql Script (Doc ID 967050.1)

Last updated on MAY 04, 2021

Applies to:

Oracle Transportation Management - Version 5.5 to 6.3.2 [Release 5.5 to 6.3]
Information in this document applies to any platform.
***Checked for relevance on 19-APR-YYYY***


Symptoms


When running the OTM provided gather_table_stats.sql script to analyze the glogowner schema, the following error is occuring:

ERROR at line 1:
ORA-20005: object statistics are locked (stattype = ALL)
ORA-06512: at "SYS.DBMS_STATS", line 13159
ORA-06512: at "SYS.DBMS_STATS", line 13179
ORA-06512: at line 25

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.