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

DB2 MIGHT NOT CREATE IMPLIED PREDICATES ON GENERATED COLUMNS IN ORA
COMPATIBILITY MODE

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Description: 
 
Under rare scenarios DB2 might not create implied predicates on 
generated columns leading to unoptimized access plans if the 
following conditions are true: 
1. The DB is created with DB2_COMPATIBILITY_VECTOR=ORA 
2. The query contains one or more partitioned tables 
3. The partitioned table is partitioned on one or more generated 
columns 
4. The generated expression contains mathematical operations 
such as DIV, MULT 
5. The columns referenced in the generated expression are used 
in a local predicate 
 
example: 
 
create table test_sales (a int, b int generated always as (a / 
5)) partition by range(b) (starting from (0) ending at (1000) 
every (50)); 
select * from test_sales where a > 500; 
An implied predicate: b> 100 can be generated for this scenario
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All DB2 9.7 users                                            * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See problem description above.                               * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix Pack 10 or higher.            * 
****************************************************************
Local Fix:
Solution
First fixed in DB2 Version 9.7 Fix Pack 10.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
11.07.2014
22.10.2014
22.10.2014
Problem solved at the following versions (IBM BugInfos)
9.7.FP10
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.10 FixList