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

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.1.0.7 [Release 10.2 to 11.1]
Information in this document applies to any platform.

Symptoms


o ORA-600 [kkdcsaccc2] occurs when collecting statistics

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

o Reproducible by running the SQL command on sql*plus in 10.2.0.4 and 11.1.0.7 which are the latest patchsets 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 SCOTT.TEST t
...;


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

CONSTRAINT "check_cons01" CHECK (
(col1 is null and col2 is null) or ( upper(to_char(substr(col3, col2-2, 3))) in ('AAA', 'BBB', 'CCC' ) ) ) ENABLE

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