Last active
August 29, 2015 14:04
-
-
Save pxwise/dcd4d6ce7f50d574f943 to your computer and use it in GitHub Desktop.
Percona Configuration for Drupal 7
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
[mysql] | |
# CLIENT # | |
port = 3306 | |
[mysqld] | |
# GENERAL # | |
user = mysql | |
# MyISAM # | |
key_buffer_size = 32M | |
myisam_recover = FORCE,BACKUP | |
# SAFETY # | |
max_allowed_packet = 64M | |
max_connect_errors = 1000000 | |
# BINARY LOGGING # | |
expire_logs_days = 14 | |
sync_binlog = 1 | |
# CACHES AND LIMITS # | |
tmp_table_size = 32M | |
max_heap_table_size = 32M | |
query_cache_type = 0 | |
query_cache_size = 0 | |
max_connections = 500 | |
thread_cache_size = 50 | |
open_files_limit = 65535 | |
table_definition_cache = 4096 | |
table_open_cache = 4096 | |
# INNODB # | |
innodb_flush_method = O_DIRECT | |
innodb_log_files_in_group = 2 | |
innodb_log_file_size = 256M | |
innodb_flush_log_at_trx_commit = 1 | |
innodb_file_per_table = 1 | |
innodb_buffer_pool_size = 4G | |
[mysqld_safe] | |
open_files_limit = 8192 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment