Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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