MYSQL ibtmp file surge

It is very weird collection MYSQL disk alarm, arguably MYSQL using less than 20 percent, today suddenly burst disk.

MYSQL version is: 5.7.15

[root@kube-node1 data]# ll -h /data/mysql/data/ibtmp1
-rw-r----- 1 mysql mysql 501G Nov 19 06:21 /data/mysql/data/ibtmp1
[root@kube-node1 data]#

And then view the official website to know why, because there are a lot of great results in increased transaction execution,

Modify the configuration file

innodb_temp_data_file_path      =ibtmp1:12M:autoextend:max:2G

Zero control Innodb temp file maximum size.

Only restart to take effect in order to lift this failure.

 

Guess you like

Origin www.cnblogs.com/webnginx/p/11888502.html