全文検索:
- 51 MySQLベンチマーク(mysqlslap)
- Don't read default options from any option file. --defaults-file=# Only read default options from the given file #. --defaults-extra-file=# Read this file after the global files are read. -?, --help Displa
- 52 MySQLQ sysbench 1.0
- /code> ==== Fileio ==== <code> sysbench fileio --file-total-size=1G --file-test-mode=rndrw --time=300 --max-requests=0 prepare sysbench fileio --file-total-size=1G --file-test-mode=rndrw --time=300 --max-requests=0 run sysbench fileio --file-total-size=
- 14 MariaDB
- iaDB [(none)]> show global variables like 'innodb_file_per_table'; +-----------------------+-------+ | V... alue | +-----------------------+-------+ | innodb_file_per_table | ON | +-----------------------+----... [(none)]> show global variables like 'innodb_log_file_%'; +---------------------------+----------+ | Va... ------------------------+----------+ | innodb_log_file_size | 50331648 | | innodb_log_files_in_grou
- 01 Galera構築
- = 48 ##innodb_buffer_pool_size = 16G ##innodb_log_file_size = 1946M sort_buffer_size = 16M join_buffer_... [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid # # * IMPORTANT: Addi... tional settings that can override those from this file! # The files must end with '.cnf', otherwise th... ③/etc/mysql/conf.d/wsrep.cnf ===== <code> # This file contains wsrep-related mysqld options. It should
- 05 Percona Xtrabackup
- :mcaxP3bq' --datadir '/var/lib/mysql/' --defaults-file '/etc/my.cnf' --parent '9730'' sh: wsrep_sst_xtra... ocl-mysql' --datadir '/var/lib/mysql/' --defaults-file '/etc/my.cnf' --parent '32226' Read: 'Can... option in group 'mysqld' in server configuration file '/etc/my.cnf' at /usr/bin/innobackupex line 4545.
- 10 InnoDBパフォーマンス
- の70%~80%程度 innodb_log_files_in_group×innodb_log_file_size < innodb_buffer_pool_size innodb_data_file_path = ibdata1:1G innodb_log_file_size=256M innodb_log_files_in_group=20 下記のようにib_lobfileを分割して保存する
- 13 mysql56 + galera3
- _mode=2 innodb_flush_log_at_trx_commit=0 innodb_file_per_table=on innodb_buffer_pool_size=20G innodb_log_file_size=256M innodb_log_files_in_group=20 #innodb_... [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [client] socket=/v
- 18 CentOS7 MariaDB
- 2020-02-06 17:38:56 0 [Warning] Can't create test file /home/mysql/hoge .lower-test Feb 6 17:38:56 hoge... change dir to '/home/mysql/' (Errcode: 2 "No such file or directory") Feb 6 17:38:56 hoge sh: 2020-02-0
- 03 InnoDBテーブル分割
- cnf [mysqld] default-storage-engine=InnoDB innodb_file_per_table skip-innodb-doublewrite # リストアが早くなる </
- 19 MySQL ログローテート
- then /usr/bin/mysqladmin --defaults-extra-file=/root/.my.cnf flush-logs fi endscript }