IBM Support

IC69288: HANG in SMP when performing HASH JOIN. Query Can not be forced off.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Application can not be forced off because there is deadlatch
    between its subagent processes which are performing hash join.
    
    The deadlatch can be like the following:
    
    process id: 7024680
    Waiting on latch type: (SQLO_LT_sqlriSectInit_C__dynamic_latch)
    - Address: (7800011455a0e80)  , Line: 11023, File:
    sqlri_hsjn_util.C
    Holding Latch type:     (SQLO_LT_sqlri_hsjnLatch__ioLatch)
       - Address: (780000cb6ae1348)   , Line: 9817, File:
    sqlri_hsjn_util.C
    
    process id: 7594048
    Waiting on latch type: (SQLO_LT_sqlri_hsjnLatch__ioLatch)
      - Address: (780000cb6ae10c8)  , Line: 9817, File:
    sqlri_hsjn_util.C
    Holding Latch type:     (SQLO_LT_sqlriSectInit_C__dynamic_latch)
    - Address: (7800011455a0e00) , Line: 9603, File:
    sqlri_hsjn_util.C
    Holding Latch type:     (SQLO_LT_sqlri_hsjnLatch__partLatch)
      - Address: (780000cb6ae10c0)  , Line: 9804, File:
    sqlri_hsjn_util.C
    
    process id: 2601118
    Waiting on latch type: (SQLO_LT_sqlriSectInit_C__dynamic_latch)
    - Address: (7800011455a0e80)  , Line: 11023, File:
    sqlri_hsjn_util.C
    Holding Latch type:     (SQLO_LT_sqlri_hsjnLatch__ioLatch)
       - Address: (780000cb6ae10c8)   , Line: 9817, File:
    sqlri_hsjn_util.C
    
    Process id 7594048 is holding the
    SQLO_LT_sqlriSectInit_C__dynamic_latch, that process 7024680 is
    waiting for, but this info is not properly dumped in trap file.
    The stack of these processes are like:
    
    
    Stack for process id: 7594048:
    
    
    sqloXlatchConflict
    sqloXlatchAIX
    sqloXlatchConflict
    sqloXlatchAIX
    sqlri_hsjnGetTupleBlock
    sqlri_hsjnPartitionFull
    sqlri_hsjnNewTuple
    sqlrihsjn
    sqlriSectInvoke
    
    Stack for process id: 7024680:
    
    
    sqloXlatchConflict
    sqloXlatchAIX
    sqlri_hsjnFreeTupleBlockList
    sqlri_hsjnFlushBlocks
    sqlri_hsjnPartitionFull
    sqlri_hsjnNewTuple
    sqlrihsjn
    sqlriSectInvoke
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 LUW on all supported platforms                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * HANG in SMP when performing HASH JOIN. Query Can not         *
    * beforced off.                                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 LUW Version 9.7 Fix Pack 3                    *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.7 Fix Pack 3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC69288

  • 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

    2010-06-16

  • Closed date

    2010-09-27

  • Last modified date

    2010-09-27

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

    IC69193

  • 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

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
27 September 2010