ORA-00600 [qkswcWithQbcRefdByMain4] when Create MV "WITH" clause
(Doc ID 2232872.1)
Last updated on FEBRUARY 03, 2019
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 to 22.214.171.124 [Release 11.2 to 12.1]
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