Current File : //etc/mysql/mariadb.conf.d/90-tuning.cnf
#
# KeyHelp Tuning Settings
# System Memory: < 2 GB
#

[mysqld]

# MySQL Tuning
performance_schema      = ON
max_connections         = 200
key_buffer_size         = 250M
max_allowed_packet      = 16M
thread_stack            = 256K
tmp_table_size          = 128M
max_heap_table_size     = 128M
thread_cache_size       = 150
table_cache             = 8192
table_definition_cache  = 8192
open_files_limit        = 16544
sql_mode = ""

# InnoDB Configuration
innodb_file_per_table   = 1
innodb_buffer_pool_size = 500M
innodb_log_file_size = 125M

# Query Cache Configuration
query_cache_limit       = 64M
query_cache_size        = 512M
query_cache_type        = 1