-
-
Save barunio/1057175 to your computer and use it in GitHub Desktop.
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
# key innodb settings to boost performance | |
# To install (root required): | |
# - shutdown mysql | |
# - linux: edit /etc/mysql/my.cnf, rm /var/lib/mysql/ib_logfile* | |
# - OS X: edit /etc/my.cnf, rm /usr/local/mysql/data/ib_logfile* | |
# - start mysql | |
# recommend 256-512M for development, use more if you have it. 75%+ for a dedicated db. | |
innodb_buffer_pool_size = 256M | |
# 0=flush+fsync/sec, 1=flush+fsync/commit, 2=flush/commit, fsync/sec | |
# since development is not critical data, recommend use 0 | |
# use 1 in production! | |
innodb_flush_log_at_trx_commit = 0 | |
innodb_additional_mem_pool_size = 16M | |
innodb_file_io_threads = 4 | |
innodb_thread_concurrency = 16 | |
innodb_log_buffer_size = 8M | |
innodb_log_file_size = 256M | |
innodb_log_files_in_group = 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment