owned this note changed 8 months ago
Linked with GitHub

How We Efficiently Manage a Large Number of DB Instances on LINE MySQL Platform - Takuya Saeki

歡迎來到 https://hackmd.io/@coscup/2024 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

點擊本頁上方的 開始用 Markdown 一起寫筆記!
手機版請點選上方 按鈕展開議程列表。

介紹MUH(MySQL Upgrade helper) 平台

透過HUM平台可以線上完成upgrade,migration,rollback

切換流程 - 離線版

切換流程 - 線上版

案例分享

MySQL 5.7 -> 8.0 升級

utf8mb4_bin 5.7 不認識,造成 replication failed
使用 MySQL 8.0 backward-replication 模式,同步回 5.7 DB

DDL(Data Definition Language)

SQL執行指令,可以用於調整資料庫架構。

Safe DDL 自動前處理檢查DDL執行錯誤

總結

  • 透過這個工具處理 5000+ 資料庫
  • 工商時間:LINE 有在找工程師XD

Q&A

  • 在roolback在時不同版本間的相容性錯誤訊息如何處理(大概)

聊天區

另外找的參考資料

Select a repo