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

INTERMITTENT SLOW PERFORMANCE FOR QUERIES ON COLUMN BASED TABLES WITH
COUNT(DISTINCT X )

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
You may find that when you run a query with with Count(Distinct 
x ) against a column based table that you get intermittent slow 
performance for the query. 
 
For example, for the query: 
 select count(distinct id) from test  where date > '2014-04-20'; 
run against a table with 130 million rows that normal takes 5 
seconds to run you will intermittently find that the query takes 
greater than 40 seconds.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All Column Based table users                                 * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 LUW 10.5 Fix Pack 5                           * 
****************************************************************
Local Fix:
Solution
First fixed in DB2 LUW 10.5 Fix Pack 5
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
30.10.2014
19.01.2016
19.01.2016
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.5.0.7 FixList