Last active
May 24, 2016 01:09
-
-
Save putWorkDev/fcbc5096fe4a19626a93956502c3b162 to your computer and use it in GitHub Desktop.
boost mysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add in /etc/my.cnf: | |
| ---------------------------------------- | |
| key-buffer_size = 64M | |
| sort_buffer_size = 32M | |
| # | |
| ## thread buffers ## | |
| # | |
| sort_buffer_size = 5M | |
| read_buffer_size = 5M | |
| join_buffer_size = 32M | |
| read_rnd_buffer_size = 8M | |
| innodb_flush_log_at_trx_commit = 2 | |
| innodb_flush_method=O_DIRECT | |
| innodb_additional_mem_pool_size = 8M | |
| query_cache_size = 0 | |
| innodb_log_files_in_group = 2 | |
| innodb_log_file_size = 1900M | |
| ------ | |
| or | |
| ------ | |
| https://tools.percona.com/sign-in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment