Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [mysql]
- # CLIENT #
- port = 3306
- socket = /var/run/mysqld/mysqld.sock
- [mysqld]
- # GENERAL #
- USER = mysql
- default_storage_engine = MyISAM
- socket = /var/run/mysqld/mysqld.sock
- pid_file = /var/run/mysqld/mysqld.pid
- # MyISAM #
- key_buffer_size = 10G
- myisam_recover = FORCE,BACKUP
- # SAFETY #
- max_allowed_packet = 16M
- max_connect_errors = 1000000
- # DATA STORAGE #
- datadir = /mnt/storage2TB/MySQL/DATA/
- # CACHES AND LIMITS #
- tmp_table_size = 2G
- max_heap_table_size = 3G
- query_cache_type = 0
- query_cache_size = 0
- max_connections = 2000
- thread_cache_size = 500
- open_files_limit = 100535
- table_definition_cache = 1024
- table_open_cache = 1
- # INNODB #
- innodb_flush_method = O_DSYNC
- innodb_log_files_in_group = 2
- innodb_log_file_size = 32M
- innodb_flush_log_at_trx_commit = 2
- innodb_file_per_table = 1
- innodb_buffer_pool_size = 500M
- # LOGGING #
- log_error = /var/lib/mysql/mysql-error.log
- log_queries_not_using_indexes = 1
- slow_query_log = 1
- slow_query_log_file = /var/lib/mysql/mysql-slow.log
- max_delayed_threads = 600
- delayed_queue_size = 100000
- myisam_sort_buffer_size = 2G
- concurrent_insert = ALWAYS
- myisam_max_sort_file_size = 100G
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement