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

REORG ON A TABLE WITH FOREIGN KEY CONSTRAINT CAN RESULT IN SQL ON PARENT
TABLE GETTING LOCK TIMEOUT

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
DB2 will require a lock on a seemingly unrelated table when 
performing a select. This can cause unexpected lock timeouts 
when a reorg is active. 
 
The following scenario demonstrates the problem. 
 
Consider 3 tables, A, B and C 
Table A has a foreign key on table B. 
 
A reorg of table A is started. 
A select similar to the following is executed : 
 
select 
... 
from B left outer join 
        C on 
... 
 
In order to compile this query, DB2 will also evaluate 
constraints that may exist on the tables. 
As there is a foreign key constraint from A to B, table A will 
be locked but the lock mode is incompatible with the current 
lock due to the reorg. 
 
The fix for this APAR will relax the locking required so that 
table A will no longer need to be locked during query 
compilation
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All Platforms                                                * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 LUW v9.7 Fixpack 10 or Later.                 * 
****************************************************************
Local-Fix:
Lösung
First Fixed in DB2 LUW v9.7 Fixpack 10.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
06.05.2014
29.12.2014
29.12.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP10
Problem behoben lt. FixList in der Version
9.7.0.10 FixList