Dbms_stats.import_database Stats Fails With ORA-20000: Insufficient Privileges (Doc ID 1479378.1)

Last updated on AUGUST 01, 2012

Applies to:

Oracle Server - Enterprise Edition - Version 11.2.0.1 and later
Oracle Server - Personal Edition - Version 11.2.0.1.0 and later
Oracle Server - Standard Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Dbms_stats.import_database_stats fails with ORA-20000: Insufficient privileges to analyze an object within the database.

Errorstack will indicate following error:

 

Cause

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