快速預(yù)熱buffer_pool
MySQL管理之道,優(yōu)化P82頁##innodb_buffer_pool_dump_at_shutdown=1
#innodb_buffer_pool_dump_now=1 --關(guān)閉時開啟這兩個參數(shù)
innodb_buffer_pool_load_at_startup=1
innodb_buffer_pool_load_now=1 ---啟動時開啟這兩個參數(shù)
關(guān)閉日志:
-
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
注意:
新聞標(biāo)題:【Mysql】mysql快速預(yù)熱innodb_buffer_pool
當(dāng)前URL:
http://weahome.cn/article/gcgghj.html