Hi,
There are various transaction related metrics collected at different levels.
For example, total_app_commits , total_app_rollbacks, which are collected at the database or connection level (and at a number of other levels as well).
But these counters are incremented only for the corresponding object, no any history of their values is saved by Db2 itself.
So, if you need to get transaction ratio for the database during some period of time (not from the database activation time till current), you should save somewhere these values (plus may be the same for internal commits & rollbacks) at start and end of a period of measurement, calculate the difference and divide the sum of these differences to the period duration.
------------------------------
Mark Barinstein
------------------------------