#-(0)> cat /etc/my.cnf [mysqld] ## Files back_log = 300 open-files-limit = 1024 open-files = 1024 port = 3306 socket = /var/lib/mysql/mysql.sock pid-file = /var/lib/mysql/mysql.pid ## Logging #log log_error log_warnings log_bin=iadkelydb-cluster-bin log_slow_queries log_queries_not_using_indexes #relay_log= max_binlog_size=512M ## Buffers and Connections key_buffer = 128M max_allowed_packet = 64M table_cache = 64M sort_buffer_size = 4M read_buffer_size = 4M read_rnd_buffer_size = 128M thread_cache_size = 8 query_cache_size = 512M max_connections = 650 max_connect_errors = 100 ## Default Table Settings default_table_type = MYISAM ## Number of CPU's*2 for thread_concurrency thread_concurrency = 8 ## Replication #server_id = #master_host= #master_user='' #master_password='' #read_only ## MyISAM Engine myisam_sort_buffer_size = 4096M myisam_max_sort_file_size = 20G myisam_max_extra_sort_file_size = 10G myisam_repair_threads = 8 myisam_recover ## InnoDB Engine innodb_data_home_dir = /var/lib/mysql/ innodb_data_file_path = ibdata1:1000M;ibdata2:10M:autoextend innodb_log_group_home_dir = /var/lib/mysql/ innodb_log_arch_dir = /var/lib/mysql/ innodb_buffer_pool_size = 2048M innodb_additional_mem_pool_size = 1024M innodb_file_per_table innodb_flush_log_at_trx_commit = 1 innodb_log_buffer_size = 32M innodb_lock_wait_timeout = 60 innodb_flush_method=O_DIRECT ## Only use if you have a RAID with battery backed cache #sync_binlog ## TX Isolation transaction-isolation=READ-COMMITTED #innodb_force_recovery=6 [mysqldump] quick max_allowed_packet = 16M