Skip to content

Commit a415f14

Browse files
committed
minor fixes
1 parent bbf6020 commit a415f14

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

doc/concepts/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@ Read more about snapshot and WAL configuration: :ref:`Persistence <configuration
454454

455455
configuration/configuration_etcd
456456
configuration/configuration_code
457-
configuration/configuration_persistence
458457
configuration/configuration_memtx
458+
configuration/configuration_persistence
459459
configuration/configuration_connections
460460
configuration/configuration_credentials
461461
configuration/configuration_authentication

doc/concepts/configuration/configuration_memtx.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
In-memory storage
44
=================
55

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>`_
77

88
In Tarantool, all data is stored in random-access memory (RAM) by default.
99
For this purpose, the :ref:`memtx <engines-memtx>` storage engine is used.
@@ -96,6 +96,7 @@ Specify the granularity for slab allocation
9696

9797
If you use the :ref:`small <configuration_reference_memtx_allocator>` type of allocator, you can set the granularity of
9898
memory allocation in it.
99+
To do it, use the :ref:`memtx.slab_alloc_granularity <configuration_reference_memtx_slab_alloc_granularity>` configuration option.
99100
The granularity value should meet the following conditions:
100101

101102
* The value is a power of two.
@@ -156,9 +157,9 @@ Check the database statistics
156157
Tarantool provides the statistics about memory consumption for the given space or specific tuples.
157158
Available statistics:
158159

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>`.
162163

163164
.. _configuration_memtx-statistics-space:
164165

@@ -180,7 +181,7 @@ The function returns the total number of bytes in all tuples.
180181
Additional memory
181182
~~~~~~~~~~~~~~~~~
182183

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.
184185
The following information is provided:
185186

186187
- ``header_size`` and ``field_map_size``: the size of service information.

doc/reference/configuration/cfg_storage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* :ref:`memtx_max_tuple_size <cfg_storage-memtx_max_tuple_size>`
33
* :ref:`memtx_min_tuple_size <cfg_storage-memtx_min_tuple_size>`
44
* :ref:`memtx_allocator <cfg_storage-memtx_allocator>`
5-
* :ref:`memtx.sort_threads <cfg_storage-memtx_sort_threads>`
5+
* :ref:`memtx_sort_threads <cfg_storage-memtx_sort_threads>`
66
* :ref:`slab_alloc_factor <cfg_storage-slab_alloc_factor>`
77
* :ref:`slab_alloc_granularity <cfg_storage-slab_alloc_granularity>`
88
* :ref:`vinyl_bloom_fpr <cfg_storage-vinyl_bloom_fpr>`

doc/reference/configuration/configuration_reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ The ``groups`` section provides the ability to define the :ref:`full topology of
17781778
.. _configuration_reference_memtx:
17791779

17801780
memtx
1781-
~~~~~
1781+
-----
17821782

17831783
The ``memtx`` section is used to configure parameters related to :ref:`memtx engine <configuration_memtx>`.
17841784

0 commit comments

Comments
 (0)