@@ -25,6 +25,7 @@ box.stat.memtx().tx
25
25
``space:replace{0, 1} `` within this transaction. Under the hood,
26
26
this operation becomes a statement for this transaction.
27
27
Tarantool reports the following statistics for statements:
28
+
28
29
* ``box.stat.memtx().tx.txn.statements.max `` is the maximal number of bytes
29
30
that a single transaction uses for statements.
30
31
* ``box.stat.memtx().tx.txn.statements.avg `` is the average number of bytes
@@ -37,6 +38,7 @@ box.stat.memtx().tx
37
38
the current transaction using the Tarantool C API function
38
39
:ref: `box_txn_alloc() <txn-box_txn_alloc >`.
39
40
Tarantool reports the following statistics for this kind of transactions:
41
+
40
42
* ``box.stat.memtx().tx.txn.user.max `` is the maximal number of bytes
41
43
within a transaction allocated using ``box_txn_alloc() ``.
42
44
* ``box.stat.memtx().tx.txn.user.avg `` is the average number of bytes within
@@ -58,6 +60,7 @@ box.stat.memtx().tx
58
60
* ``box.stat.memtx().tx.mvcc.trackers `` is the memory allocated for *trackers *
59
61
of transaction reads.
60
62
Tarantool reports the following statistics for trackers:
63
+
61
64
* ``box.stat.memtx().tx.mvcc.trackers.max `` is the maximal number of bytes
62
65
allocated for trackers per a single transaction.
63
66
* ``box.stat.memtx().tx.mvcc.trackers.avg `` is the average number of bytes
@@ -79,6 +82,7 @@ box.stat.memtx().tx
79
82
80
83
All stored tuples fall into three categories, with memory statistics
81
84
reported for each category:
85
+
82
86
* ``box.stat.memtx().tx.mvcc.tuples.tracking `` is for tuples that are not used
83
87
by any transactions directly, but MVCC uses them for tracking transaction reads.
84
88
* ``box.stat.memtx().tx.mvcc.tuples.used `` is for tuples that are used
@@ -87,10 +91,12 @@ box.stat.memtx().tx
87
91
by active read-write transactions, but are used by read-only transactions.
88
92
89
93
For each of the three categories, Tarantool reports two statistical blocks:
94
+
90
95
* ``stories `` is for stories.
91
96
* ``retained `` is for *retained * tuples which do not belong to any index,
92
97
but MVCC doesn't allow to delete them yet.
93
98
94
99
For each block, Tarantool reports the following statistics:
100
+
95
101
* ``count `` is the number of stories or retained tuples.
96
102
* ``total `` is the number of bytes allocated for stories or retained tuples.
0 commit comments