已采纳回答 / 大老唐
0和2都是每秒从缓冲区写入文件一次。区别是commit操作时,0不做任何操作,为2 的时候,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 ...
2016-02-20
老师讲的挺好。至于有些人说不懂名词,那也没办法,程序员听不懂io这个词啥意思,那能怪谁呢。至于离散度,老师都举例子说明了,难道还要给读个概念,才能理解么。
2016-02-20