成都网站建设设计

将想法与焦点和您一起共享

【Mysql】mysql快速预热innodb_buffer_pool

快速预热buffer_pool
MySQL管理之道,优化P82页

##innodb_buffer_pool_dump_at_shutdown=1          
#innodb_buffer_pool_dump_now=1        --关闭时开启这两个参数
innodb_buffer_pool_load_at_startup=1
innodb_buffer_pool_load_now=1           ---启动时开启这两个参数

关闭日志:
  1. 2016-07-13T07:58:55.450965Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
  2. 2016-07-13T07:58:55.451435Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 160713 15:58:55

开启日志
  1. 2016-07-13T08:00:15.642531Z 0 [Note] InnoDB: 5.7.9 started; log sequence number 2489080
  2. 2016-07-13T08:00:15.643271Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool

注意:【Mysql】mysql快速预热innodb_buffer_pool

网站题目:【Mysql】mysql快速预热innodb_buffer_pool
分享地址:http://chengdu.cdxwcx.cn/article/gcgghj.html