IBM Support

IT28402: DB2 MIGHT ABEND WHEN RUNNING QUERIES WITH UNION IN EXISTS/IN SUBQUERIES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 might abend when running a query with the following
    characteristics:
    
    1) There is an EXISTS or IN prediate
    2) There is UNION in the EXISTS or IN sub-query
    3) There is an MQT that can be matched with the UNION sub-query
    
    During the crash, the following stack can be found in the FODC
    dump:
    
    0x00007FFADC381EA2
    _Z26sqlnr_pullup_compensationsP9sqlnq_mchRiiii + 0x1857
    
            (/home/phoebe/sqllib/lib64/libdb2e.so.1)
    0x00007FFADC386F82
    _Z21sqlnr_comp_thru_unionP9sqlnq_qtbS0_P3locP9sqlnq_mchRi20sqlnq
    _ast_match_mode + 0x06a1
            (/home/phoebe/sqllib/lib64/libdb2e.so.1)
    0x00007FFADC37DBDC
    _Z27sqlnr_subsume_derived_matchP9sqlnq_qtbS0_P3locRP9sqlnq_mch20
    sqlnq_ast_match_modei + 0x1067
            (/home/phoebe/sqllib/lib64/libdb2e.so.1)
    0x00007FFADC37B6C0
    _Z19sqlnr_subsume_matchP9sqlnq_qtbS0_P3locRP9sqlnq_mch20sqlnq_as
    t_match_modei + 0x08c8
            (/home/phoebe/sqllib/lib64/libdb2e.so.1)
    0x00007FFADC373630
    _ZN16sqlnr_matchmaker12form_matchesEP9sqlnq_som + 0x0ab8
            (/home/phoebe/sqllib/lib64/libdb2e.so.1)
    0x00007FFADC6C3CAC
    _Z22sqlnr_compile_matviewsP9sqlnq_qur17sqlnq_qurElemListP14sqlnr
    _progress + 0x0b87
            (/home/phoebe/sqllib/lib64/libdb2e.so.1)
    0x00007FFADC33323F _Z9sqlnr_exeP9sqlnq_qur + 0x18c2
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to 11.1.4.7                                          *
    ****************************************************************
    

Problem conclusion

  • Upgrade to 11.1.4.7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT28402

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-11

  • Closed date

    2022-04-17

  • Last modified date

    2022-04-17

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 May 2022