如果多个事务同时提交,这些binlog事件如何记录? 连续的还是离散的?
连续的可能是这样的:
trx1 begin transction
trx1 update someting
trx1 commit
....
trx2 begin transction
trx2 update someting
trx2 commit
离散的可能类似于:
trx1 begin transction
trx2 begin transction
trx1 update someting
trx2 update someting
trx2 commit
trx1 commit