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

WHEN INTRA_PARALLEL ENABLED, QUERY WITH OLAP FUNCTION PARTITIONED BY A
SCALAR RESULT MIGHT RETURN INCORRECT RESULTS

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
An incorrect result set might be produced when INTRA_PARALLEL is 
enabled for a SQL statement if all of the following conditions 
are met: 
 
(a) the statement contains an OLAP function with a PARTITION BY 
and ORDER BY clause 
 
(b) the partition by clause contains all columns that derive 
from a scalar result that is guaranteed to return at most one 
value, such as the "select max(a) ma from t1" in the following 
example 
 
select rownumber() over (partition by tmp.ma order by t2.b) from 
(select max(a) ma from t1) tmp(ma), t2; 
 
(c) the query degree of the access plan is > 1
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 9.7 and Fix Pack 11                   * 
****************************************************************
Local Fix:
To produce correct results, you can use the CURRENT DEGREE 
special register to set the degree of parallelism to 1.
Solution
Problem was first fixed in DB2 version 9.7 and Fix Pack 11
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
11.12.2014
09.10.2015
09.10.2015
Problem solved at the following versions (IBM BugInfos)
9.7.
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.11 FixList