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 10.2.0.1 to 11.1.0.7 [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.
Symptoms
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 10.2.0.4 and 11.1.0.7 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
...;
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
(<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
Cause
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
Symptoms |
Cause |
Solution |
References |