Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC94323 Status: Geschlossen

LATCH PROTOCOL ISSUE IN ZIG ZAG JOIN EXECUTION LEADING TO DEADLATCH BETWEEN
SUBAGENTS

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
This problem is similar to apar IC91168. 
 
The problem will manifest itself as 2 subagents for one 
statement deadlatching themselves on 2 internal latches. 
This can easily be identified by running db2pd -latches which 
may show : 
 
db2pd -latches shows : 
 
Latches: 
Address            Holder     Waiter     Filename 
LOC        LatchType            HoldCount 
0x0700000030CD7BD8 20049      20563      sqlpsvpt.C 
207        SQLO_LT_SQLP_SAVEPOINTS__spLatch 1 
0x07000000201F0128 20563      20049 
/view/db2_v101fp2_aix64_s121127_special_30486/vbs/engn/include/s 
qldinlines.h 8574       SQLO_LT_SQLD_APP_CB__inDMSlatch 1 
 
The names of the latches :  SQLO_LT_SQLP_SAVEPOINTS__spLatch and 
SQLO_LT_SQLD_APP_CB__inDMSlatch are important here 
and you will see that the holder and waiter are reversed for the 
2 latches. 
 
Collecting stack information via db2pd -stack all will show 
these 2 subagents with the following stacks: 
 
Subagent 1 is in sqldRowInsert requesting the inDMS latch, 
holding the SavePoint latch. 
 
getConflictComplex 
getConflict 
sqldRowInsert 
sqlrinsr 
sqlriisr 
sqlriSectInvoke 
 
Subagent 2 is in sqldBeginIndexCreate  requesting the SavePoint 
latch, holding the inDMS latch. 
 
sqlpGetSPLatch 
sqlpSpReq 
sqldBeginIndexCreate 
sqlriCreateTempTableIndex 
sqlriCreateIndexedTempTable 
sqlritib2 
sqldDataFetch 
sqliScanLeaf2NoLocking 
sqlifnxt 
sqlirdk 
sqldIndexFetch 
sqldRowFetch 
sqlritaSimplePerm 
sqlriZZOpenDims 
sqlriZZInit 
sqlriZigZagJoin
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* all                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade the database server to V10.1 Fix Pack 4              * 
****************************************************************
Local-Fix:
To avoid this problem, the usage of the Zig Zag join , join 
strategy can be disabled by running : 
 
db2set DB2_REDUCED_OPTIMIZATION="ZZJN OFF"
verfügbare FixPacks:
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Lösung
This problem has first been fixed in V10.1 Fix Pack 4
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC98144 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
23.07.2013
26.06.2014
26.06.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.4 FixList