forked from beego/orm-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
my.cnf
53 lines (40 loc) · 1000 Bytes
/
my.cnf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[mysqld]
character-set-server=utf8
max_connections=1000
wait_timeout=300
interactive_timeout=300
skip-external-locking
skip-name-resolve
skip-host-cache
concurrent_insert = 2
innodb_buffer_pool_size = 2G
innodb_log_buffer_size = 16M
innodb_log_file_size = 128M
innodb_log_files_in_group = 2
innodb_lock_wait_timeout=120
innodb_thread_concurrency = 16
innodb_flush_log_at_trx_commit = 2
innodb_log_files_in_group = 3
innodb_max_dirty_pages_pct = 90
innodb_file_per_table = 0
transaction_isolation = READ-COMMITTED
back_log = 600
open_files_limit = 10240
max_heap_table_size = 256M
tmp_table_size = 256M
sort_buffer_size = 2M
join_buffer_size = 2M
read_buffer_size = 1M
read_rnd_buffer_size = 16M
bulk_insert_buffer_size = 64M
key_buffer_size = 128M
max_allowed_packet = 32M
thread_stack = 192K
thread_cache_size = 300
query_cache_limit = 4M
query_cache_min_res_unit = 2k
query_cache_size = 32M
binlog_cache_size = 4M
max_binlog_cache_size = 8M
expire_logs_days = 7
max_binlog_size = 200M