項目介紹
名稱: yugong
譯意: 愚公移山
語言: 純java開發
定位: 資料庫遷移 (目前主要支援oracle / mysql / DRDS)
https://github.com/alibaba/yugong#%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D-1
整個資料遷移過程,分為兩部分:
- 全量遷移
- 增量遷移

過程描述:
- 增量資料收集 (建立oracle表的增量物化視圖)
- 進行全量複制
- 進行增量複制 (可并行進行資料校驗)
- 原庫停寫,切到新庫
架構
{width="584" height="206"}
說明:
- 一個Jvm Container對應多個instance,每個instance對應于一張表的遷移任務
- instance分為三部分 a. extractor (從源資料庫上提取資料,可分為全量/增量實作) b. translator (将源庫上的資料按照目标庫的需求進行自定義轉化) c. applier (将資料更新到目标庫,可分為全量/增量/對比的實作)
https://github.com/alibaba/yugong#%E6%96%B9%E6%A1%88%E8%AE%BE%E8%AE%A1 方案設計
DevDesignhttps://github.com/alibaba/yugong#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B 快速開始
QuickStarthttps://github.com/alibaba/yugong#%E8%BF%90%E7%BB%B4%E7%AE%A1%E7%90%86 運維管理
AdminGuidehttps://github.com/alibaba/yugong#%E6%80%A7%E8%83%BD%E6%8A%A5%E5%91%8A 性能報告
Performancehttps://github.com/alibaba/yugong#%E7%9B%B8%E5%85%B3%E8%B5%84%E6%96%99 相關資料
- yugong簡單介紹ppt: ppt
- 分布式關系型資料庫服務DRDS (前身為阿裡巴巴公司的Cobar/TDDL的演進版本, 基本原理為MySQL分庫分表)
https://github.com/alibaba/yugong#%E6%B2%9F%E9%80%9A%E4%B8%8E%E4%BA%A4%E6%B5%81 溝通與交流
- 詳見 wiki home 頁