Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error gathering stats

160915Dec 11 2009 — edited Dec 16 2009
Hi all,

I have recently moved from EE Oracle 9.2.0.6 EE 11.1.0.6. I used to gather stats from my schema using DBMS_STATS package.

The following used to work in Oracle 9:

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

This starts to execute and seemingly gather stats till a certain point then it craps out with the following error:

ERROR at line 1:
ORA-00600: internal error code, arguments: [kkdcsaccc2], [], [], [], [], [],
[], []
ORA-06512: at "SYS.DBMS_STATS", line 17964
ORA-06512: at "SYS.DBMS_STATS", line 18450
ORA-06512: at "SYS.DBMS_STATS", line 18531
ORA-06512: at "SYS.DBMS_STATS", line 18487
ORA-06512: at line 1

Is there a script I can run to recompile something that may be broken or does an internal error indicate I need to open a TAR with Oracle support?

Thanks!!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 13 2010
Added on Dec 11 2009
19 comments
3,980 views