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 IC81388 Status: Closed

FAILED ONLINE LOAD WITH INDEX REBUILD CAN LEAD TO MISMATCH BETWEEN TABLE
AND INDEX

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
If a LOAD operation fails in a small window due to limited 
resources when recreating the indexes of the table being loaded, 
a mismatch between the table and index might occur. You might 
hit this mismatch problem if you ran the LOAD command with the 
following options and have it failed when recreating one of the 
root pages of the index: 
- ALLOW READ ACCESS or ALLOW WRITE ACCESS 
- INDEXING MODE REBUILD or INDEXING MODE AUTOSELECT where 
REBUILD is selected by DB2 
 
If you hit this mismatch problem, you will see db2diag.log 
messages from the following functions and probes: 
FUNCTION: DB2 UDB, catalog services, sqlrlRecreateSingleIndex, 
probe:200 
FUNCTION: DB2 UDB, catalog services, sqlrlRecreateIndexObject, 
probe:10 
FUNCTION: DB2 UDB, catalog services, sqlrlRecreateIndexObject, 
probe:20 
FUNCTION: DB2 UDB, catalog services, sqlrlRecreateIndexes, 
probe:99 
FUNCTION: DB2 UDB, database utilities, sqluRecreateIndexObjects, 
probe:7042 
 
If the problem is hit, then at this point the index object 
descriptor will indicate an error while page zero of the index 
object will not.  As a result, the index is not maintained on 
undo, and the index can become out-of-sync with the table.  This 
could result in a number of different symptoms.  The following 
symptoms are two examples: 
 
1)  Row is not found in the table during data fetch from index. 
A message with the following text might appear in the 
db2diag.log file: 
 
FUNCTION: DB2 UDB, data management, sqldDataFetch, probe:4623 
MESSAGE : Row not found on data fetch from index! 
 
2)  Row is not found in the index during the update or delete of 
a row in the table.  A message with the following text might 
appear in the db2diag.log file: 
 
FUNCTION: DB2 UDB, index manager, procT2Leaf2Del, probe:7 
RETCODE : ZRC=0x8709002C=-2029453268=SQLI_NOKEY "Key not found 
within node" 
          DIA8541C The index key could not be found, the value 
was "".
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users                                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See error description.                                       * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 9.7.0.6.                                      * 
****************************************************************
Local Fix:
Recreate the affected indexes.
available fix packs:
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 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
The problem is first fixed in DB2 9.7.0.6.
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC81699 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
13.02.2012
05.06.2012
06.06.2012
Problem solved at the following versions (IBM BugInfos)
9.7.0.6
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.6 FixList