Executing the DBMS_STATS Package Generates: "ORA-20002: Version of statistics table "USERNAME"."STAT_TAB_NAME" is too old. Please try upgrading it with dbms_stats.upgrade_stat_table"
(Doc ID 2004828.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
- Executing DBMS_STATS generates ORA-20002:
- If the database has been upgraded from an earlier version, DBMS_STATS.UPGRADE_STAT_TABLE works, as DBMS_STATS.UPGRADE_STAT_TABLE can be used only if the DB is upgraded to 12.1 from lower version and not for a newly installed 12c database.
- No invalid objects found in the DB.
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