摘要: 事务的四个特性:ACID Atomic(原子性)、Consistency(一致性)、Isolation(隔离性)、Durability(持久性)事务并发时可能出现的问题: 第一类丢失更新(Lost Update) (可以忽略) 脏读(dirty read) 不可重复读(non-repeatable read) 第二类丢失更新(second lost update problem)(不可重复读的特殊情况) 幻读(phantom read)为了解决上述问题,数据库提供了四种事务隔离机制 1、read-uncommitted 会出现dirty read,phantom-... 阅读全文
posted @ 2013-09-21 16:34 Ars_blog 阅读(259) 评论(0) 推荐(0) 编辑