IC88092: DB2 MIGHT ABEND WHILE COMPILING QUERY WITH MULTIPLE OUTER JOINS AND IS NULL PREDICATE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Under rare scenarios, DB2 might abend if the following
    conditions are true:
    
    1. The query has atleast two left or right joins.
    2. There are one or more IS NULL predicates in the where clause
    3. The IS NULL predicate references table from the null
    producing side of the left join
    4. The left join above has more than one join predicate defined
    in the on-clause
    5. One of more predicates references columns from the null
    producing side of the second left join.
    
    <Stack Trace>
    
    0        ossDumpStackTraceEx
    1        OSSTrapFile::dumpEx
    2        sqlo_trce
    3        sqloEDUCodeTrapHandler
    4        __pthread_mutex_cond_lock
    5        sqlno_project_end_prd
    6        sqlno_call_sf
    7        sqlno_each_prd
    8        sqlno_call_sf
    9        sqlno_each_opr
    10       sqlno_call_sf
    11       sqlno_each_qur
    12       sqlno_call_sf
    13       sqlno_scan_qgm
    14       sqlno_dpd
    15       sqlno_prep_phase
    16       sqlno_exe
    17       sqlnn_cmpl
    18       sqlnn_cmpl
    19       sqlra_compile_var
    20       sqlra_find_var
    21       sqlra_get_var
    22       sqlrr_prepare
    23       sqljs_ddm_prpsqlstt
    24       sqljsParseRdbAccessed
    25       sqljsParse
    26       sqljsSqlam
    27       sqljsDriveRequests
    28       sqljsDrdaAsInnerDriver
    29       sqljsDrdaAsDriver
    30       sqeAgent::RunEDU
    31       sqzEDUObj::EDUDriver
    32       sqlzRunEDU
    33       sqloEDUEntry
    34       pthread_create@@GLIBC_2.2.5
    35       clone
    

Local fix

  • db2set DB2COMPOPT=327685,268435456 and restart instance
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix pack 8.                       *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.7 Fix pack 8.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC88092

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-08

  • Closed date

    2013-04-01

  • Last modified date

    2013-04-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IC88127 IC88128

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

9.7

Reference #:

IC88092

Modified date:

2013-04-01

Translate my page

Machine Translation

Content navigation