Here is part of the definition for "innodb_flush_log_at_trx_commit". If the value of innodb_flush_log_at_trx_commit is 0, the log buffer is written out to the log file once per second and the flush to disk operation is performed on the log file, but nothing is done at a transaction commit.
I am a little confused. Are "the log buffer is written out to the log file" and "the flush to disk operation is performed on the log file" the same thing? "the flush to disk operation is performed on the log file" means flush the log buffer to the log file on disk, correct?
From my understanding, the key of your confusion is OS buffer.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.