Skip to content

Commit

Permalink
Merge pull request #2385 from TedLau/patch-5
Browse files Browse the repository at this point in the history
Update read-and-write-separation-and-library-subtable.md
  • Loading branch information
Snailclimb committed May 3, 2024
2 parents 173b9ad + d421263 commit 71be325
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ MySQL binlog(binary log 即二进制日志文件) 主要记录了 MySQL 数据
3. 从库会创建一个 I/O 线程向主库请求更新的 binlog
4. 主库会创建一个 binlog dump 线程来发送 binlog ,从库中的 I/O 线程负责接收
5. 从库的 I/O 线程将接收的 binlog 写入到 relay log 中。
6. 从库的 SQL 线程读取 relay log 同步数据本地(也就是再执行一遍 SQL )。
6. 从库的 SQL 线程读取 relay log 同步数据到本地(也就是再执行一遍 SQL )。

怎么样?看了我对主从复制这个过程的讲解,你应该搞明白了吧!

Expand Down

0 comments on commit 71be325

Please sign in to comment.