-
force_recovery
¶ If
force_recovery
equals true, Tarantool tries to continue if there is an error while reading a snapshot file (at server instance start) or a write-ahead log file (at server instance start or when applying an update at a replica): skips invalid records, reads as much data as possible and lets the process finish with a warning. Users can prevent the error from recurring by writing to the database and executing box.snapshot().Otherwise, Tarantool aborts recovery if there is an error while reading.
Type: booleanDefault: falseDynamic: no
-
rows_per_wal
¶ How many log records to store in a single write-ahead log file. When this limit is reached, Tarantool creates another WAL file named
<first-lsn-in-wal>.xlog
. This can be useful for simple rsync-based backups.Type: integerDefault: 500000Dynamic: no
-
wal_max_size
¶ The maximum number of bytes in a single write-ahead log file. When a request would cause an .xlog file to become larger than
wal_max_size
, Tarantool creates another WAL file – the same effect that happens when the rows_per_wal limit is reached.Type: integerDefault: 268435456 (256 * 1024 * 1024)Dynamic: no
-
snap_io_rate_limit
¶ Reduce the throttling effect of box.snapshot on INSERT/UPDATE/DELETE performance by setting a limit on how many megabytes per second it can write to disk. The same can be achieved by splitting wal_dir and memtx_dir locations and moving snapshots to a separate disk. The limit also affects what box.stat.vinyl().regulator may show for the write rate of dumps to .run and .index files.
Type: floatDefault: nullDynamic: yes
-
wal_mode
¶ Specify fiber-WAL-disk synchronization mode as:
none
: write-ahead log is not maintained;write
: fibers wait for their data to be written to the write-ahead log (no fsync(2));fsync
: fibers wait for their data, fsync(2) follows each write(2);
Type: stringDefault: “write”Dynamic: no
-
wal_dir_rescan_delay
¶ Number of seconds between periodic scans of the write-ahead-log file directory, when checking for changes to write-ahead-log files for the sake of replication or hot standby.
Type: floatDefault: 2Dynamic: no