Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Our KB does not provide enough details (like range of values or default value) for some options of mariabackup. Consider --use-memory:
https://mariadb.com/kb/en/mariabackup-options/#-use-memory
It says nothing about acceptable range of values and default value. One can find out it's 100M by default in the code:
or just test:
openxs@ao756:~/dbs/maria10.1$ bin/mariabackup --no-defaults --prepare --binlog-info=ON --target-dir=/tmp/101 --socket=/tmp/mariadb2.sock -uroot
|
bin/mariabackup based on MariaDB server 10.1.49-MariaDB Linux (x86_64)
|
mariabackup: cd to /tmp/101/
|
mariabackup: This target seems to be not prepared yet.
|
mariabackup: xtrabackup_logfile detected: size=2097152, start_lsn=(1616733)
|
mariabackup: using the following InnoDB configuration for recovery:
|
mariabackup: innodb_data_home_dir = ./
|
mariabackup: innodb_data_file_path = ibdata1:10M:autoextend
|
mariabackup: innodb_log_group_home_dir = ./
|
mariabackup: innodb_log_files_in_group = 1
|
mariabackup: innodb_log_file_size = 2097152
|
mariabackup: using the following InnoDB configuration for recovery:
|
mariabackup: innodb_data_home_dir = ./
|
mariabackup: innodb_data_file_path = ibdata1:10M:autoextend
|
mariabackup: innodb_log_group_home_dir = ./
|
mariabackup: innodb_log_files_in_group = 1
|
mariabackup: innodb_log_file_size = 2097152
|
mariabackup: Starting InnoDB instance for recovery.
|
mariabackup: Using 104857600 bytes for buffer pool (set by --use-memory parameter)
|
...
|
but this should be clearly and explicitly documented. As a side note, Enterprise Documentation also says nothing useful about this option.