Files
nexus/sreweekly/markdown/37/05-gh-ost-github-s-online-schema-migration-tool-for-mysql-zh.md

14 lines
651 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# gh-ost:GitHub 的 MySQL 在线表结构变更工具
- **期号**: SRE Weekly Issue #37(2016-08-28)
- **作者**: —
- **链接**: http://githubengineering.com/gh-ost-github-s-online-migration-tool-for-mysql/
## 简介
我熟悉的其它在线表结构变更工具(比如 pt-online-schema-change)会借助触发器,在逐行拷贝旧数据的同时让新表与实时变更保持同步。而 gh-ost 另辟蹊径——它把自己伪装成一个复制从库来监听变更,非常聪明!这篇文章讲了多个理由,说明为什么这种方案要好得多。
## 正文
正在跳转…
如果未自动跳转,请点击此处。