DB2 - Problembeschreibung
Problem IC76910 | Status: Geschlossen |
QUERY_PREP_COST.AVERAGE_EXECUTION_TIME_MS IS NOT ACCURATE | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
The expression for QUERY_PREP_COST.AVERAGE_EXECUTION_TIME_MS is wrong. It is derived from these columns: BIGINT SYSIBMADM.SNAPDYN_SQL.TOTAL_EXEC_TIME (seconds) BIGINT SYSIBMADM.SNAPDYN_SQL.TOTAL_EXEC_TIME_MS (microseconds) BIGINT SYSIBMADM.SNAPDYN_SQL.NUM_EXECUTIONS AVERAGE_EXECUTION_TIME_MS should be the fractional part of the average execution time and should be in microseconds. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Any user of QUERY_PREP_COST admin view * **************************************************************** * PROBLEM DESCRIPTION: * * See above. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 9.7 FP5 or later * **************************************************************** | |
Local-Fix: | |
Calculate the fractional part of average execution time from the TOTAL_EXEC_TIME, TOTAL_EXEC_TIME_MS and NUM_EXECUTIONS columns of the SNAPDYN_SQL admin view. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
Lösung | |
The fix is to calculate the fractional part of the average execution time and express it in microseconds. The fix is included in DB2 v9.7 FP5. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 10.06.2011 16.12.2011 16.12.2011 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP5 | |
Problem behoben lt. FixList in der Version | |
9.7.0.5 |