Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [mysqld]
- local-infile=0
- datadir=/var/lib/mysql
- socket=/var/lib/mysql/mysql.sock
- user=mysql
- # Disabling symbolic-links is recommended to prevent assorted security risks
- symbolic-links=0
- # Performance optimisations - 07/03/2018
- bulk_insert_buffer_size = 64M
- innodb_autoextend_increment = 512
- #innodb_buffer_pool_instances = 8
- innodb_buffer_pool_size = 16G
- innodb_flush_log_at_trx_commit = 2
- innodb_flush_method = O_DIRECT
- innodb_log_buffer_size = 8M
- innodb_log_file_size = 256M
- innodb_thread_concurrency = 10
- join_buffer_size = 16M
- key_buffer = 32M
- key_buffer_size = 64M
- max_allowed_packet = 16M
- max_connections = 200
- max_heap_table_size = 256M
- myisam_max_extra_sort_file_size = 10G
- myisam_max_sort_file_size = 10G
- myisam_repair_threads = 1
- myisam_sort_buffer_size = 128M
- query_cache_limit = 2M
- query_cache_size = 64M
- query_cache_type = 0
- read_buffer_size = 16M
- read_rnd_buffer_size = 4M
- sort_buffer_size = 16M
- table_open_cache = 2000
- thread_cache_size = 4
- tmp_table_size = 256M
- # =======================================
- [mysqld_safe]
- log-error=/var/log/mysqld.log
- pid-file=/var/run/mysqld/mysqld.pid
- # Logging
- general_log = 0
- general_log_file = /var/log/mysql/query.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement