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"
Last updated on OCTOBER 07, 2017
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms