书生笔记-binlog_row_image参数解析

1,参数定义

 

  • For MySQL row-based replication, this variable determines how row images are written to the binary log.

对于基于row模式的复制,binlog_row_image变量决定了images是如何写入到binlog日志文件的。

  • In MySQL row-based replication, each row change event contains two images, a “before” image whose columns are matched against when searching for the row to be updated, and an “after” image containing the changes. Normally, MySQL logs full rows (that is, all columns) for both the before and after images. However, it is not strictly necessary to include every column in both images, and we can often save disk, memory, and network usage by logging only those columns which are actually required.

在基于row模式的复制,每行的改变event包含了两个image:1,before, 将要被修改的行 2,after,改变后的行信息 。

正常情况下,full row是包含了before和after的信息。然后,这不是必须要求的,只在我们需要的时候使用。

  • Note

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值