当前位置:   article > 正文

mysql wrnning Difficult to find free blocks in the buffer pool解决方法

mysql wrnning Difficult to find free blocks in the buffer pool解决方法

mysql [InnoDB] Difficult to find free blocks in the buffer pool (140397 search iterations)!

我使用的是mysql8,。

原因:这种情况,多半出现在别人在非常大的写入,或者百万级的查询中。

解决方式,centos7在线安装的mysql,

直接

systemctl stop mysqld

vi /etc/my.cnf
在里面加一条

innodb_buffer_pool_size = 2G

ps -ef|grep mysql,然后Kill -9掉

重启mysql

systemctl start mysqld

systemctl status mysqld

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号