MySQL 配置文件参数详解

阅读 46

2022-01-28


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)

0 0 举报