Skip to content

Commit a98a04d

Browse files
authored
Update mysql-logs.md
疑为redo log,否则就变成了“binlog如同binlog”,搁这搁这
1 parent e2a8579 commit a98a04d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/database/mysql/mysql-logs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ tag:
212212

213213
虽然性能得到提升,但是机器宕机,`page cache`里面的 binlog 会丢失。
214214

215-
为了安全起见,可以设置为`1`,表示每次提交事务都会执行`fsync`,就如同**binlog 日志刷盘流程**一样。
215+
为了安全起见,可以设置为`1`,表示每次提交事务都会执行`fsync`,就如同**redo log 日志刷盘流程**一样。
216216

217217
最后还有一种折中方式,可以设置为`N(N>1)`,表示每次提交事务都`write`,但累积`N`个事务后才`fsync`
218218

0 commit comments

Comments
 (0)