MySQL Replication Features and Roadmap

by Brian Aker

MySQLのDirector of Architectureによるレプリケーション機能ロードマップ紹介:

  • 現在のレプリケーションver4.1:Master(binlog)→Slave(relay-binlog), 非同期
  • 次期レプリケーションver5.1:複数Master(binlog)→Slave(複数のrelay-binlog),いわゆるマルチマスター
  • Star Cluster:スター型ネットワークのクラスタ
  • Grid Cluster:複数対複数の双方向クラスタ(各ノードが他の全てのノードと繋がる)
  • Row Based Replication:Give the user choice for replication(Mixed statement/row based, only row based), Enabled 3rd party products for heterogeneous replication and conflict resolutoin
  • Geographical:グローバルレプリケーションのことかな?
  • メンテナンス用の新機能:Slaveをコマンド一つで新しいMasterにできたりする
CHECK TABLE STOP ON REPLICATION FAILURE
STOP SLAVED HOST CHANGE MASTER <>
  • Multi Stream:通常のMasterあるいはClusterにからレプリケーションを行い,さらに遠隔地のMySQLレプリケーションする.これは一体??
  • 現在のバックアップ手法:mysqldump(provides online backup of innodb, logical backup),point time recovery
  • 3つの問題を解消:
Customer wants an easy to use, storage engine independent tool
ISV needs an API to code too (バックアップ用APIの追加)
Customers want to do an online backup with their own tools
  • mysqlbackup:online backup,universal backup (5.1 MyISAM and Innodb, 5.2 Cluster), Scriptable and GUI based, schema/table backup and restore, implement both redo and undo log backups
  • libmysqlbackup:ISV向けAPIMySQL開発陣も使う.logical and physical backup, Stream support
  • Freeze IO:online IO suspend, use your own tools, say thanks to Novell!

感想.レプリケーションのノードレベルでのアーキテクチャがver5.1で大幅に進化する.レプリケーション管理ツールも作られるとかどこかで言っていたし,かなり期待できそう.