home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
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 IT06274 Status: Closed

HSJOIN ON SMP PARALLEL ENVIRONMENT MAY HANG INTERMITTENTLY

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
In an SMP PARALLELIZED setup, that is when the dbm cfg is 
configured with intra_parallel setting ON, and also the query 
degree is > 1, there is a potential to encounter a hang during 
hsjn processing. 
 
There is a set of well-defined properties of this hsjn for it to 
be considered eligible for this hang condition, specificially: 
- It is a right outer hsjn.  Be aware that the query compiler 
(query rewrite and/or optimizer) may convert left outer joins 
into right outer joins.  So the problem can still happen even if 
the original query text does not explicitly use a right outer 
join. 
- There is an "early out" condition, such as a fetch first n 
clause, OR, something that defines a maximum cardinality limit 
on the hsjn results such as a join against unique indexes or 
primary keys (only 1 value is guaranteed to be produced from the 
join), so the join may do an early exit once that first row is 
produced. 
- a certain timing between parallel subagents 
 
If the problem is encountered and stack traceback files are 
collected with 'db2pd -stack all' or db2fodc -hang for example, 
then you may see the following stacks, among others : 
 
-----------stack 1------------------ 
thread_wait + 0x98 
sqloWaitEDUWaitPost + 0x590 
IntrptWaitLock__19@51@319399@sqeAgentFP16SQLO_EDUWAITPOSTiPUiT2 
+ 0x638 
sqlrihsjn__FP8sqlrr_cb + 0xD4 
sqlrihsjn__FP8sqlrr_cb + 0x28 
sqlriunn__FP8sqlrr_cbP10sqlri_stob + 0x328 
sqlriset__FP8sqlrr_cb + 0x14 
sqlriSectInvoke__FP8sqlrr_cbP12sqlri_opparm + 0x94 
 
-----------stack 2------------------- 
thread_wait + 0x98 
sqloWaitEDUWaitPost + 0x590 
sqlrihsjn__FP8sqlrr_cb + 0x26C8 
sqlritaSimplePerm__FP8sqlrr_cb + 0x9C 
sqlriunn__FP8sqlrr_cbP10sqlri_stob + 0x328 
sqlriunn__FP8sqlrr_cbP10sqlri_stob + 0x328 
sqlriset__FP8sqlrr_cb + 0xD0 
sqlriSectInvoke__FP8sqlrr_cbP12sqlri_opparm + 0x94
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users on DB2 V10.1 Fixpak 4 and below                        * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 v10.1 Fixpak 5                                * 
****************************************************************
Local Fix:
The hung application can be forced off with db2 force 
application command.
Solution
First fixed in DB2 v10.1 Fixpak 5
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
31.12.2014
15.07.2015
15.07.2015
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.5 FixList