其含义为

The default value is full. In MySQL 5.5 and earlier, full row images are always used for both before images and after images. If you need to replicate from a MySQL 5.6 (or later) master to a slave running a previous version of MySQL, the master should always use this value.

When using minimal or noblob, deletes and updates are guaranteed to work correctly for a given table if and only if the following conditions are true for both the source and destination tables:

  • All columns must be present and in the same order; each column must use the same data type as its counterpart in the other table.

  • The tables must have identical primary key definitions.

(In other words, the tables must be identical with the possible exception of indexes that are not part of the tables' primary keys.)

If these conditions are not met, it is possible that the primary key column values in the destination table may prove insufficient to provide a unique match for a delete or update. In this event, no warning or error is issued; the master and slave silently diverge, thus breaking consistency.

Setting this variable has no effect when the binary logging format is STATEMENT. When binlog_format is MIXED, the setting for binlog_row_image is applied to changes that are logged using row-based format, but this setting no effect on changes logged as statements.

Setting binlog_row_image on either the global or session level does not cause an implicit commit; this means that this variable can be changed while a transaction is in progress without affecting the transaction.

一般来说,我们认为主从配置的时候,表结构一定是相同的,否则肯定就借助第三方的逻辑复制工具了。所以,对于某些update很频繁的系统,尤其是金融行业大量宽表设计的时候,这个值应该设置为minimal以最大化性能。

最近因为风控剥离到备库,使用了replicate-rewrite-db和replicate-wild-do-table(因为某些规范的原因)被搞死了,每天有异常数据,看来这特征还是不够稳定,而且5.6好像就不生效。

最新文章

  1. CI 资源文件加入模板
  2. spark单机环境下运行一些解决问题
  3. yii2 登录、退出、自动登录
  4. IOC容器特性注入第一篇:程序集反射查找
  5. 所有 HTTP 状态代码及其定义
  6. 基于SAE+CodeIgniter3.0+管理端angularjs+前台amazeui的多用户博客系统V1.0--系统设计(一)
  7. 解决win8与VC++6.0不兼容问题
  8. (Problem 46)Goldbach's other conjecture
  9. AngularJS应用开发思维之3:依赖注入
  10. tomcat各目录(文件)作用
  11. FZU Problem 2214 Knapsack problem(背包+思维转换)
  12. MySQL社区版升级到Percona Server
  13. python3+requests库框架设计03-请求重新封装
  14. 实现简单的 u-boot
  15. 学习笔记-AngularJs(三)
  16. Hibernate Tools for Eclipse的使用
  17. javascript的单例/单体模式(Singleton)
  18. (求树的直径)Warm up -- HDU -- 4612
  19. Eclipse 如何创建Web项目
  20. NGS检测ALK融合大起底--转载

热门文章

  1. swift开发新项目总结
  2. 和我一起看API(一)你所不知道的LinearLayout补充
  3. 物联网实验4 alljoyn物联网实验之手机局域网控制设备
  4. 简化SSH框架的整合
  5. C# 开发windows服务的一些心得
  6. C#定时任务组件之FluentScheduler
  7. IL指令详细表
  8. .Net使用Redis详解之ServiceStack.Redis(七)
  9. GC使用注意
  10. Apply Newton Method to Find Extrema in OPEN CASCADE