My Oracle Support Banner

Running ADSTATS.SQL In a RAC Environment Fails With ORA-20011 (Doc ID 2182497.1)

Last updated on APRIL 17, 2018

Applies to:

Oracle Applications Technology Stack - Version 12.1.3 to 12.2.5 [Release 12.1 to 12.2]
Information in this document applies to any platform.


On : version, Database

run SQL>@adstats.sql failed with Error:

ERROR at line 1:
ORA-20011: Approximate NDV failed: ORA-00600: internal error code, arguments:
[1350], [3], [23], [60], [AMERICAN], [0], [], [], [], [], [], []
ORA-06512: at "SYS.DBMS_STATS", line 36906
ORA-06512: at line 3
ORA-06512: at line 33

The issue can be reproduced with the following steps:
1. sqlplus / as sysdba
2. alter system enable restricted session;


 set RAC environment.


To view full details, 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 a vibrant support community of peers and Oracle experts.