版权声明:如若转载,请联系作者。 https://blog.csdn.net/liu16659/article/details/83342645
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是每秒钟刷写一次,所以将其设置成很大是没有意义的(即使有一个很长的事务)