MySQL 7 在线扩容 innodb_buffer_pool_size

 

mysql>  show variables like 'innodb_buffer_pool_instances';
+------------------------------+-------+
| Variable_name                | Value |
+------------------------------+-------+
| innodb_buffer_pool_instances | 2     |
+------------------------------+-------+

mysql> show variables like 'innodb_buffer_pool_size';
 

 

 mysql>  set global innodb_buffer_pool_size=8589934592;

 

2018-04-19T06:46:38.032553Z 0 [Note] InnoDB: Resizing buffer pool from 4294967296 to 8589934592 (unit=134217728).
2018-04-19T06:46:38.032601Z 0 [Note] InnoDB: Disabling adaptive hash index.
2018-04-19T06:46:38.059309Z 1001894 [Note] InnoDB: Resizing buffer pool from 4294967296 to 8589934592 (unit=134217728). (new size: 8589934592 bytes)
2018-04-19T06:46:38.090543Z 0 [Note] InnoDB: disabled adaptive hash index.
2018-04-19T06:46:38.090593Z 0 [Note] InnoDB: Withdrawing blocks to be shrunken.
2018-04-19T06:46:38.090609Z 0 [Note] InnoDB: Latching whole of buffer pool.
2018-04-19T06:46:38.090626Z 0 [Note] InnoDB: buffer pool 0 : resizing with chunks 16 to 32.
2018-04-19T06:46:38.267048Z 0 [Note] InnoDB: buffer pool 0 : 16 chunks (131072 blocks) were added.
2018-04-19T06:46:38.267082Z 0 [Note] InnoDB: buffer pool 1 : resizing with chunks 16 to 32.
2018-04-19T06:46:38.371513Z 0 [Note] InnoDB: buffer pool 1 : 16 chunks (131072 blocks) were added.
2018-04-19T06:46:38.371645Z 0 [Note] InnoDB: Completed to resize buffer pool from 4294967296 to 8589934592.
2018-04-19T06:46:38.371652Z 0 [Note] InnoDB: Re-enabled adaptive hash index.
2018-04-19T06:46:38.371665Z 0 [Note] InnoDB: Completed resizing buffer pool at 180419 14:46:38.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值