home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IT03869 Status: Geschlossen

NEGATIVE COLCARD CAUSES OPTIMIZER TO CHOOSE A BAD PLAN, RESULTING IN POOR
QUERY PERFORMANCE.

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
Negative COLCARD value can cause OPTIMIZER to choose a bad plan 
resulting in poor query performance. This issue can occur if all 
of the following conditions are present: 
 
1. If COLCARD exceeds 2147483647. 
 
2. Almost all possible values between high2key and low2key 
appear in the table. 
 
3. The column is BIGINT type. 
 
4. The column is not the leading column of any index. 
 
5. The column is not unique.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to v10.1 FP5                                         * 
****************************************************************
Local-Fix:
Workaround for this issue is to manually update COLCARD in 
SYSSTAT.COLUMNS table. You can do this as follows: 
 
1. db2  "select count(distinct(<columnname>)) from 
<schema>.<tablename>" 
 
where: 
<columnname> is the name of the column with the negative COLCARD 
value. 
<schema> is the schema for the table. 
<tablename> is the name of the table. 
 
2. Update the value as follows: 
 
db2 "UPDATE SYSSTAT.COLUMNS SET COLCARD=<value> WHERE COLNAME = 
'<coulmnname>' AND TABNAME = '<tablename>' AND TABSCHEMA = 
'<schema>' " 
 
where: 
<value> is the result of the query from step 1.
Lösung
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
19.08.2014
14.07.2015
14.07.2015
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.5 FixList