开启事务,把旧的内存内容写undo_log ,
然后更新内存数据,写redo_log , 硬盘数据的同步稍后执行(WAL技术)
写binlog , 只写到bin_cache
两阶段提交(过程中binlog数据同步到硬盘)