5.6之前的mysql版本。master info log和relay log info log,都是存储在文件master.info和relay-log.info中。但这个对于服务器掉电的问题,是不能保证relay log info 可以一致性,为了保证这个crash-safe。5.6推荐一种新的保障方式,把master.info和relay-log.info保存在两张表中。 &n...【阅读全文】
1.Each query has to check each row’s version numbers against the transaction’s version。 2.InnoDB must examine each row to ensure that it meets two criteria。innodb会根据以下两个条件检查每行记录...【阅读全文】