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

IN DPF ENVIRONMENT THE DB2 OPTIMIZER MIGHT PRODUCE A NON-OPTIMAL ACCESS
PLAN WHEN DB2_WORKLOAD=SAP

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
The DB2 optimizer might produce a non-optimal access plan for 
SQL statements that are eligible for star-join optimizations 
when the DB2_WORKLOAD=SAP aggregate registry variable is set in 
a partitioned database environment. 
 
When this problem is encountered, the optimizer will produce a 
non-optimal access plan consisting of a stack of hash join 
(HSJOIN) operators with multiple large dimension tables, located 
in a single database partition, that are broadcast to complete 
the joins.  You can gather an EXPLAIN of the affected queries to 
confirm this pattern of operations in the access plan.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users on DB2 V10.1 Fixpak 4 and below                        * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 v10.1 Fixpak 5                                * 
****************************************************************
Local Fix:
You can try any of the following options for the tables located 
in a single database partition: 
 
1) Redistribute the table across multiple partitions, located in 
the same partition group as the fact table, using the join 
columns as the distribution key.  This can also be accomplished 
as a temporary fix by creating a MQT as (select * from table) 
that is located in the same partition group as the fact table 
 
2) Create a replicated MQT of the table, locating the MQT in the 
same partition group as the fact table
Solution
First fixed in DB2 v10.1 Fixpak 5
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
20.06.2014
15.07.2015
15.07.2015
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.5 FixList