So I ran the mysql updater months ago to switch my server to MariaDB 10.1. The issue is that I never made changes to the my.cnf file, so I am not sure if I am actually optimizing MariaDB and using it properly. Below is my my.cnf file. I have 2 main questions:
1) Should I have specific entries for MariaDB in it?
2) Should I be using the MYISAM storage engine. It looks like the Aria is better.
How can I add the changes I need to utilize MariaDB and Aria?
1) Should I have specific entries for MariaDB in it?
2) Should I be using the MYISAM storage engine. It looks like the Aria is better.
How can I add the changes I need to utilize MariaDB and Aria?
Code:
[mysqld]
log-error=/var/lib/mysql/mysqld.err
performance-schema=0
bind-address=127.0.0.1
innodb_file_per_table=1
open_files_limit=95535
local-infile=0
query_cache_limit=1M
query_cache_type=1
max_connections=750
max_user_connections=0
interactive_timeout=100
wait_timeout=100
connect_timeout=10
thread_cache_size=128
max_connect_errors=100
innodb_log_buffer_size=10M
table_open_cache=3500
innodb_buffer_pool_size=2G
low_priority_updates=1
concurrent_insert=ALWAYS
table_definition_cache=3000
bulk_insert_buffer_size=500M
# Global, Non Engine-Specific Buffers
max_allowed_packet=64M
max_heap_table_size=8192M
query_cache_size=32M
tmp_table_size=8192M
query_cache_size=128M
# Per-Thread Buffers
read_buffer_size=8M
join_buffer_size=64M
# MyISAM
key_buffer_size=7G
myisam_sort_buffer_size=64M
default-storage-engine=MyISAM
[mysqld_safe]
log-error="/var/log/mysqld.log"
#log slow
#slow_query_log=1
#log-queries-not-using-indexes=1
#long_query_time=1
slow_query_log=1
slow_query_log_file="/var/log/mysql-slow-queries.log"