From d5639d83a41b5ce13451595e0803b26cec90879e Mon Sep 17 00:00:00 2001 From: Kseniia Antonova <73473519+xuniq@users.noreply.github.com> Date: Wed, 13 Mar 2024 16:07:44 +0300 Subject: [PATCH] Fix formatting in box.cfg reference (#4091) --- .../configuration/cfg_authentication.rst | 11 +++++++++++ doc/reference/configuration/cfg_basic.rst | 17 ++++++++++++++++- .../cfg_binary_logging_snapshots.rst | 9 +++++++++ doc/reference/configuration/cfg_deprecated.rst | 5 +++++ doc/reference/configuration/cfg_feedback.rst | 3 +++ .../configuration/cfg_flight_recorder.rst | 9 +++++++++ .../configuration/cfg_hot_standby.rst | 1 + doc/reference/configuration/cfg_logging.rst | 7 ++++++- doc/reference/configuration/cfg_networking.rst | 8 +++++++- .../configuration/cfg_replication.rst | 18 ++++++++++++++++++ .../configuration/cfg_snapshot_daemon.rst | 3 +++ doc/reference/configuration/cfg_storage.rst | 16 ++++++++++++++++ 12 files changed, 104 insertions(+), 3 deletions(-) diff --git a/doc/reference/configuration/cfg_authentication.rst b/doc/reference/configuration/cfg_authentication.rst index d1bba787ec..b445f36e9b 100644 --- a/doc/reference/configuration/cfg_authentication.rst +++ b/doc/reference/configuration/cfg_authentication.rst @@ -35,6 +35,7 @@ box.cfg{ auth_delay = 5 } + | | Type: number | Default: 0 | Environment variable: TT_AUTH_DELAY @@ -53,6 +54,7 @@ For example, if a client tries to authenticate fewer than ``auth_retries`` times within ``auth_delay`` seconds, no authentication delay is enforced. The retry counter is also reset after any successful authentication attempt. + | | Type: number | Default: 0 | Environment variable: TT_AUTH_RETRIES @@ -76,6 +78,7 @@ :doc:`box.schema.user.passwd ` to use the new authentication protocol. + | | Type: string | Default value: 'chap-sha1' | Environment variable: TT_AUTH_TYPE @@ -94,6 +97,7 @@ :doc:`net.box ` and :ref:`replication ` connections. + | | Type: boolean | Default: false | Environment variable: TT_DISABLE_GUEST @@ -113,6 +117,7 @@ box.cfg{ password_min_length = 10 } + | | Type: integer | Default: 0 | Environment variable: TT_PASSWORD_MIN_LENGTH @@ -127,6 +132,7 @@ If **true**, a password should contain uppercase letters (A-Z). + | | Type: boolean | Default: false | Environment variable: TT_PASSWORD_ENFORCE_UPPERCASE @@ -141,6 +147,7 @@ If **true**, a password should contain lowercase letters (a-z). + | | Type: boolean | Default: false | Environment variable: TT_PASSWORD_ENFORCE_LOWERCASE @@ -155,6 +162,7 @@ If **true**, a password should contain digits (0-9). + | | Type: boolean | Default: false | Environment variable: TT_PASSWORD_ENFORCE_DIGITS @@ -169,6 +177,7 @@ If **true**, a password should contain at least one special character (such as ``&|?!@$``). + | | Type: boolean | Default: false | Environment variable: TT_PASSWORD_ENFORCE_SPECIALCHARS @@ -195,6 +204,7 @@ box.cfg{ password_lifetime_days = 365 } + | | Type: integer | Default: 0 | Environment variable: TT_PASSWORD_LIFETIME_DAYS @@ -215,6 +225,7 @@ box.cfg{ password_history_length = 3 } + | | Type: integer | Default: 0 | Environment variable: TT_PASSWORD_HISTORY_LENGTH diff --git a/doc/reference/configuration/cfg_basic.rst b/doc/reference/configuration/cfg_basic.rst index aee6609527..16ce77ef71 100644 --- a/doc/reference/configuration/cfg_basic.rst +++ b/doc/reference/configuration/cfg_basic.rst @@ -24,6 +24,7 @@ and :ref:`pid_file ` parameters must be non-null for this to work. + | | Type: boolean | Default: false | Environment variable: TT_BACKGROUND @@ -55,6 +56,7 @@ $ ps -ef | grep tarantool 1000 14939 14188 1 10:53 pts/2 00:00:16 tarantool : sessions + | | Type: string | Default: null | Environment variable: TT_CUSTOM_PROC_TITLE @@ -89,6 +91,7 @@ Starting from version 2.10.0, you can specify :ref:`several URIs `, and the port number is always stored as an integer value. + | | Type: integer or string | Default: null | Environment variable: TT_LISTEN @@ -107,6 +110,7 @@ However, you can set different values for the ``memtx_dir`` and :ref:`wal_dir ` options to store them on different physical disks for performance matters. + | | Type: string | Default: "." | Environment variable: TT_MEMTX_DIR @@ -121,6 +125,7 @@ Store the process id in this file. Can be relative to :ref:`work_dir `. A typical value is “:file:`tarantool.pid`”. + | | Type: string | Default: null | Environment variable: TT_PID_FILE @@ -141,6 +146,7 @@ Although read-only mode prevents the server from writing to the :ref:`WAL `, it does not prevent writing diagnostics with the :ref:`log module `. + | | Type: boolean | Default: false | Environment variable: TT_READ_ONLY @@ -174,6 +180,7 @@ (The number of bytes that are actually used can be seen with :ref:`box.info.sql().cache.size `.) + | | Type: number | Default: 5242880 | Environment variable: TT_SQL_CACHE_SIZE @@ -189,6 +196,7 @@ relative to :ref:`work_dir `. If not specified, defaults to ``work_dir``. + | | Type: string | Default: "." | Environment variable: TT_VINYL_DIR @@ -209,6 +217,7 @@ Compaction can also be ordered manually with :doc:`/reference/reference_lua/box_index/compact`. + | | Type: float | Default: 60 | Environment variable: TT_VINYL_TIMEOUT @@ -222,6 +231,7 @@ UNIX user name to switch to after start. + | | Type: string | Default: null | Environment variable: TT_USERNAME @@ -240,6 +250,7 @@ However, you can set different values for the ``wal_dir`` and :ref:`memtx_dir ` options to store them on different physical disks for performance matters. + | | Type: string | Default: "." | Environment variable: TT_WAL_DIR @@ -268,6 +279,7 @@ will put xlog files in ``/home/user/A/B``, snapshot files in ``/home/user/A/C``, and all other files or subdirectories in ``/home/user/A``. + | | Type: string | Default: null | Environment variable: TT_WORK_DIR @@ -285,6 +297,7 @@ :ref:`socket.getaddrinfo() ` and :ref:`coio_call() `). + | | Type: integer | Default: 4 | Environment variable: TT_WORKER_POOL_THREADS @@ -301,6 +314,7 @@ Setting to ``true`` means "do not include". In an older version of Tarantool the default value of this parameter was ``false``. + | | Type: boolean | Default: true | Environment variable: TT_STRIP_CORE @@ -312,8 +326,9 @@ Since version :doc:`2.6.1 `. - Enables :ref:`transactional manager ` if set to ``true``. + Enable :ref:`transactional manager ` if set to ``true``. + | | Type: boolean | Default: false | Environment variable: TT_MEMTX_USE_MVCC_ENGINE diff --git a/doc/reference/configuration/cfg_binary_logging_snapshots.rst b/doc/reference/configuration/cfg_binary_logging_snapshots.rst index a649e8663d..942e28db7e 100644 --- a/doc/reference/configuration/cfg_binary_logging_snapshots.rst +++ b/doc/reference/configuration/cfg_binary_logging_snapshots.rst @@ -24,6 +24,7 @@ Otherwise, Tarantool aborts recovery if there is an error while reading. + | | Type: boolean | Default: false | Environment variable: TT_FORCE_RECOVERY @@ -39,6 +40,7 @@ When a request would cause an ``.xlog`` file to become larger than ``wal_max_size``, Tarantool creates a new WAL file. + | | Type: integer | Default: 268435456 (256 * 1024 * 1024) bytes | Environment variable: TT_WAL_MAX_SIZE @@ -60,6 +62,7 @@ :ref:`box.stat.vinyl().regulator ` may show for the write rate of dumps to ``.run`` and ``.index`` files. + | | Type: float | Default: null | Environment variable: TT_SNAP_IO_RATE_LIMIT @@ -82,6 +85,7 @@ * ``fsync``: fibers wait for their data, :manpage:`fsync(2)` follows each :manpage:`write(2)`. + | | Type: string | Default: "write" | Environment variable: TT_WAL_MODE @@ -97,6 +101,7 @@ file directory, when checking for changes to write-ahead-log files for the sake of :ref:`replication ` or :ref:`hot standby `. + | | Type: float | Default: 2 | Environment variable: TT_WAL_DIR_RESCAN_DELAY @@ -119,6 +124,7 @@ You might consider increasing the ``wal_queue_max_size`` value in case of large tuples (approximately one megabyte or larger). + | | Type: number | Default: 16777216 bytes | Environment variable: TT_WAL_QUEUE_MAX_SIZE @@ -144,6 +150,7 @@ The ``wal_cleanup_delay`` option has no effect on nodes running as :ref:`anonymous replicas `. + | | Type: number | Default: 14400 seconds | Environment variable: TT_WAL_CLEANUP_DELAY @@ -193,6 +200,7 @@ * If a replica doesn't support the extended format configured on a master, auxiliary fields are skipped. * If a replica and master have different configurations for WAL records, the master's configuration is ignored. + | | Type: map | Default: nil | Environment variable: TT_WAL_EXT @@ -208,6 +216,7 @@ (**Enterprise Edition only**) If **true**, forces Tarantool to overwrite a data file a few times before deletion to render recovery of a deleted file impossible. The option applies to both ``.xlog`` and ``.snap`` files as well as Vinyl data files. + | | Type: boolean | Default: false | Environment variable: TT_SECURE_ERASING diff --git a/doc/reference/configuration/cfg_deprecated.rst b/doc/reference/configuration/cfg_deprecated.rst index 7d291d1716..82b15ffe66 100644 --- a/doc/reference/configuration/cfg_deprecated.rst +++ b/doc/reference/configuration/cfg_deprecated.rst @@ -23,6 +23,7 @@ These parameters are deprecated since Tarantool version 1.7.4: **Deprecated**, do not use. + | | Type: boolean | Default: false | Dynamic: no @@ -53,6 +54,7 @@ These parameters are deprecated since Tarantool version 1.7.4: If there is an error while reading a snapshot file (at server instance start), abort. + | | Type: boolean | Default: true | Dynamic: no @@ -64,6 +66,7 @@ These parameters are deprecated since Tarantool version 1.7.4: **Deprecated** in favor of :ref:`force_recovery `. + | | Type: boolean | Default: true | Dynamic: yes @@ -91,6 +94,7 @@ These parameters are deprecated since Tarantool version 1.7.4: indexes and connection information. Depending on actual configuration and workload, Tarantool can consume up to 20% more than the limit set here. + | | Type: float | Default: 1.0 | Dynamic: no @@ -160,6 +164,7 @@ These parameters are deprecated since Tarantool version 1.7.4: Setting to ``false`` is equivalent to setting the ``off`` :ref:`election_fencing_mode `. + | | Type: boolean | Default: true | Environment variable: TT_ELECTION_FENCING_ENABLED diff --git a/doc/reference/configuration/cfg_feedback.rst b/doc/reference/configuration/cfg_feedback.rst index cd7b1d02e8..f716495010 100644 --- a/doc/reference/configuration/cfg_feedback.rst +++ b/doc/reference/configuration/cfg_feedback.rst @@ -22,6 +22,7 @@ adjust or turn off this feature. If this is set to ``true``, feedback will be sent as described above. If this is set to ``false``, no feedback will be sent. + | | Type: boolean | Default: true | Environment variable: TT_FEEDBACK_ENABLED @@ -36,6 +37,7 @@ adjust or turn off this feature. The address to which the packet is sent. Usually the recipient is Tarantool, but it can be any URL. + | | Type: string | Default: ``https://feedback.tarantool.io`` | Environment variable: TT_FEEDBACK_HOST @@ -49,6 +51,7 @@ adjust or turn off this feature. The number of seconds between sendings, usually 3600 (1 hour). + | | Type: float | Default: 3600 | Environment variable: TT_FEEDBACK_INTERVAL diff --git a/doc/reference/configuration/cfg_flight_recorder.rst b/doc/reference/configuration/cfg_flight_recorder.rst index b5664dbc4c..1319264740 100644 --- a/doc/reference/configuration/cfg_flight_recorder.rst +++ b/doc/reference/configuration/cfg_flight_recorder.rst @@ -24,6 +24,7 @@ Enable the :ref:`flight recorder `. + | | Type: boolean | Default: false | Environment variable: TT_FLIGHTREC_ENABLED @@ -39,6 +40,7 @@ Specify the size (in bytes) of the log storage. You can set this option to ``0`` to disable the log storage. + | | Type: integer | Default: 10485760 | Environment variable: TT_FLIGHTREC_LOGS_SIZE @@ -54,6 +56,7 @@ Specify the maximum size (in bytes) of the log message. The log message is truncated if its size exceeds this limit. + | | Type: integer | Default: 4096 | Maximum: 16384 @@ -72,6 +75,7 @@ option description. Note that the ``flightrec_logs_log_level`` value might differ from ``log_level``. + | | Type: integer | Default: 6 | Environment variable: TT_FLIGHTREC_LOGS_LOG_LEVEL @@ -88,6 +92,7 @@ So, this value defines how much historical metrics data is collected up to the moment of crash. The frequency of metric dumps is defined by :ref:`flightrec_metrics_interval `. + | | Type: integer | Default: 180 | Environment variable: TT_FLIGHTREC_METRICS_PERIOD @@ -112,6 +117,7 @@ (flightrec_metrics_period / flightrec_metrics_interval) * 2 kB + | | Type: number | Default: 1.0 | Minimum: 0.001 @@ -128,6 +134,7 @@ Specify the size (in bytes) of storage for the request and response data. You can set this parameter to ``0`` to disable a storage of requests and responses. + | | Type: integer | Default: 10485760 | Environment variable: TT_FLIGHTREC_REQUESTS_SIZE @@ -144,6 +151,7 @@ Specify the maximum size (in bytes) of a request entry. A request entry is truncated if this size is exceeded. + | | Type: integer | Default: 16384 | Environment variable: TT_FLIGHTREC_REQUESTS_MAX_REQ_SIZE @@ -159,6 +167,7 @@ Specify the maximum size (in bytes) of a response entry. A response entry is truncated if this size is exceeded. + | | Type: integer | Default: 16384 | Environment variable: TT_FLIGHTREC_REQUESTS_MAX_RES_SIZE diff --git a/doc/reference/configuration/cfg_hot_standby.rst b/doc/reference/configuration/cfg_hot_standby.rst index 7202f0027a..2b674ebad8 100644 --- a/doc/reference/configuration/cfg_hot_standby.rst +++ b/doc/reference/configuration/cfg_hot_standby.rst @@ -47,6 +47,7 @@ * for spaces created with :doc:`engine = 'vinyl' `; it is designed to work for spaces created with ``engine = 'memtx'``. + | | Type: boolean | Default: false | Environment variable: TT_HOT_STANDBY diff --git a/doc/reference/configuration/cfg_logging.rst b/doc/reference/configuration/cfg_logging.rst index f58809ca67..dbcbe37f1c 100644 --- a/doc/reference/configuration/cfg_logging.rst +++ b/doc/reference/configuration/cfg_logging.rst @@ -32,6 +32,7 @@ application. error stream by default. This can be changed with the :ref:`log ` configuration parameter. + | | Type: integer | Default: 5 | Environment variable: TT_LOG_LEVEL @@ -122,6 +123,7 @@ application. When log is a program, its PID is saved in the :ref:`log.pid ` variable. You need to send it a signal to rotate logs. + | | Type: string | Default: null | Environment variable: TT_LOG @@ -151,6 +153,7 @@ application. This is a behavior change: in earlier versions of the Tarantool server, the default value was **true**. + | | Type: boolean | Default: nil | Environment variable: TT_LOG_NONBLOCK @@ -166,6 +169,7 @@ application. warn about it in the log. Has effect only if :ref:`log_level ` is greater than or equal to 4 (WARNING). + | | Type: float | Default: 0.5 | Environment variable: TT_TOO_LONG_THRESHOLD @@ -210,6 +214,7 @@ application. The ``log_format='json'`` entry has the same fields along with their labels, and in addition has the file name and line number of the Tarantool source. + | | Type: string | Default: 'plain' | Environment variable: TT_LOG_FORMAT @@ -235,11 +240,11 @@ application. * The ``tarantool`` module that enables you to configure the logging level for Tarantool core messages. Specifically, it configures the logging level for messages logged from non-Lua code, including C modules. Example: :ref:`Set a log level for C modules `. + | | Type: table | Default: blank | Environment variable: TT_LOG_MODULES | Dynamic: yes - | .. _cfg_logging-logging_example_existing_modules: diff --git a/doc/reference/configuration/cfg_networking.rst b/doc/reference/configuration/cfg_networking.rst index cdf8f7c4d0..b53926e11c 100644 --- a/doc/reference/configuration/cfg_networking.rst +++ b/doc/reference/configuration/cfg_networking.rst @@ -14,6 +14,8 @@ the number of client connections is large, but requests are not so frequent (for example, each connection issues just a handful of requests per second). + + | | Type: float | Default: null | Environment variable: TT_IO_COLLECT_INTERVAL @@ -53,6 +55,7 @@ On typical systems, the default value (768) is correct. + | | Type: integer | Default: 768 | Environment variable: TT_NET_MSG_MAX @@ -73,6 +76,8 @@ should be increased. If batched request processing is not used, it’s prudent to leave this setting at its default. + + | | Type: integer | Default: 16320 | Environment variable: TT_READAHEAD @@ -92,7 +97,8 @@ which thread. On typical systems, the default value (1) is correct. - + + | | Type: integer | Default: 1 | Environment variable: TT_IPROTO_THREADS diff --git a/doc/reference/configuration/cfg_replication.rst b/doc/reference/configuration/cfg_replication.rst index a4a2cbfeea..8a6d307df2 100644 --- a/doc/reference/configuration/cfg_replication.rst +++ b/doc/reference/configuration/cfg_replication.rst @@ -56,6 +56,7 @@ :extsamp:`box.cfg{ replication = {*{new-value}*} }` + | | Type: string | Default: null | Environment variable: TT_REPLICATION @@ -203,6 +204,7 @@ instance must replicate from some read-write instance, otherwise it cannot be added to the ``_cluster`` table. + | | Type: boolean | Default: false | Environment variable: TT_REPLICATION_ANON @@ -228,6 +230,7 @@ replication = {'127.0.0.1:3301'}, } + | | Type: string | Default: null | Environment variable: TT_BOOTSTRAP_LEADER @@ -257,6 +260,7 @@ * ``legacy`` (deprecated since :doc:`2.11.0 `): a node requires the :ref:`replication_connect_quorum ` number of other nodes to be connected. This option is added to keep the compatibility with the current versions of Cartridge and might be removed in the future. + | | Type: string | Default: auto | Environment variable: TT_BOOTSTRAP_STRATEGY @@ -278,6 +282,7 @@ which a master uses to disconnect a replica when the master receives no acknowledgments of heartbeat messages. + | | Type: float | Default: 30 | Environment variable: TT_REPLICATION_CONNECT_TIMEOUT @@ -304,6 +309,7 @@ box.cfg { replication_connect_quorum = 2 } + | | Type: integer | Default: null | Environment variable: TT_REPLICATION_CONNECT_QUORUM @@ -329,6 +335,7 @@ box.cfg{replication_skip_conflict=true} + | | Type: boolean | Default: false | Environment variable: TT_REPLICATION_SKIP_CONFLICT @@ -361,6 +368,7 @@ This parameter is ignored during bootstrap. See :ref:`orphan status ` for details. + | | Type: float | Default: 10 | Environment variable: TT_REPLICATION_SYNC_LAG @@ -380,6 +388,7 @@ updates. If ``replication_sync_timeout`` expires, the replica enters :ref:`orphan status `. + | | Type: float | Default: 300 | Environment variable: TT_REPLICATION_SYNC_TIMEOUT @@ -405,6 +414,7 @@ See more in :ref:`Monitoring a replica set `. + | | Type: integer | Default: 1 | Environment variable: TT_REPLICATION_TIMEOUT @@ -457,6 +467,7 @@ box.cfg{replicaset_uuid='7b853d13-508b-4b8e-82e6-806f088ea6e9'} + | | Type: string | Default: null | Environment variable: TT_REPLICASET_UUID @@ -482,6 +493,7 @@ box.cfg{instance_uuid='037fec43-18a9-4e12-a684-a42b716fcd02'} + | | Type: string | Default: null | Environment variable: TT_INSTANCE_UUID @@ -528,6 +540,7 @@ If the value for this option is set to ``1``, the synchronous transactions work like asynchronous when not configured. `1` means that successful WAL write to the master is enough to commit. + | | Type: number | Default: N / 2 + 1 (before version :doc:`2.10.0 `, the default value was 1) | Environment variable: TT_REPLICATION_SYNCHRO_QUORUM @@ -547,6 +560,7 @@ transactions will be kept waiting on the replicas until a new master is elected. + | | Type: number | Default: 5 | Environment variable: TT_REPLICATION_SYNCHRO_TIMEOUT @@ -568,6 +582,7 @@ Possible values range from 1 to 1000. If there are multiple replication threads, connections to serve are distributed evenly between the threads. + | | Type: number | Default: 1 | Possible values: from 1 to 1000 @@ -619,6 +634,7 @@ * Once :ref:`box.ctl.promote() ` is called, the instance becomes a candidate and starts a new election round. If the instance wins the elections, it becomes a leader, but won't participate in any new elections. + | | Type: string | Default: 'off' | Environment variable: TT_ELECTION_MODE @@ -651,6 +667,7 @@ or to 305, 302, and 324, and so on. In that way, the votes will never be split because the election on different nodes won't be restarted simultaneously. + | | Type: number | Default: 5 | Environment variable: TT_ELECTION_TIMEOUT @@ -686,6 +703,7 @@ :ref:`election_mode ` set to ``candidate`` or ``manual``. To turn off :ref:`leader fencing `, set ``election_fencing_mode`` to ``off``. + | | Type: string | Default: 'soft' | Environment variable: TT_ELECTION_FENCING_MODE diff --git a/doc/reference/configuration/cfg_snapshot_daemon.rst b/doc/reference/configuration/cfg_snapshot_daemon.rst index adfa864771..17d4529151 100644 --- a/doc/reference/configuration/cfg_snapshot_daemon.rst +++ b/doc/reference/configuration/cfg_snapshot_daemon.rst @@ -86,6 +86,7 @@ Tarantool garbage collector doesn't delete a file in the following cases: In the example, the checkpoint daemon creates a new database snapshot every two hours, if there is activity. + | | Type: integer | Default: 3600 (one hour) | Environment variable: TT_CHECKPOINT_INTERVAL @@ -123,6 +124,7 @@ Tarantool garbage collector doesn't delete a file in the following cases: Therefore, ``checkpoint_count`` has no effect unless all replicas are alive. + | | Type: integer | Default: 2 | Environment variable: TT_CHECKPOINT_COUNT @@ -142,6 +144,7 @@ Tarantool garbage collector doesn't delete a file in the following cases: with calculating how much disk space to allocate for a partition containing WAL files. + | | Type: integer | Default: 10^18 (a large number so in effect there is no limit by default) | Environment variable: TT_CHECKPOINT_WAL_THRESHOLD diff --git a/doc/reference/configuration/cfg_storage.rst b/doc/reference/configuration/cfg_storage.rst index f718a78106..f4970f864a 100644 --- a/doc/reference/configuration/cfg_storage.rst +++ b/doc/reference/configuration/cfg_storage.rst @@ -29,6 +29,7 @@ ``memtx_memory`` limit to allocate tuples, but there is additional memory used to store indexes and connection information. + | | Type: float | Default: 256 * 1024 * 1024 = 268435456 bytes | Minimum: 33554432 bytes (32 MB) @@ -44,6 +45,7 @@ Size of the largest allocation unit, for the memtx storage engine. It can be increased if it is necessary to store large tuples. + | | Type: integer | Default: 1024 * 1024 = 1048576 bytes | Environment variable: TT_MEMTX_MAX_TUPLE_SIZE @@ -58,6 +60,7 @@ Size of the smallest allocation unit. It can be decreased if most of the tuples are very small. + | | Type: integer | Default: 16 bytes | Possible values: between 8 and 1048280 inclusive @@ -81,6 +84,7 @@ Note that this allocator is prone to unresolvable fragmentation on specific workloads, so you can switch to ``system`` in such cases. + | | Type: string | Default: 'small' | Environment variable: TT_MEMTX_ALLOCATOR @@ -117,6 +121,7 @@ See also: :ref:`slab_alloc_granularity ` + | | Type: float | Default: 1.05 | Possible values: between 1 and 2 inclusive @@ -142,6 +147,7 @@ See also: :ref:`slab_alloc_factor ` + | | Type: number | Default: 8 bytes | Environment variable: TT_SLAB_ALLOC_GRANULARITY @@ -159,6 +165,7 @@ The ``vinyl_bloom_fpr`` setting is a default value for one of the options in the :ref:`Options for space_object:create_index() ` chart. + | | Type: float | Default: 0.05 | Environment variable: TT_VINYL_BLOOM_FPR @@ -172,6 +179,7 @@ The cache size for the vinyl storage engine. The cache can be resized dynamically. + | | Type: integer | Default: 128 * 1024 * 1024 = 134217728 bytes | Environment variable: TT_VINYL_CACHE @@ -188,6 +196,7 @@ is necessary to store large tuples. See also: :ref:`memtx_max_tuple_size `. + | | Type: integer | Default: 1024 * 1024 = 1048576 bytes | Environment variable: TT_VINYL_MAX_TUPLE_SIZE @@ -201,6 +210,7 @@ The maximum number of in-memory bytes that vinyl uses. + | | Type: integer | Default: 128 * 1024 * 1024 = 134217728 bytes | Environment variable: TT_VINYL_MEMORY @@ -216,6 +226,7 @@ The ``vinyl_page_size`` setting is a default value for one of the options in the :ref:`Options for space_object:create_index() ` chart. + | | Type: integer | Default: 8 * 1024 = 8192 bytes | Environment variable: TT_VINYL_PAGE_SIZE @@ -243,6 +254,7 @@ In Tarantool versions prior to 1.10.2, ``vinyl_range_size`` default value was 1073741824. + | | Type: integer | Default: nil | Environment variable: TT_VINYL_RANGE_SIZE @@ -259,6 +271,7 @@ The ``vinyl_run_count_per_level`` setting is a default value for one of the options in the :ref:`Options for space_object:create_index() ` chart. + | | Type: integer | Default: 2 | Environment variable: TT_VINYL_RUN_COUNT_PER_LEVEL @@ -274,6 +287,7 @@ The ``vinyl_run_size_ratio`` setting is a default value for one of the options in the :ref:`Options for space_object:create_index() ` chart. + | | Type: float | Default: 3.5 | Environment variable: TT_VINYL_RUN_SIZE_RATIO @@ -288,6 +302,7 @@ The maximum number of read threads that vinyl can use for some concurrent operations, such as I/O and compression. + | | Type: integer | Default: 1 | Environment variable: TT_VINYL_READ_THREADS @@ -302,6 +317,7 @@ The maximum number of write threads that vinyl can use for some concurrent operations, such as I/O and compression. + | | Type: integer | Default: 4 | Environment variable: TT_VINYL_WRITE_THREADS