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

INCORRECT VALUES MIGHT BE INSERTED INTO A TABLE WHEN AN INCORRECT PLAN IS
CHOSEN FOR INSERT FROM SELECT

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
Incorrect values might be inserted into a table as a result of 
an incorrect plan being chosen for an INSERT from a SELECT. 
 
The problem only occurs when intrapartition parallelism is 
enabled via the INTRA_PARALLEL database manager configuration 
parameter. 
 
The problem is more likely to occur if all of the following 
statements are true: 
- The table contains very wide columns -- close to 8KB or 
larger. 
- The reference to the target table in the subselect is within a 
separate query block.  In the following example, t1 is the 
target table.  Note how it is accessed in a separate query block 
in the subselect:  insert into t1 select t2.* from t2, (select 
c00 from (select c00,  ROWNUMBER() OVER() RN FROM t1 where c00 
is not null) as t WHERE RN BETWEEN 30 AND 33) as TT where t2.c00 
<> TT.c00.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users                                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.5.0.4.                             * 
****************************************************************
Local Fix:
Disable intrapartition parallelism using the INTRA_PARALLEL 
database manager configuration parameter.
available fix packs:
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 for Linux, UNIX, and Windows

Solution
The problem is first fixed in DB2 version 10.5.0.4.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
12.05.2014
08.09.2014
08.04.2015
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.5.0.4 FixList