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

DB2 MIGHT TRAP WHILE COMPILING AN SQL STATEMENT ELIGIBLE FOR STAR JOIN

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
You might encounter a trap when a compiling an SQL statement 
that satisfies the following conditions: 
 
1.  the statement qualifies the starjoin eligibility criteria, 
and 
2.  one or more tables participating in the starjoin apply 
subquery 
predicates, and 
3.  an optimization guideline is applied to the statement 
 
In a trap file, you might see the stack traces as following: 
 
... 
sqlno_crule_nljn 
sqlno_crule_join_choices 
sqlno_crule_join_order 
sqlno_crule_join_root 
sqlno_crule_join 
sqlno_starjn 
... 
 
Following is an example of a query that satisfies conditions 1 
and 2, assuming F is identified as the fact table of the star 
join, and D1 and D2 are the dimension tables: 
 
select F.D1, F.D2, F.D3, F.D4, M, substr(D1.C,1,4) 
from F, D1, D2 
where F.D1=D1.key AND D1.attr<80 AND D1.keya<40 AND 
      F.D2=D2.key AND D2.attr<80 
AND D1.Y not in (select Y from D3 where Y > 10 order by Y);
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 10.1 fixpack 3.                       * 
****************************************************************
Local Fix:
Avoid applying the optimization guideline.
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
First fixed in DB2 Version 10.1 fixpack 3.
Workaround
See Local Fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC95387 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
26.05.2013
13.10.2013
13.10.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