IBM Support

IT25185: DB2 MAY ABEND WHILE COMPILING A QUERY CONTAINING REDUNDANT PREDICATE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Db2 may abend while compiling a query containing redundant
    predicates.
    
    An example stack trace is seen below.
    
    ...
    sqlo_trce
    sqloEDUCodeTrapHandler
    _restore_rt
    sqlnr_qun_local_ppd
    sqlnr_local_magic_detail
    sqlnr_localmagic_action
    sqlnr_comp
    sqlnr_seq
    sqlnr_rcc
    sqlnr_magic_detail_action
    sqlnr_comp
    sqlnr_seq
    sqlnr_rcc
    sqlnr_endqtb_action
    sqlnr_comp
    sqlnr_seq
    sqlnr_rcc
    sqlnr_start_action
    sqlnr_comp
    sqlnr_seq
    sqlnr_rcc
    sqlnr_exe
    sqlnn_cmpl
    ...
    
    Here is an example stack trace from Windows:
    
    ...
    sqlnr_cse_trans_pid
    sqlnr_magic_detail_action
    sqlnr_max_card_action
    sqlnrGlobInfo::initialize
    sqlnr_seq
    sqlnr_max_card_action
    sqlnrGlobInfo::initialize
    sqlnr_seq
    sqlnr_startqtb_cond
    sqlnrGlobInfo::initialize
    sqlnr_seq
    sqlnr_select_unique
    sqlnrGlobInfo::initialize
    sqlnr_seq
    sqlnr_exe
    sqlnn_cmpl
    ...
    

Local fix

  • Remove any redundant predicates from the query.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * See Local Fix or upgrade to DB2 version 11.1.4.4             *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT25185

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A50

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-05-29

  • Closed date

    2020-08-14

  • Last modified date

    2020-08-14

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

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

    IT25229

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.5","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 August 2020