DBMS_STATS.GATHER_SCHEMA_STATS got "'DBMS_STATS.AUTO_SAMPLE_SIZE' must be declared"
(Doc ID 2804534.1)
Last updated on SEPTEMBER 10, 2021
Applies to:Oracle E-Business Suite Technology Stack - Version 12.1.3 and later
Information in this document applies to any platform.
On : 12.1.3 version, Database for Application Technology
While trying to run DBMS_STATS.GATHER_SCHEMA_STATS the below error is observed:
ERROR at line 6:
ORA-06550: line 6, column 7:
PLS-00201: identifier 'DBMS_STATS.AUTO_SAMPLE_SIZE' must be declared
ORA-06550: line 2, column 4:
PL/SQL: Statement ignored
The steps to reproduce the issue is as below:
1．sqlplus as sysdba
2. Run the following script
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