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

INCORRECT RESULTS MIGHT BE RETURNED FOR THE SELECT QUERY INVOLVING THE
AGGREGATION FUNCTION WITH THE OLAP WINDOW FUNCTION

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
The problem occurs when the aggregation function is used with 
the OLAP Window function.  The following is an example of the 
aggregation function used with the OLAP Window function: 
(AGGREGATION_FUNCTION (columnX) OVER (ORDER BY .... ROWS 
UNBOUNDED PRECEDING) 
 
This problem might also occur with any other OVER 
window-partition-clause. 
 
This problem only occurs in DB2 Version 10.1 and only when 
Partial Early Aggregation is chosen in the plan.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users                                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.1.0.3.                             * 
****************************************************************
Local Fix:
Use the DB2_REDUCED_OPTIMIZATION=NO_PEA registry variable to 
pick plans that avoid the issue.
available fix packs:
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

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