Skip to content

Instantly share code, notes, and snippets.

@nikos-glikis
Created June 24, 2018 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikos-glikis/bbcf2035458dc531e84709c0e36caed6 to your computer and use it in GitHub Desktop.
Save nikos-glikis/bbcf2035458dc531e84709c0e36caed6 to your computer and use it in GitHub Desktop.
# Generated by Percona Configuration Wizard (http://tools.percona.com/) version REL5-20120208
# Configuration name server generated for a1565408@mvrht.net at 2018-06-10 10:08:14
[mysql]
# CLIENT #
port = 3306
socket = /var/lib/mysql/mysql.sock
[mysqld]
#custom added 000
interactive_timeout= 28800000
lock_wait_timeout= 86400000
innodb_lock_wait_timeout=120000
net_read_timeout = 120000
wait_timeout = 120000
#custom end
innodb_ft_cache_size = 2G
innodb_ft_total_cache_size = 2G
#custom
tmp_table_size=128M
max_heap_table_size=128M
#custom end
# GENERAL #
user = mysql
default-storage-engine = InnoDB
socket = /var/lib/mysql/mysql.sock
pid-file = /var/lib/mysql/mysql.pid
# MyISAM #
key-buffer-size = 32M
myisam-recover-options = FORCE,BACKUP
# SAFETY #
max-allowed-packet = 16M
max-connect-errors = 1000000
# DATA STORAGE #
datadir = /var/lib/mysql/
# CACHES AND LIMITS #
tmp-table-size = 32M
max-heap-table-size = 32M
query-cache-type = 0
query-cache-size = 0
max-connections = 500
thread-cache-size = 50
open-files-limit = 65535
table-definition-cache = 1024
table-open-cache = 2048
# INNODB #
innodb-flush-method = O_DIRECT
innodb-log-files-in-group = 2
innodb-log-file-size = 512M
innodb-flush-log-at-trx-commit = 1
innodb-file-per-table = 1
innodb-buffer-pool-size = 6G
# 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
[mysqldump]
quick
max_allowed_packet = 3G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment