首页 > 数据库 > MySQL > 正文

mysql迅速预热innodb_buffer_pool

2024-07-24 12:32:14
字体:
来源:转载
供稿:网友
        快速预热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

(编辑:武林网)

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表