here is my my.cnf
[mysqld]
sql_mode = "NO_ENGINE_SUBSTITUTION"
disable-log-bin = 1
default-authentication-plugin = mysql_native_password
performance-schema = 0
datadir = /var/lib/mysql
socket = /var/lib/mysql/mysql.sock
log-error = /var/log/mysqld.log
pid-file = /var/run/mysqld/mysqld.pid
innodb_buffer_pool_size = 134217728
max_allowed_packet = 268435456
open_files_limit=80000
innodb_file_per_table = 1
mysqlx = 0
and here is MySQL process
suddenly MySQL server getting too much slow. how can I fix this permanently? is there anything wrong or need to add at my.cnf?
[mysqld]
sql_mode = "NO_ENGINE_SUBSTITUTION"
disable-log-bin = 1
default-authentication-plugin = mysql_native_password
performance-schema = 0
datadir = /var/lib/mysql
socket = /var/lib/mysql/mysql.sock
log-error = /var/log/mysqld.log
pid-file = /var/run/mysqld/mysqld.pid
innodb_buffer_pool_size = 134217728
max_allowed_packet = 268435456
open_files_limit=80000
innodb_file_per_table = 1
mysqlx = 0
and here is MySQL process
Id | User | Host | db | Command | Time | State | Info |
---|---|---|---|---|---|---|---|
5 | event_scheduler | localhost | NULL | Daemon | 111 | Waiting on empty queue | NULL |
94 | sgxy_surapp | localhost | sgxy_surapp | Sleep | 91 | NULL | |
110 | root | localhost | NULL | Sleep | 27 | NULL | |
341 | weon_Da1 | localhost | weon_Da1 | Sleep | 9 | NULL | |
395 | root | localhost | NULL | Query | 0 | init | SHOW PROCESSLIST |
suddenly MySQL server getting too much slow. how can I fix this permanently? is there anything wrong or need to add at my.cnf?
Last edited by a moderator: