We are using server this theses parameters: 8 cores CPU 18GB RAM MySQL version 5.5
We would like to get the best performance. The DB is InnoDB type. I would like to know your experience and maybe you help me for performance.
[client] #password = [your_password] port = 3306 socket = /var/run/mysqld/mysqld.sock [mysqld] port = 3306 socket = /var/run/mysqld/mysqld.sock back_log = 100 max_connections = 151 max_connect_errors = 10 table_open_cache = 2048 max_allowed_packet = 16M binlog_cache_size = 1M max_heap_table_size = 128M read_buffer_size = 2M read_rnd_buffer_size = 16M sort_buffer_size = 16M join_buffer_size = 16M thread_cache_size = 8 thread_concurrency = 8 query_cache_size = 256M query_cache_limit = 32M ft_min_word_len = 4 memlock innodb = ON thread_stack = 192K transaction_isolation = REPEATABLE-READ tmp_table_size = 128M log-bin=/var/lib/mysql/log/mysql-bin.log binlog-do-db=db_X1 binlog-do-db=db_X2 binlog-do-db=db_X3 binlog-do-db=db_X4 binlog-do-db=db_X5 binlog-do-db=db_X6 slow_query_log = 1 slow_query_log_file = /var/log/mysql/slow_query.log long_query_time = 10 #*** MyISAM Specific options key_buffer_size = 64M bulk_insert_buffer_size = 64M myisam_sort_buffer_size = 128M myisam_max_sort_file_size = 10G myisam_repair_threads = 1 myisam_recover # *** INNODB Specific options *** innodb_additional_mem_pool_size = 512M innodb_buffer_pool_size = 12G innodb_data_file_path = ibdata1:20G:autoextend innodb_write_io_threads = 32 innodb_read_io_threads = 32 innodb_thread_concurrency = 16 innodb_flush_log_at_trx_commit = 1 innodb_log_buffer_size = 8M innodb_log_file_size = 1024M innodb_log_files_in_group = 3 innodb_max_dirty_pages_pct = 90 innodb_lock_wait_timeout = 120 [mysqldump] quick max_allowed_packet = 16M [mysql] no-auto-rehash [myisamchk] key_buffer_size = 512M sort_buffer_size = 512M read_buffer = 8M write_buffer = 8M [mysqlhotcopy] interactive-timeout [mysqld_safe] open-files-limit = 8192 Is it correct settings for best performance?