2021年6月6日
摘要: Begin -- 事务开启 insert ... update ... Save point pointA; -- 保存点A,名字随便取 insert ... update ... Save point pointB; -- 保存点B,名字随便取 Rollback to pointA; -- 回滚至 阅读全文
posted @ 2021-06-06 11:10 梦幻朵颜 阅读(450) 评论(0) 推荐(0) 编辑
摘要: innodb存储引擎支持数据库事务,事务有四大特性ACID:原子性 Atomicity一致性 Consistency持久性 Durability隔离性 isolation mysql事务隔离表 隔离级别 脏读 不可重复读 幻读 1 Read uncommitted 未提交读 可能 可能 可能 2 R 阅读全文
posted @ 2021-06-06 10:53 梦幻朵颜 阅读(166) 评论(0) 推荐(0) 编辑