Ora-7445 [qerixGetKey] When Select From a Table And a Pivot-Table Based On a Function-Based Index (Doc ID 1109115.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms

Receive error ORA-07445: Exception aufgetreten: CORE Dump [qerixGetKey()+807] [ACCESS_VIOLATION] when running a SQL query with a UNPIVOT clause.

Sample failing  request :
SQL> SELECT cp.* FROM pivot_fb.cp, (SELECT TO_DATE(DATUM||UHRZEIT,'DD.MM.YYYYHH24:MI:SS') datum ,
TO_DATE(pressbeginn_datum||pressbeginn_uhrzeit,'DD.MM.YYYYHH24:MI:SS')
pressbeginn , profilnr, DECODE(SUBSTR(haspel, -1), 'A', 1, 'B', 2, 0) Haspel , 1/stranganzahl anzpress
 FROM pivot_fb.bp
UNPIVOT (profilnr FOR haspel IN (PROFILNUMMER_A,
PROFILNUMMER_B))
WHERE TO_DATE(DATUM||UHRZEIT,'DD.MM.YYYYHH24:MI:SS') BETWEEN
SYSDATE-4 AND SYSDATE) A
WHERE TO_DATE(cp.DATUM||cp.UHRZEIT,'DD.MM.YYYYHH24:MI:SS') = A.datum AND cp.strangnr = A.haspel; 

----- Call Stack Trace :
qerixGetKey <- qerixStart <- qertbStart <- qerflStart <- qerunpvtStart <- rwsstd <- rwsstd <- qerhjStart <- qerflStart <- qersoStart <- selexe0 <- opiexe <- kpoal8 <- opiodr <- ttcpip <- opitsk <- opiino <- opiodr <- opidrv <- sou2o <- opimai_real <- opimai <- OracleThreadStart

EXPLAIN PLAN does not fail
 
Error occurs in Oracle version 11.1.0.7.0
Same request runs fine in previous Oracle versions.

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