Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC69288 Status: Closed

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

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem 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
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                    * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Problem was first fixed in Version 9.7 Fix Pack 3
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
16.06.2010
27.09.2010
27.09.2010
Problem solved at the following versions (IBM BugInfos)
9.7.FP3
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.3 FixList
9.7.0.3 FixList