IBM Support

IT04085: WRONG RESULTS RECEIVED FOR A QUERY DUE TO INCORRECT INTERNAL COLUMN STRUCTURES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The wrong result set may be outputted if the Optimizer chooses
    an Explain Plan with the following characteristics:
    - HSJN has an NLJN in the Outer
    - The NLJN has another HSJN in it's Inner
    - The second, HSJN also has an NLJN in it's Outer:
    
                                                   HSJN( A)
                                                         |
                ---------------------------------------------------
               |
            NLJN(B)
          /           \
                     <   other Lolepops like TEMP, etc>
                       |
                    HSJN(C)
                       |
              ------------------
             |
           NLJN(D)
    
    In a rare case, internal Optimization could create wrong
    internal structures and the Column coming from HSJN(C) Payload
    could return the same value as the last value that was processed
    in HSJN(C).
    

Local fix

  • To avoid the problem, execute the following command and then
    recycle the instance:
    db2set DB2_TCG_DEFAULT_OPTIONS="set disable_pushdown on"
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 10.1.0.5.                             *
    ****************************************************************
    

Problem conclusion

  • The problem is first fixed in DB2 version 10.1.0.5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT04085

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-08-28

  • Closed date

    2015-07-10

  • Last modified date

    2015-07-10

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

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

    IT05898

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA10 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
10 July 2015