You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/concepts/configuration/configuration_memtx.rst
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
In-memory storage
4
4
=================
5
5
6
-
**Example on GitHub**: `snapshot<https://github.com/tarantool/doc/tree/latest/doc/code_snippets/snippets/config/instances.enabled/memtx>`_
6
+
**Example on GitHub**: `memtx<https://github.com/tarantool/doc/tree/latest/doc/code_snippets/snippets/config/instances.enabled/memtx>`_
7
7
8
8
In Tarantool, all data is stored in random-access memory (RAM) by default.
9
9
For this purpose, the :ref:`memtx <engines-memtx>` storage engine is used.
@@ -96,6 +96,7 @@ Specify the granularity for slab allocation
96
96
97
97
If you use the :ref:`small <configuration_reference_memtx_allocator>` type of allocator, you can set the granularity of
98
98
memory allocation in it.
99
+
To do it, use the :ref:`memtx.slab_alloc_granularity <configuration_reference_memtx_slab_alloc_granularity>` configuration option.
99
100
The granularity value should meet the following conditions:
100
101
101
102
* The value is a power of two.
@@ -156,9 +157,9 @@ Check the database statistics
156
157
Tarantool provides the statistics about memory consumption for the given space or specific tuples.
157
158
Available statistics:
158
159
159
-
* The amount of memory used for the data of the specified space.
160
-
* The amount of additional memory used for the supplementary information.
161
-
* The total memory usage.
160
+
* The amount of memory used for the :ref:`data of the specified space<configuration_memtx-statistics-space>`.
161
+
* The amount of :ref:`additional memory<configuration_memtx-statistics-additional>` used for the supplementary information.
162
+
* The :ref:`total memory usage<configuration_memtx-statistics-total>`.
162
163
163
164
.. _configuration_memtx-statistics-space:
164
165
@@ -180,7 +181,7 @@ The function returns the total number of bytes in all tuples.
180
181
Additional memory
181
182
~~~~~~~~~~~~~~~~~
182
183
183
-
To check the usage of the additional memory (5 Mb), use the ``space_object:stat()`` method.
184
+
To check the usage of the additional memory, use the ``space_object:stat()`` method.
184
185
The following information is provided:
185
186
186
187
- ``header_size`` and ``field_map_size``: the size of service information.
0 commit comments