DB2 - Problem description
| Problem IC76187 | Status: Closed | 
INCORRECT VALUE FOR LOG READ / WRITE TIME IN DATABASE SNAPSHOT OUTPUT  | |
| product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2  | |
| Problem description: | |
get snapshot for database" command output, shows an incorrect  v 
alue of ananosecond time in LOG READ / WRITE TIME. 
                                                               F 
or example, 
                                                               L 
og write time (sec.ns)                    = 8909.000000004 
                                                               L 
og read time (sec.ns)                     = 0.000000004 
 
 
                                                               W 
hereas, the correct figures should be: 
                                                               L 
og write time (sec.ns)                    = 8909.935398642 
                                                               L 
og read time (sec.ns)                     = 0.021744433 
 
 
                                                               T 
he '000000004' after the decimal is dumped everytime. 
                                                               T 
he command line processor code is not parsing the log read and w 
rite time from the self describing data stream correctly. This m 
eans that we are trying to read the nanoseconds from the wrong o 
ffset in the snapshot buffer. | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All users on DB2 V9.7 FixPack 4 or below. * **************************************************************** * PROBLEM DESCRIPTION: * * get snapshot for database" command output, shows an * * incorrect value of nanosecond time in LOG READ / WRITE * * TIME. * * * * For example, * * * * * * Log write time (sec.ns) = 8909.000000004 * * * * * * Log read time (sec.ns) = 0.000000004 * * * * * * * * * * * * * * Whereas, the correct figures should be: * * * * * * Log write time (sec.ns) = 8909.935398642 * * * * * * Log read time (sec.ns) = 0.021744433 * * * * * * * * * * * * * * The '000000004' after the decimal is dumped everytime. * * * * * * The command line processor code is not parsing the log read * * and write time from the self describing data stream * * correctly. This means that we are trying to read the * * nanoseconds from the wrong offset in the snapshot buffer. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 V9.7 FixPack 5 or higher. * ****************************************************************  | |
| Local Fix: | |
| available fix packs: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows  | |
| Solution | |
Problem first fixed in DB2 V9.7 FixPack 5.  | |
| Workaround | |
not known / see Local fix  | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified :  | 04.05.2011 12.12.2011 12.12.2011  | 
| Problem solved at the following versions (IBM BugInfos) | |
9.7.FP5  | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 9.7.0.5 | 
 |