DB2 - Problem description
| Problem IC76597 | Status: Closed |
WLM - UOW_TOTAL_TIME_TOP IS NOT RESET | |
| product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
| Problem description: | |
UOW_TOTAL_TIME_TOP value does not get reset.
Example:
$ db2 "select substr(service_superclass_name,1,25),
substr(service_subclass_name,1,25), uow_total_time_top,
last_reset from table(wlm_get_service_subclass_stats_v97('', '',
-2)) t"
1 2
UOW_TOTAL_TIME_TOP LAST_RESET
------------------------- -------------------------
-------------------- --------------------------
SYSDEFAULTSYSTEMCLASS SYSDEFAULTSUBCLASS
- 2011-05-24-13.28.31.478023
SYSDEFAULTMAINTENANCECLAS SYSDEFAULTSUBCLASS
- 2011-05-24-13.28.31.478075
SYSDEFAULTUSERCLASS SYSDEFAULTSUBCLASS
- 2011-05-24-13.28.31.478126
$ db2 "alter service class sysdefaultsubclass under
sysdefaultuserclass collect aggregate activity data base"
DB20000I The SQL command completed successfully.
$ db2 "select substr(service_superclass_name,1,25),
substr(service_subclass_name,1,25), uow_total_time_top,
last_reset from ta>
1 2
UOW_TOTAL_TIME_TOP LAST_RESET
------------------------- -------------------------
-------------------- --------------------------
SYSDEFAULTSYSTEMCLASS SYSDEFAULTSUBCLASS
- 2011-05-24-13.28.31.478023
SYSDEFAULTMAINTENANCECLAS SYSDEFAULTSUBCLASS
- 2011-05-24-13.28.31.478075
SYSDEFAULTUSERCLASS SYSDEFAULTSUBCLASS
5 2011-05-24-13.28.59.766290
$ db2 "select * from syscat.columns order by colname" >
/dev/null
$ db2 "select substr(service_superclass_name,1,25),
substr(service_subclass_name,1,25), uow_total_time_top,
last_reset from ta>
1 2
UOW_TOTAL_TIME_TOP LAST_RESET
------------------------- -------------------------
-------------------- --------------------------
SYSDEFAULTSYSTEMCLASS SYSDEFAULTSUBCLASS
- 2011-05-24-13.28.31.478023
SYSDEFAULTMAINTENANCECLAS SYSDEFAULTSUBCLASS
- 2011-05-24-13.28.31.478075
SYSDEFAULTUSERCLASS SYSDEFAULTSUBCLASS
922 2011-05-24-13.28.59.766290
$ db2 "call wlm_collect_stats"
Return Status = 0
$ db2 "select substr(service_superclass_name,1,25),
substr(service_subclass_name,1,25), uow_total_time_top,
last_reset from ta>
1 2
UOW_TOTAL_TIME_TOP LAST_RESET
------------------------- -------------------------
-------------------- --------------------------
SYSDEFAULTSYSTEMCLASS SYSDEFAULTSUBCLASS
- 2011-05-24-13.31.13.598868
SYSDEFAULTMAINTENANCECLAS SYSDEFAULTSUBCLASS
- 2011-05-24-13.31.13.598868
SYSDEFAULTUSERCLASS SYSDEFAULTSUBCLASS
922 2011-05-24-13.31.13.598868
Expected result: value should have changed to a smaller value.
Actual result: value stays the same as before. | |
| Problem Summary: | |
WLM - UOW_TOTAL_TIME_TOP IS NOT RESET | |
| Local Fix: | |
| available fix packs: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
| Solution | |
The problem is first fixed in v9.7 Fix Pack 5 (s111017) | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 24.05.2011 16.12.2011 16.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 |
|