[mysqld] performance-schema=0 event_scheduler = 1 open_files_limit = 9000000 log_error = /speed/mysql/error_serv.log datadir = /speed/mysql default-storage-engine=InnoDB tmp_table_size = 128M tmp_disk_table_size = 1536M max_heap_table_size = 128M max_allowed_packet = 1G max_connections = 2000 max_user_connections = 38 max_connect_errors = 5 query_cache_type = 0 query_cache_size = 0 interactive_timeout = 60 wait_timeout = 60 connect_timeout = 20 thread_stack = 192k thread_pool_max_threads = 12 transaction-isolation = REPEATABLE-READ thread_cache_size = 300 key_buffer_size = 2G sort_buffer_size = 4M read_buffer_size = 4M join_buffer_size = 4M read_rnd_buffer_size = 8M myisam_sort_buffer_size = 64M table_definition_cache = 2M table_open_cache = 500K aria_pagecache_buffer_size = 2G innodb_file_per_table innodb_purge_threads = 4 innodb_log_file_size = 2G innodb_flush_log_at_trx_commit = 2 innodb_flush_method = O_DIRECT innodb_buffer_pool_size = 21619749683 innodb_buffer_pool_dump_pct = 90 # innodb_log_write_ahead_size = 4096 innodb_read_io_threads = 32 innodb_write_io_threads = 32 innodb_io_capacity = 32000 innodb_io_capacity_max = 40000 in_predicate_conversion_threshold = 99999999 userstat = 1 unix_socket=OFF plugin-load-add=auth_socket.so [safe_mysqld] open_files_limit = 9000000 [mysqldump] quick max_allowed_packet = 1G [mysql] no-auto-rehash