-
Notifications
You must be signed in to change notification settings - Fork 3
/
my.cnf
46 lines (42 loc) · 1.17 KB
/
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
[mysqld]
innodb_buffer_pool_size = 64G
innodb_log_file_size = 32G
innodb_page_size = 16384
innodb_buffer_pool_instances = 16
innodb_buffer_pool_load_at_startup = 1
innodb_buffer_pool_dump_at_shutdown = 1
innodb_lru_scan_depth = 4096
innodb_lock_wait_timeout = 5
innodb_io_capacity = 10000
innodb_io_capacity_max = 20000
innodb_flush_method = O_DIRECT
innodb_undo_logs = 128
innodb_undo_tablespaces = 3
innodb_flush_neighbors = 0
innodb_log_files_in_group = 2
innodb_log_buffer_size = 16M
innodb_purge_threads = 4
innodb_large_prefix = 1
innodb_thread_concurrency = 64
innodb_print_all_deadlocks = 1
innodb_strict_mode = 1
innodb_write_io_threads = 16
innodb_read_io_threads = 16
innodb_file_per_table = 1
innodb_stats_persistent_sample_pages = 64
innodb_autoinc_lock_mode = 2
default-storage-engine = INNODB
innodb_file_per_table = 1
innodb_flush_log_at_trx_commit = 2
innodb_data_file_path = ibdata1:5G;ibdata2:5G:autoextend
innodb-print-all-deadlocks = 1
innodb_adaptive_flushing=1
innodb_max_dirty_pages_pct = 60
innodb_sync_spin_loops = 100
innodb_spin_wait_delay = 30
innodb_online_alter_log_max_size = 1G
skip-name-resolve
skip-grant-tables
[mysqld_safe]
thp-setting=never
malloc-lib=tcmalloc