Hello,
Recently i have moved my site which contains Discussions: 200,340 , Messages: 2,898,916 , Members: 10,198 from VPS to a dedicated server
My Dedicated server has 32 Gb memory, 1 TB HD and Xeon E3 1240.
Recently i have upgraded Cpanel to latest version and in that process Mysql also got upgraded to version 5.7
I have the below my.cnf file during 5.6 version of mysql. can someone kindly suggest me edits to the my.cnf file to the latest version of mysql 5.7
I generally get 1000 users during peak time and about 400 to 500 users non peak time
Recently i have moved my site which contains Discussions: 200,340 , Messages: 2,898,916 , Members: 10,198 from VPS to a dedicated server
My Dedicated server has 32 Gb memory, 1 TB HD and Xeon E3 1240.
Recently i have upgraded Cpanel to latest version and in that process Mysql also got upgraded to version 5.7
I have the below my.cnf file during 5.6 version of mysql. can someone kindly suggest me edits to the my.cnf file to the latest version of mysql 5.7
I generally get 1000 users during peak time and about 400 to 500 users non peak time
[client]
port=3306
[mysqld_safe]
local-infile=0
#nice = -5
[mysqld]
sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
performance-schema=0
port=3306
#myisam_max_sort_file_size=6341787648
#tmpdir=/var/mysqltmpdir
#log-slow-queries = /tmp/mysql-slow.log
#log-queries-not-using-indexes
#key_buffer=64M
max_allowed_packet=268435456
table_open_cache=2048
#sort_buffer=1M
net_buffer_length=8K
myisam_sort_buffer_size=8M
max_connections=1000
max_user_connections=1000
interactive_timeout=1000
wait_timeout=1000
connect_timeout=100
thread_cache_size=8
#thread_cache=8
#thread_concurrency=4
myisam_sort_buffer_size=64M
query_cache_limit=2M
query_cache_size=64M
query_cache_type=1
#join_buffer=1M
sort_buffer_size=2M
read_buffer_size=2M
#max_connect_errors=10
datadir=/var/lib/mysql
#socket=/var/lib/mysql/mysql.sock
innodb_flush_log_at_trx_commit=2
innodb_lock_wait_timeout=500
innodb_file_per_table=1
#skip-innodb
#skip-name-resolv
#skip-networking
open_files_limit=10000
innodb_buffer_pool_size= 24G
default-storage-engine=MyISAM
[mysqldump]
quick
max_allowed_packet=16M
[mysql]
no-auto-rehash
#safe-updates
[isamchk]
key_buffer=20M
sort_buffer=20M
read_buffer=2M
write_buffer=2M
[myisamchk]
key_buffer=512M
sort_buffer=512M
read_buffer=8M
write_buffer=8M
[mysqlhotcopy]
interactive-timeout