IBM Support

IT34104: DB2 QUERY MAY HANG WITH REGISRTY SETTING INJ_DUMMY_PRD4JOIN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Db2 query may hang when the following conditions are met:
    
    -The query has inner join with OR predicate
    -At least one of the OR predicate references only one
    join/subgraph.
    

Local fix

  • Turn the registry off:
    db2set -im DB2_EXTENDED_OPTIMIZATION="INJ_DUMMY_PRD4JOIN OFF"
    
    or apply the above using optimizer guidelines as
    
    <query>
    
    /*
    <OPTGUIDELINES>
    <REGISTRY>
    <OPTION NAME='DB2_EXTENDED_OPTIMIZATION'
    VALUE='INJ_DUMMY_PRD4JOIN OFF'/>
    </REGISTRY>
    </OPTGUIDELINES>*/ ;
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 V11.1.4                                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * none                                                         *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT34104

  • 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

    2020-09-03

  • Closed date

    2021-03-15

  • Last modified date

    2021-03-15

  • 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