Skip to content

Commit

Permalink
Merge pull request Snailclimb#1184 from qyaaaa/master
Browse files Browse the repository at this point in the history
Update MySQL.md
  • Loading branch information
Snailclimb authored May 5, 2021
2 parents 7bd3ea8 + f728aa9 commit 2719852
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/database/MySQL.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ MVCC 可以看作是行级锁的一个升级,可以有效减少加锁操作,

**InnoDB 存储引擎的锁的算法有三种:**

- Record lock:单个行记录上的锁
- Record lock:记录锁,单个行记录上的锁
- Gap lock:间隙锁,锁定一个范围,不包括记录本身
- Next-key lock:record+gap 锁定一个范围,包含记录本身
- Next-key lock:record+gap临键锁,锁定一个范围,包含记录本身

## 查询缓存

Expand Down Expand Up @@ -281,4 +281,4 @@ InnoDB 存储引擎在 **分布式事务** 的情况下一般会用到 **SERIALI

- 《高性能 MySQL》

- https://www.omnisci.com/technical-glossary/relational-database
- https://www.omnisci.com/technical-glossary/relational-database

0 comments on commit 2719852

Please sign in to comment.