mysql连接段提交与半同步复制
2021-05-02 16:09:22 0 举报
MySQL两阶段提交流程与半同步复制步骤
作者其他创作
大纲/内容
page cache
Relay log: hard disk
redo log buffer
binlog: fsync
Dump thread
redo log prepare: fsync
Client
Commit OK
写入Relay log
Commit
redo log prepare: write
binlog cache
Sending binlog
binlog: write
hard disk
redo log commit: write
Master
SQL thread: 执行 relay log
读取 binlog
Slave
ACK: Relay log已写完
ACK from Slave
IO thread
0 条评论
下一页