ITPub博客

首页 > 数据库 > MySQL > 学习笔记:MySQL Cluster 的binlog

学习笔记:MySQL Cluster 的binlog

原创 MySQL 作者:denniswwh 时间:2009-08-26 17:01:00 0 删除 编辑

MySQL Cluster中,如果启用了binlog,在任何sql node的更新操作,都会写入所有node的binlog,当然,这是有条件的:更新操作的node上binlog_format=mixed或者row,反之,如果是statement,就只会在更新操作的node上写入binlog。

另外,MySQL Cluster Replication是要求binlog是row-based,所以要将master的binlog设置为mixed或row。手册中如是说:

Replication of a MySQL Cluster as described in this section and those following is dependent on row-based replication. This means that the replication master MySQL server must be started with --binlog-format=ROW or --binlog-format=MIXED

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/124805/viewspace-1026385/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    74
  • 访问量
    397488