Skip to content

Commit a73b47b

Browse files
committed
Integrate tech feedback 2
1 parent 87ea851 commit a73b47b

File tree

1 file changed

+4
-12
lines changed
  • doc/reference/reference_lua/box_stat

1 file changed

+4
-12
lines changed

doc/reference/reference_lua/box_stat/vinyl.rst

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ Although the vinyl storage engine is not "in-memory", Tarantool does
5050
need to have memory for write buffers and for caches:
5151

5252
* ``box.stat.vinyl().memory.tuple_cache``
53-
is the number of bytes that are being used for tuples (data).
53+
is the size of memory (in bytes) occupied by tuples stored in the cache.
54+
* ``box.stat.vinyl().memory.tuple``
55+
is the size of memory (in bytes) occupied by all allocated tuples.
56+
This includes cached tuples and tuples that are referenced in Lua.
5457
* ``box.stat.vinyl().memory.tx``
5558
is transactional memory. This will usually be 0.
5659
* ``box.stat.vinyl().memory.level0``
@@ -159,17 +162,6 @@ for dumping or compaction:
159162
A dump will also occur during a
160163
:doc:`snapshot </reference/reference_lua/box_snapshot>` operation.
161164

162-
.. _box_introspection-box_stat_vinyl_memory:
163-
164-
box.stat.vinyl().memory
165-
-----------------------
166-
This is about vinyl tuples returned to the user. They are allocated with
167-
``malloc()``, and they may be pinned by Lua indefinitely.
168-
169-
* ``box.stat.vinyl().memory.tuple`` is the total size of memory (in bytes)
170-
occupied by vinyl tuples. It includes cached tuples and tuples pinned by the
171-
Lua world.
172-
173165
.. _box_introspection-box_stat_vinyl_tx:
174166

175167
box.stat.vinyl().tx

0 commit comments

Comments
 (0)