开发者

MySql innodb_buffer_pool_size for improving performance

开发者 https://www.devze.com 2023-03-07 17:17 出处:网络
Can we set MySql innodb_buffer_pool_size 开发者_StackOverflowdynamically ? We can do the same at startup my modifying the my.cnf.In short: no, it is only a server startup parameter (according to this

Can we set MySql innodb_buffer_pool_size 开发者_StackOverflowdynamically ? We can do the same at startup my modifying the my.cnf.


In short: no, it is only a server startup parameter (according to this manual page).

You can find all dynamic system variables here (for version 5.1):

  • http://dev.mysql.com/doc/refman/5.1/de/dynamic-system-variables.html


Currently not. But it will be possible in 5.7:

https://dev.mysql.com/doc/refman/5.7/en/innodb-buffer-pool-online-resize.html

Older versions need a restart to change that setting.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号