ORA-00600 [qkswcWithQbcRefdByMain4] when Create MV "WITH" clause
(Doc ID 2232872.1)
Last updated on FEBRUARY 14, 2019
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 11.2 to 12.1]
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
1. Alert log shows the error:
ORA-00600: internal error code, arguments: [qkswcWithQbcRefdByMain4], , , , , , , , , , , 
2. Call stack similar to:
qkswcWithQbcRefdByMain <- qkswcProcessWithListRefs <- qkswcChkListtRefs <- qkswcDriver <- kkmdrvend <- kkmdrv <- opiSem <- opiprs <- kksParseChildCursor <- rpiswu2 <- kksLoadChild <- kxsGetRuntimeLock
3. Failing Statement is the definition of a materialized view containing a with statement:
create materialized view mv1 as
w1 as (select * from emp),
w2 as (select * from w1),
w3 as (select * from w1)
select * from w3;
Here with clause element w1 is referenced in with clause element w2, but w2 is not used in main query block.
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