Skip to content

Commit

Permalink
Update Database.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wolverinn authored Sep 23, 2021
1 parent f671015 commit 44032ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Database.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
- **丢失修改**:一个事务对数据进行了修改,在事务提交之前,另一个事务对同一个数据进行了修改,覆盖了之前的修改;
- **脏读**(Dirty Read):一个事务读取了被另一个事务修改、但未提交(进行了回滚)的数据,造成两个事务得到的数据不一致;
- **不可重复读**(Nonrepeatable Read):在同一个事务中,某查询操作在一个时间读取某一行数据和之后一个时间读取该行数据,发现数据已经发生修改(针对**update**操作);
- **幻读**(Phantom Read):当同一查询多次执行时,由于其它事务在这个数据范围内执行了插入操作,会导致每次返回不同的结果集(和不可重复读的区别:针对的是一个数据整体/范围;并且针对**insert/delete**操作)
- **幻读**(Phantom Read):当同一查询多次执行时,由于其它事务在这个数据范围内执行了插入操作,会导致每次返回不同的结果集(和不可重复读的区别:针对的是一个数据整体/范围;并且针对**insert**操作)

### 数据库的四种隔离级别?

Expand Down

0 comments on commit 44032ba

Please sign in to comment.