система на xampp, 4GB 4ядра 3.2GHZ
[client]
port = 3306
socket = "/xampp/mysql/mysql.sock"
[mysqld]
port = 3306
socket = "/xampp/mysql/mysql.sock"
lower_case_table_names=1
basedir = "/xampp/mysql"
tmpdir = "/xampp/tmp"
datadir = "/xampp/mysql/data"
pid_file = "mysql.pid"
# enable-named-pipe
bulk_insert_buffer_size = 2048M
read_buffer_size = 64M
read_rnd_buffer_size = 64M
myisam_sort_buffer_size = 64M
log_error = "mysql_error.log"
plugin_dir = "/xampp/mysql/lib/plugin/"
skip-external-locking
table_open_cache = 2048
innodb_open_files = 2048
thread_cache_size = 64
query_cache_size = 256M
query_cache_limit = 2M
thread_concurrency = 8
tmp_table_size = 512M
join_buffer_size = 256M
max_heap_table_size = 512M
#loggin
slow_query_log
long_query_time = 2
##
server-id = 1
innodb_data_home_dir = "/xampp/mysql/data"
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = "/xampp/mysql/data"
# You can set .._buffer_pool_size up to 50 - 80 % of RAM but beware of setting memory usage too high
innodb_buffer_pool_size = 2048M
innodb_buffer_pool_instances = 4
innodb_additional_mem_pool_size = 20M
# Set .._log_file_size to 25 % of buffer_pool_size
innodb_log_file_size = 128M
innodb_log_buffer_size = 16M
innodb_flush_log_at_trx_commit = 0
innodb_lock_wait_timeout = 30
innodb_read_io_threads = 16
innodb_write_io_threads = 16
innodb_stats_on_metadata = 0
thread_stack = 256K
max_connections = 150
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
[myisamchk]
key_buffer = 512M
sort_buffer_size = 512M
read_buffer = 8M
write_buffer = 8M
[mysqlhotcopy]
interactive-timeout
default-storage-engine = InnoDB