Should I turn off Query Cache in MySQL?
问题 I'm using a dedicated server with 32GB RAM and an 8-core server, using Maria DB 10.1 and most tables are InnoDB. Total DB size is less than 2GB but I think performance is slow. The following is the my.cnf file I'm using: [mysqld] log-error=/home/MySQL_Server/mysql/dedi.server.co.err datadir=/home/MySQL_Server/mysql pid-file=/home/MySQL_Server/mysqlmysqld.pid innodb_file_per_table=1 skip-name-resolve=1 bind-address=127.0.0.1 #skip-networking=1 #query_cache_type=0 query_cache_type=1 innodb_file