Skip to content

Instantly share code, notes, and snippets.

@FrancisVarga
Created May 2, 2013 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FrancisVarga/5502084 to your computer and use it in GitHub Desktop.
Save FrancisVarga/5502084 to your computer and use it in GitHub Desktop.
mysql bullshit!
# Fine Tuning
max_allowed_packet = 20M
thread_stack = 192K
myisam-recover = BACKUP
max_connections = 2048
open_files_limit = 32768
# Buffers and Caches
table_cache = 8192
tmp_table_size = 256M
sort_buffer_size = 12M
read_buffer_size = 1M
read_rnd_buffer_size = 8M
join_buffer_size = 1M
key_buffer_size = 128M
character_set_server = utf8
collation_server = utf8_general_ci
init-connect = 'SET NAMES utf8'
#default-time-zone = utc
innodb_buffer_pool_size = 4096M
innodb_log_buffer_size = 32M
innodb_log_file_size = 768M
innodb_thread_concurrency = 24
thread_cache_size = 64
thread_concurrency = 32
query_cache_limit = 2M
query_cache_size = 768M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment