My Oracle Support Banner

ORA-20000 and ORA-1400 : Unable To Analyze Table with DBMS_STATS (Doc ID 401917.1)

Last updated on NOVEMBER 25, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


Gathering statistics on an existing table fails with :

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.
SQL> exec dbms_stats.gather_table_stats(ownname=>'USER1',tabname=> 'T1',cascade=>FALSE);
ERROR at line 1:
ORA-20000: Unable to analyze TABLE "USER1"."T1", insufficient privileges or does not exist
ORA-06512: at "SYS.DBMS_STATS", line 13149
ORA-06512: at "SYS.DBMS_STATS", line 13179
ORA-06512: at line


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

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