From bf98f7d7645b37c71f76c0832a2779df3fef66fc Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Fri, 24 Oct 2014 17:41:16 +1100 Subject: Add statistics to track open sessions and the range of transaction IDs that are pinned. --- dist/stat_data.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dist/stat_data.py') diff --git a/dist/stat_data.py b/dist/stat_data.py index ddbe4d2f969..0afb83bbc74 100644 --- a/dist/stat_data.py +++ b/dist/stat_data.py @@ -171,6 +171,9 @@ connection_stats = [ Stat('txn_checkpoint_running', 'transaction checkpoint currently running', 'no_aggregate,no_clear,no_scale'), + Stat('txn_pinned_range', + 'transaction range of IDs currently pinned', + 'no_aggregate,no_clear,no_scale'), Stat('txn_commit', 'transactions committed'), Stat('txn_fail_cache', 'transaction failures due to cache overflow'), Stat('txn_rollback', 'transactions rolled back'), @@ -199,6 +202,7 @@ connection_stats = [ # Session operations ########################################## Stat('session_cursor_open', 'open cursor count', 'no_clear,no_scale'), + Stat('session_open', 'open session count', 'no_clear,no_scale'), ########################################## # Total Btree cursor operations -- cgit v1.2.1