DB2 - Problem description
Problem IC62680 | Status: Closed |
IN DB2 V9.1 AND V9.5, THE PERCENT_ROWS_SELECTED COLUMN IN SYSIBMADM.APPL_PERFORMANCE MAY RETURN VALUES THAT ARE TOO LARGE. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
In DB2 V9.1 and V9.5, the PERCENT_ROWS_SELECTED column in the SYSIBMADM.APPL_PERFORMANCE table may return values that are too large for the numeric datatype. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All Platform * **************************************************************** * PROBLEM DESCRIPTION: * * The PERCENT_ROWS_SELECTED column in the * * SYSIBMADM.APPL_PERFORMANCE table may return values that are * * too * * large for the numeric datatype. * **************************************************************** * RECOMMENDATION: * * Update to V9.7 FP1. * **************************************************************** | |
Local Fix: | |
A work around is to create your SQL to use the appl_performance view but do the aggregation per agentid on both rows_selected and rows_read for each node. Then do an 'IF' stmt in the SQL where if rows_read = 0 then percentage = 0 else (aggregate rows_select / aggregate rows_read) * 100 is the percentage. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows | |
Solution | |
DB2 V9.7 FP1 will contain the fix. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 21.08.2009 17.02.2010 17.02.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP1 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.1 |