0
点赞
收藏
分享

微信扫一扫

MySQL 配置文件参数详解

三千筱夜 2022-01-28 阅读 46


MySQL 配置文件参数详解

  • ​innodb_log_buffer_size=1M​
The size of the buffer InnoDB uses for buffering log data. As soon as  it is full, 
InnoDB will have to flush it to disk. As it is flushed once per second anyway,
it does not make sense to have it very large (even with long transactions).

不管怎样,因为log是每秒钟刷写一次,所以将其设置成很大是没有意义的(即使有一个很长的事务)



举报

相关推荐

0 条评论