My Oracle Support Banner

ORA-600 [kkdcsaccc2] During DBMS_STATS.GATHER_SCHEMA_STATS (Doc ID 986349.1)

Last updated on FEBRUARY 19, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2 to 11.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


o ORA-600 [kkdcsaccc2] occurs when collecting statistics

SQL> exec dbms_stats.gather_schema_stats('<Owner>', NULL, FALSE, 'FOR ALL COLUMNS', NULL, 'DEFAULT', TRUE);

o Reproducible by running the SQL command on sql*plus in and which are the latest patch-sets as of January 2010.

select substrb(dump(val,16,0,32),1,120) ep, cnt
from (select /*+ no_parallel(t) no_parallel_index(t) dbms_stats cursor_sharing_exact use_weak_name_resl dynamic_sampling(0) no_monitoring */....
from <Owner>.<Table name>t

o The table has a Check constraint using an IN-list operator

CONSTRAINT "<Constraint Name>" CHECK (
(<Column 1> is null and <Column 2> is null) or ( upper(to_char(substr(<Column 3>, <Column 2>-2, 3))) in ('AAA', 'BBB', 'CCC' ) ) ) ENABLE


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.