全文検索:
- 10 InnoDBパフォーマンス @01_linux:11_データベース:01_mysql
- _pool_sizeは、DBのみ動作の場合物理メモリの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を分割して保存する
- 52 MySQLQ sysbench 1.0 @01_linux:11_データベース:01_mysql
- ddev): 299.8689/0.00 </code> ===== CPU/Memory/Fileio ===== ==== CPU ==== <code> # sysbench cpu run ... on time (avg/stddev): 4.8033/0.00 </code> ==== Fileio ==== <code> sysbench fileio --file-total-size=1G --file-test-mode=rndrw --time=300 --max-requests=0 prepare sysbench fileio --fil
- 51 MySQLベンチマーク(mysqlslap) @01_linux:11_データベース:01_mysql
- ONS] Default options are read from the following files in the given order: /etc/my.cnf /etc/mysql/my.cn... 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 t
- 14 MariaDB @01_linux:11_データベース:01_mysql
- 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構築 @01_linux:11_データベース:01_mysql
- = 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 they'll be ignored. # WSREP NOTE: additional wsrep confi
- 13 mysql56 + galera3 @01_linux:11_データベース:01_mysql
- _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_additional_mem_pool_size=20M innodb_log_buffer_size=1... [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [client] socket=/v
- 01 PostgreSQL streaming replica @01_linux:11_データベース:02_postgresql
- de> cat << __EOM__ | tee /var/lib/pgsql/.pgsql_profile PATH=/usr/pgsql-13/bin:$PATH export PATH __EOM__ source /var/lib/pgsql/.pgsql_profile </code> ===== PGDATA変更 ===== <code> # vi /var/lib/pgsql/.bash_profile #PGDATA=/var/lib/pgsql/12/data PGDATA=/data source /var/lib/pgsql/.bash_profile </code> ===== パスワード ===== <code> # su - postgre
- 05 Percona Xtrabackup @01_linux:11_データベース:01_mysql
- :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.
- 18 CentOS7 MariaDB @01_linux:11_データベース:01_mysql
- 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テーブル分割 @01_linux:11_データベース:01_mysql
- cnf [mysqld] default-storage-engine=InnoDB innodb_file_per_table skip-innodb-doublewrite # リストアが早くなる </
- 19 MySQL ログローテート @01_linux:11_データベース:01_mysql
- then /usr/bin/mysqladmin --defaults-extra-file=/root/.my.cnf flush-logs fi endscript }
- 01 Redisインストール @01_linux:11_データベース:03_redis
- me Stream Profiles Summary