Mysql 优化实战

innodb_buffer_pool_size = 4G

目前来看 数据库服务器空闲内存 13G, 实际只用了2G

先把测试环境的设置为4G看看

free -m

然后
service mysql stop
service mysql start

登陆进入
SELECT @@innodb_buffer_pool_size;

猜你喜欢

转载自blog.csdn.net/weixin_34342905/article/details/87513128