学习笔记:MySQL Cluster 的binlog

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博客 ” ,链接:http://blog.itpub.net/124805/viewspace-1026385/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/124805/viewspace-1026385/

你可能感兴趣的:(学习笔记:MySQL Cluster 的binlog)