mysql:basic_setting_55
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
mysql:basic_setting_55 [2014/05/27 08:46] – clownclown | mysql:basic_setting_55 [2025/02/16 13:53] (現在) – 外部編集 127.0.0.1 | ||
---|---|---|---|
行 1: | 行 1: | ||
====== MySQL5.5系の基本設定 ====== | ====== MySQL5.5系の基本設定 ====== | ||
+ | |||
+ | [mysqld] | ||
character-set-server=utf8 | character-set-server=utf8 | ||
行 7: | 行 9: | ||
innodb_file_format=Barracuda | innodb_file_format=Barracuda | ||
innodb_file_per_table=1 | innodb_file_per_table=1 | ||
+ | |||
+ | |||
+ | |||
+ | innodb_additional_mem_pool_size = 割り当て可能なメモリの80% | ||
+ | innodb_buffer_pool_size = エラーログにエラーが出ない程度 | ||
+ | innodb_log_buffer_size = 8MB ~ 64MB | ||
+ | innodb_log_file_size = 1MB ~ 4GB、大きい方が良いが以下に注意。 | ||
+ | > innodb_buffer_pool_size > innodb_log_file_size * innodb_log_files_in_group | ||
+ | > (innodb_log_files_in_groupはデフォルト2) |
mysql/basic_setting_55.1401180361.txt.gz · 最終更新: 2025/02/16 13:50 (外部編集)