Instance Crashes With ORA-00600 [kclrwrite_16] When Attempting To Use MATERIALIZE Hint

(Doc ID 1606822.1)

Last updated on MARCH 27, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.
Standby RAC database opened READ ONLY, temp table transformation will
attempt to perform temp writes during parallel execution in the
remote instance.

This will ultimately lead the DBWR raising a kclrwrite_16 assert
as the database is open read only.

Symptoms

SQL> connect scott/tiger
Connected.
SQL> with myemp as (select /*+ MATERIALIZE PARALLEL(e,3) */ * from emp e)
select /*+ PARALLEL(m, 3) */ empno from myemp m;  2  
with myemp as (select /*+ MATERIALIZE PARALLEL(e,3) */ * from emp e)
*
ERROR at line 1:
ORA-16000: database open for read-only access


SQL> with myemp as (select /*+ MATERIALIZE PARALLEL(e,3) */ * from emp e)
select /*+ PARALLEL(m, 3) */ empno from myemp m;  2  
with myemp as (select /*+ MATERIALIZE PARALLEL(e,3) */ * from emp e)
*
ERROR at line 1:
ORA-12805: parallel query server died unexpectedly

Remote instance DBW will get a kcl assert as it is asked to write
out a temp segment header from the temp table transformation:

Wed Feb 06 08:47:47 2013
Errors in file
/ade/b/3991798752/oracle/log/diag/rdbms/x112031/x1120312/trace/x1120312_dbw0_2
9861.trc  (incident=1737):
ORA-00600: internal error code, arguments: [kclrwrite_16], [], [], [], [],
[], [], [], [], [], [], []
Incident details in:
/ade/b/3991798752/oracle/log/diag/rdbms/x112031/x1120312/incident/incdir_1737/
x1120312_dbw0_29861_i1737.trc


Call stack

............

dbgexExplicitEndInc [diag_dde]
dbgeEndDDEInvocationImpl [diag_dde]
dbgeEndDDEInvocation [diag_dde]
kclrwrite []<-- Signaling
kcbbxsv [CACHE_RCV]
kcbb_coalesce [CACHE_RCV]
kcbbwlru [CACHE_RCV]
kcbbdrv [CACHE_RCV]
ksbabs [background_proc]
ksbrdp [background_proc]
opirip []
opidrv []
sou2o []
opimai_real []
ssthrdmain []
main []
_libc_start_main []
_start []

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms