快速预热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 ---启动时开启这两个参数
关闭日志:
-
2016-07-13T07:58:55.450965Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
-
2016-07-13T07:58:55.451435Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 160713 15:58:55
开启日志
-
2016-07-13T08:00:15.642531Z 0 [Note] InnoDB: 5.7.9 started; log sequence number 2489080
-
2016-07-13T08:00:15.643271Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
注意: