My Oracle Support Banner

ORA-600 [KKQSPROCESSDMAPDISJ:BADPREP] on Select With MView Involved (Doc ID 801273.1)

Last updated on OCTOBER 09, 2019

Applies to:

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

Symptoms

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product.  Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner. 

Select statement with mview involved fails with:
ORA-00600: internal error code, arguments: [kkqsProcessDMapDisj:badprep], [], [], [], [], [], [], []

The example below shows when the error can occur:



The ORA-600 error trace file shows:

*** 2007-08-01 13:50:38.188
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [kkqsProcessDMapDisj:badprep], [], [], [], [], [], [], []
Current SQL statement for this session:
select 0 as layer, count(*) as n
from t where cl2 not in (4)
order by 1,2
----- Call Stack Trace -----
ksedmp kgerinv kgeasnmierr kkqsProcessDMapDisj kkqsPickBestMMVPlan kkqsMMVGeneralContD
kkqsMultiMVContDrv kkqsedrv kkqsrqb kkqsrmav kkqsRewriteCurrentQ kkqscqb kkqsptq kkqsptqur
kkqsrdrv kkqdrv opiSem opiDeferredSem opitca kksFullTypeCheck rpiswu2 kksLoadChild
kxsGetRuntimeLock kksfbc kkspsc0 kksParseCursor opiosq0 kpooprx kpoal8 opiodr ttcpip opitsk
opiino opiodr opidrv sou2o opimai_real main start

Changes

 

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
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.