DBMS_STATS: ORA-20000: Unable to analyze TABLE under XDB schema
(Doc ID 1315184.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Information in this document applies to any platform.
Checked for relevance on 28-May-2013
After granting the privilege 'analyze any table' to a user, it is not able to use DBMS_STATS to gather statistics for the XDB schema:
BEGIN dbms_stats.gather_table_stats('XDB','APP_ROLE_MEMBERSHIP'); END;
ERROR at line 1:
ORA-20000: Unable to analyze TABLE "XDB"."APP_ROLE_MEMBERSHIP", insufficient
privileges or does not exist
ORA-06512: at "SYS.DBMS_STATS", line 23143
ORA-06512: at "SYS.DBMS_STATS", line 23205
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