File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
doc/reference/reference_lua/box_stat Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,10 @@ Although the vinyl storage engine is not "in-memory", Tarantool does
5050need 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
175167box.stat.vinyl().tx
You can’t perform that action at this time.
0 commit comments