全文検索:
- 12 Galera Permission Error
- 。 なんと原因はSELinuxでした。。。 無駄にハマってしまったのでメモ(^^; 2017-02-24 05:19:48 5848 [ERROR] WSREP: Permission denied 2017-02-24 05:19:48 5848 [ERROR] WSREP: failed to open gc... at gcomm/src/asio_tcp.cpp:listen():777 2017-02-24 05:19:48 5848 [ERROR] WSREP: gcs/src/gcs_core.... ackend connection: -13 (Permission denied) 2017-02-24 05:19:48 5848 [ERROR] WSREP: gcs/src/gcs.cpp:g
- 15 InnoDB テーブルロック
- | 40 | +----+--------+-----+ 3 rows in set (0.02 sec) </code> <code> create table lock_test ( i... ------------------------+-------+ 1 row in set (0.02 sec) </code> ===== インデックス張っている方は行ロックとなる ===== <
- 18 CentOS7 MariaDB
- ==== エラー ==== <code> Feb 6 17:38:56 hoge sh: 2020-02-06 17:38:56 0 [Warning] Can't create test file /home/mysql/hoge .lower-test Feb 6 17:38:56 hoge ... uch file or directory") Feb 6 17:38:56 hoge sh: 2020-02-06 17:38:56 0 [ERROR] Aborting' </code> ==== 対応 ==== <code> vi /usr/lib/systemd/system/mariadb.
- 02 MySQL max_connections
- ====== 02 MySQL max_connections ====== ===== 確認方法 ===== <code console> mysql> show GLOBAL VARIABLES ... 744073709551615 | | max_length_for_sort_data | 1024 | | max_long_data_size |... 744073709551615 | | max_sort_length | 1024 | | max_sp_recursion_depth |
- 09 Galera + innodb_flush_log_at_trx_commit
- Average number of seconds to run all queries: 32.026 seconds Minimum number of seconds to run all queries: 32.026 seconds Maximum number of seconds to run all queries: 32.026 seconds Number of clients running queries: 20 ... 91 | AAAA | +-------+------+ 17985 rows in set (0.02 sec) -Secondary | 3881 | AAAA | | 3882 | AAAA
- 10 InnoDBパフォーマンス
- ib_logfile14 -rw-rw---- 1 mysql mysql 256M 7月 20 02:58 2016 ib_logfile15 -rw-rw---- 1 mysql mysql 256
- 50 MySQLベンチマーク(sysbench)
- IED BY '[PASSWORD]'; Query OK, 0 rows affected (0.02 sec) </code> ==== 初期設定 ==== <code> sysbench \ -... 31ms max: 1028.61ms approx. 95 percentile:
- 52 MySQLQ sysbench 1.0
- 3811897 other: 2025506 total: 1945... started! CPU speed: events per second: 920.02 General statistics: total time: ... lowing options: block size: 1KiB total size: 102400MiB operation: write scope: global Initial... 0.0012s total number of events: 20261233 Latency (ms): min: