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

DB2LOOK MAY GENERATE THE SAME PREDICATE TO MIMIC STATISTICS FOR UNIQUE
INDEXES.

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
The db2look with -m option can generate the same predicates like 
as below against different indexes on the same table. 
 
WHERE COLNAMES = ' ' 
AND TABNAME = '<tabname>' AND TABSCHEMA = '<schema>'; 
 
COLNAMES is valid only if each column name is less than 30 bytes 
and if there are fewer than 16 columns in the index. Otherwise, 
the value can be blank. 
As the db2look uses COLNAMES to mimic index stats against 
primary key index and indexes for unique constraint. 
So db2look generates an invalid update statements to mimic index 
stats if a table has more than one indexes meet above 
conditions.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users who use db2look with -m option against unique indexes. * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Please upgrade to DB2 V10.1 FixPack 4 or later.              * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
This problem was first fixed in DB2 V10.1 FixPack 4.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
23.10.2013
02.06.2014
02.06.2014
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.4 FixList