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
------------------------------
Original Message:
Sent: Thu June 15, 2023 04:50 AM
From: Cui Mei
Subject: How to get "Transaction Per Second"?
Hi Db2 Experts,
How to get the "Transaction Per Second" for Db2? Is there any command can get this value? Snapshot? Event Monitor?
------------------------------
Cui Mei
IT Specialist
IBM
Petaling Jaya
(12) 358-5560
------------------------------