Skip to content

Commit cf08ca2

Browse files
committed
Fix markup
1 parent 217fea3 commit cf08ca2

File tree

1 file changed

+6
-0
lines changed
  • doc/reference/reference_lua/box_stat

1 file changed

+6
-0
lines changed

doc/reference/reference_lua/box_stat/memtx.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ box.stat.memtx().tx
2525
``space:replace{0, 1}`` within this transaction. Under the hood,
2626
this operation becomes a statement for this transaction.
2727
Tarantool reports the following statistics for statements:
28+
2829
* ``box.stat.memtx().tx.txn.statements.max`` is the maximal number of bytes
2930
that a single transaction uses for statements.
3031
* ``box.stat.memtx().tx.txn.statements.avg`` is the average number of bytes
@@ -37,6 +38,7 @@ box.stat.memtx().tx
3738
the current transaction using the Tarantool C API function
3839
:ref:`box_txn_alloc() <txn-box_txn_alloc>`.
3940
Tarantool reports the following statistics for this kind of transactions:
41+
4042
* ``box.stat.memtx().tx.txn.user.max`` is the maximal number of bytes
4143
within a transaction allocated using ``box_txn_alloc()``.
4244
* ``box.stat.memtx().tx.txn.user.avg`` is the average number of bytes within
@@ -58,6 +60,7 @@ box.stat.memtx().tx
5860
* ``box.stat.memtx().tx.mvcc.trackers`` is the memory allocated for *trackers*
5961
of transaction reads.
6062
Tarantool reports the following statistics for trackers:
63+
6164
* ``box.stat.memtx().tx.mvcc.trackers.max`` is the maximal number of bytes
6265
allocated for trackers per a single transaction.
6366
* ``box.stat.memtx().tx.mvcc.trackers.avg`` is the average number of bytes
@@ -79,6 +82,7 @@ box.stat.memtx().tx
7982

8083
All stored tuples fall into three categories, with memory statistics
8184
reported for each category:
85+
8286
* ``box.stat.memtx().tx.mvcc.tuples.tracking`` is for tuples that are not used
8387
by any transactions directly, but MVCC uses them for tracking transaction reads.
8488
* ``box.stat.memtx().tx.mvcc.tuples.used`` is for tuples that are used
@@ -87,10 +91,12 @@ box.stat.memtx().tx
8791
by active read-write transactions, but are used by read-only transactions.
8892

8993
For each of the three categories, Tarantool reports two statistical blocks:
94+
9095
* ``stories`` is for stories.
9196
* ``retained`` is for *retained* tuples which do not belong to any index,
9297
but MVCC doesn't allow to delete them yet.
9398

9499
For each block, Tarantool reports the following statistics:
100+
95101
* ``count`` is the number of stories or retained tuples.
96102
* ``total`` is the number of bytes allocated for stories or retained tuples.

0 commit comments

Comments
 (0)