Skip to content

Commit

Permalink
Merge pull request #2198 from Mister-Hope/main
Browse files Browse the repository at this point in the history
更新依赖、格式化文档以及部分细节修复
  • Loading branch information
Snailclimb authored Oct 27, 2023
2 parents 4ca9af2 + 1143429 commit b1f22a0
Show file tree
Hide file tree
Showing 214 changed files with 4,754 additions and 7,567 deletions.
18 changes: 11 additions & 7 deletions docs/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,37 +51,41 @@ export default hopeTheme({

plugins: {
blog: true,

copyright: {
author: "JavaGuide(javaguide.cn)",
license: "MIT",
triggerLength: 100,
maxLength: 700,
canonical: "https://javaguide.cn/",
global:true
global: true,
},

feed: {
atom: true,
json: true,
rss: true,
},

mdEnhance: {
align: true,
codetabs: true,
container: true,
figure: true,
gfm: true,
include: {
resolvePath: (file, cwd) => {
if (file.startsWith("@"))
return path.resolve(
__dirname,
"../snippets",
file.replace("@", "./")
file.replace("@", "./"),
);

return path.resolve(cwd, file);
},
},
tasklist: true,
},
feed: {
atom: true,
json: true,
rss: true,
},
},
});
2 changes: 1 addition & 1 deletion docs/about-the-author/zhishixingqiu-two-years.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ JavaGuide 知识星球优质主题汇总传送门:<https://www.yuque.com/snail

![知识星球30元优惠卷](https://oss.javaguide.cn/xingqiu/xingqiuyouhuijuan-30.jpg)

进入星球之后,记得查看 **[星球使用指南](https://t.zsxq.com/0d18KSarv)** (一定要看!!!) 和 **[星球优质主题汇总](https://www.yuque.com/snailclimb/rpkqw1/ncxpnfmlng08wlf1)** 。另外,建议你添加一下我的个人微信( **javaguide1024** ,备注 **“星球”** ,生活号,球友专属),方便后续交流沟通。
进入星球之后,记得查看 **[星球使用指南](https://t.zsxq.com/0d18KSarv)** (一定要看!!!) 和 **[星球优质主题汇总](https://www.yuque.com/snailclimb/rpkqw1/ncxpnfmlng08wlf1)** 。另外,建议你添加一下我的个人微信( **javaguide1024** ,备注 **“星球”** ,生活号,球友专属),方便后续交流沟通。

![个人微信](https://oss.javaguide.cn/xingqiu/weixin-guidege666.jpeg)

Expand Down
4 changes: 2 additions & 2 deletions docs/books/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ icon: "java"

Java 8 算是一个里程碑式的版本,现在一般企业还是用 Java 8 比较多。掌握 Java 8 的一些新特性比如 Lambda、Stream API 还是挺有必要的。这块的话,我推荐 **[《Java 8 实战》](https://book.douban.com/subject/26772632/)** 这本书。

**[《Java 编程的逻辑》](https://book.douban.com/subject/30133440/)**
**[《Java 编程的逻辑》](https://book.douban.com/subject/30133440/)**

![《Java编程的逻辑》](https://oss.javaguide.cn/github/javaguide/books/image-20230721153650488.png)

Expand Down Expand Up @@ -131,7 +131,7 @@ Java 8 算是一个里程碑式的版本,现在一般企业还是用 Java 8
- **IDEA**:熟悉基本操作以及常用快捷。相关资料: [《IntelliJ IDEA 简体中文专题教程》](https://github.com/judasn/IntelliJ-IDEA-Tutorial)
- **Maven**:强烈建议学习常用框架之前可以提前花几天时间学习一下**Maven**的使用。(到处找 Jar 包,下载 Jar 包是真的麻烦费事,使用 Maven 可以为你省很多事情)。相关阅读:[Maven 核心概念总结](https://javaguide.cn/tools/maven/maven-core-concepts.html)
- **Git**:基本的 Git 技能也是必备的,试着在学习的过程中将自己的代码托管在 Github 上。相关阅读:[Git 核心概念总结](https://javaguide.cn/tools/git/git-intro.html)
- **Docker**:学着用 Docker 安装学习中需要用到的软件比如 MySQL ,这样方便很多,可以为你节省不少时间。相关资料:[《Docker - 从入门到实践》](https://yeasy.gitbook.io/docker_practice/)
- **Docker**:学着用 Docker 安装学习中需要用到的软件比如 MySQL ,这样方便很多,可以为你节省不少时间。相关资料:[《Docker - 从入门到实践》](https://yeasy.gitbook.io/docker_practice/)

除了这些工具之外,我强烈建议你一定要搞懂 GitHub 的使用。一些使用 GitHub 的小技巧,你可以看[Github 实用小技巧总结](https://javaguide.cn/tools/git/github-tips.html)这篇文章。

Expand Down
84 changes: 42 additions & 42 deletions docs/cs-basics/algorithms/10-classical-sorting-algorithms.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/cs-basics/algorithms/linkedlist-algorithm-problems.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,4 +384,4 @@ public class Solution {
}
```

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/algorithms/string-algorithm-problems.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,4 +460,4 @@ public class Main {

```

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/algorithms/the-sword-refers-to-offer.md
Original file line number Diff line number Diff line change
Expand Up @@ -682,4 +682,4 @@ public class Solution {
}
```

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/data-structure/bloom-filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,4 +309,4 @@ root@21396d02c252:/data# redis-cli
(integer) 0
```

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/data-structure/graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ tag:

![深度优先搜索6](https://oss.javaguide.cn/github/javaguide/cs-basics/data-structure/depth-first-search6.png)

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/data-structure/heap.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,4 @@ tag:

堆排序完成!

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/data-structure/linear-data-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,4 +328,4 @@ myStack.pop();//报错:java.lang.IllegalArgumentException: Stack is empty.
- 消息队列
- 等等……

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/data-structure/red-black-tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ tag:

**相关阅读**[《红黑树深入剖析及 Java 实现》](https://zhuanlan.zhihu.com/p/24367771)(美团点评技术团队)

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/data-structure/tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ public void postOrder(TreeNode root){
}
```

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/application-layer-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ DNS(Domain Name System,域名管理系统)基于 UDP 协议,用于解决
- 《计算机网络自顶向下方法》(第七版)
- RTP 协议介绍:https://mthli.xyz/rtp-introduction/

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/arp.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ ARP 的工作原理将分两种场景讨论:

![](./images/arp/arp_different_lan.png)

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ foo.example.com. A 192.0.2.23
- DNS Message Resource Record Field Formats:http://www.tcpipguide.com/free/t_DNSMessageResourceRecordFieldFormats-2.htm
- Understanding Different Types of Record in DNS Server:https://www.mustbegeek.com/understanding-different-types-of-record-in-dns-server/

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/http-status-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ HTTP 状态码用于描述 HTTP 请求的结果,比如 2xx 就代表请求被
- https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
- https://segmentfault.com/a/1190000018264501

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/http-vs-https.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ SSL/TLS 介绍到这里,了解信息安全的朋友又会想到一个安全隐
- **URL 前缀**:HTTP 的 URL 前缀是 `http://`,HTTPS 的 URL 前缀是 `https://`
- **安全性和资源消耗**:HTTP 协议运行在 TCP 之上,所有传输的内容都是明文,客户端和服务器端都无法验证对方的身份。HTTPS 是运行在 SSL/TLS 之上的 HTTP 协议,SSL/TLS 运行在 TCP 之上。所有传输的内容都经过加密,加密采用对称加密,但对称加密的密钥用服务器方的证书进行了非对称加密。所以说,HTTP 安全性没有 HTTPS 高,但是 HTTPS 比 HTTP 耗费更多服务器资源。

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/http1.0-vs-http1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ HTTP/1.0 包含了`Content-Encoding`头部,对消息进行端到端编码。HT

[Key differences between HTTP/1.0 and HTTP/1.1](http://www.ra.ethz.ch/cdstore/www8/data/2136/pdf/pd1.pdf)

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/nat.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ SOHO 子网的“代理人”,也就是和外界的窗口,通常由路由器

然而,NAT 协议由于其独特性,存在着一些争议。比如,可能你已经注意到了,**NAT 协议在 LAN 以外,标识一个内部主机时,使用的是端口号,因为 IP 地址都是相同的。**这种将端口号作为主机寻址的行为,可能会引发一些误会。此外,路由器作为网络层的设备,修改了传输层的分组内容(修改了源 IP 地址和端口号),同样是不规范的行为。但是,尽管如此,NAT 协议作为 IPv4 时代的产物,极大地方便了一些本来棘手的问题,一直被沿用至今。

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/network-attack-means.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,4 +467,4 @@ CDN 加速,我们可以这么理解:为了减少流氓骚扰,我干脆将
- 什么是 IP 欺骗?:https://www.cloudflare.com/zh-cn/learning/ddos/glossary/ip-spoofing/
- 什么是 DNS 洪水?| DNS 洪水 DDoS 攻击:https://www.cloudflare.com/zh-cn/learning/ddos/dns-flood-ddos-attack/

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/osi-and-tcp-ip-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,4 @@ OSI 七层模型虽然失败了,但是却提供了很多不错的理论基础
- TCP/IP model vs OSI model:https://fiberbit.com.tw/tcpip-model-vs-osi-model/
- Data Encapsulation and the TCP/IP Protocol Stack:https://docs.oracle.com/cd/E19683-01/806-4075/ipov-32/index.html

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/other-network-questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,4 +340,4 @@ DNS 服务器自底向上可以依次分为以下几个层级(所有 DNS 服务
- HTTP1、HTTP2、HTTP3:<https://juejin.cn/post/6855470356657307662>
- 如何看待 HTTP/3 ? - 车小胖的回答 - 知乎: <https://www.zhihu.com/question/302412059/answer/533223530>

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/other-network-questions2.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,4 @@ ARP 协议,全称 **地址解析协议(Address Resolution Protocol)**,
- 什么是 Internet 协议(IP)?:<https://www.cloudflare.com/zh-cn/learning/network-layer/internet-protocol/>
- What Is NAT and What Are the Benefits of NAT Firewalls?:<https://community.fs.com/blog/what-is-nat-and-what-are-the-benefits-of-nat-firewalls.html>

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/tcp-connection-and-disconnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ TCP 是全双工通信,可以双向传输数据。任何一方都可以在数

- TCP and UDP Tutorial:https://www.9tut.com/tcp-and-udp-tutorial

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/network/tcp-reliability-guarantee.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ ARQ 包括停止等待 ARQ 协议和连续 ARQ 协议。
6. TCP 流量控制(Flow Control):https://notfalse.net/24/tcp-flow-control
7. TCP 之滑动窗口原理 : https://cloud.tencent.com/developer/article/1857363

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/operating-system/linux-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,4 +428,4 @@ vim ~/.bash_profile
source /etc/profile
```

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
Original file line number Diff line number Diff line change
Expand Up @@ -458,4 +458,4 @@ Thread[线程 2,5,main]waiting get resource1
- 从根上理解用户态与内核态:https://juejin.cn/post/6923863670132850701
- 什么是僵尸进程与孤儿进程:https://blog.csdn.net/a745233700/article/details/120715371

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
Original file line number Diff line number Diff line change
Expand Up @@ -410,4 +410,4 @@ LRU 算法是实际使用中应用的比较多,也被认为是最接近 OPT
- 程序员的自我修养(七):内存缺页错误:https://liam.page/2017/09/01/page-fault/
- 虚拟内存的那点事儿:https://juejin.cn/post/6844903507594575886

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/cs-basics/operating-system/shell-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -533,4 +533,4 @@ funWithParam 1 2 3 4 5 6 7 8 9 34 73
作为一个字符串输出所有参数 1 2 3 4 5 6 7 8 9 34 73 !
```

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/database/character-set.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,4 @@ Incorrect string value: '\xF0\x9F\x98\x98\xF0\x9F...' for column 'name' at row 1
- MySQL5.7 文档:<https://dev.mysql.com/doc/refman/5.7/en/charset.html>
- MySQL Connector/J 文档:<https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-charsets.html>

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/database/elasticsearch/elasticsearch-questions-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ tag:

<!-- @include: @planet.snippet.md -->

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/database/mongodb/mongodb-questions-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,4 @@ WiredTiger 日志也会被压缩,默认使用的也是 Snappy 压缩算法。
- WiredTiger Storage Engine - MongoDB 官方文档:<https://www.mongodb.com/docs/manual/core/wiredtiger/>
- WiredTiger 存储引擎之一:基础数据结构分析:<https://mongoing.com/topic/archives-35143>

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/database/mongodb/mongodb-questions-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,4 +272,4 @@ Rebalance 操作是比较耗费系统资源的,我们可以通过在业务低
- MongoDB 分片集群介绍 - 阿里云文档:<https://help.aliyun.com/document_detail/64561.html>
- 分片集群使用注意事项 - - 腾讯云文档:<https://cloud.tencent.com/document/product/240/44611>

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
Original file line number Diff line number Diff line change
Expand Up @@ -954,4 +954,4 @@ OPTIMIZE [LOCAL | NO_WRITE_TO_BINLOG] TABLE tbl_name [, tbl_name] ...
7. 清除已有语句:\c
```

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/database/mysql/how-sql-executed-in-mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ update tb_student A set A.age='19' where A.name=' 张三 ';
- 《MySQL 实战 45 讲》
- MySQL 5.6 参考手册:<https://dev.MySQL.com/doc/refman/5.6/en/>

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/database/mysql/innodb-implementation-of-mvcc.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,4 @@ private:
- [MySQL 事务与 MVCC 如何实现的隔离级别](https://blog.csdn.net/qq_35190492/article/details/109044141)
- [InnoDB 事务分析-MVCC](https://leviathan.vip/2019/03/20/InnoDB%E7%9A%84%E4%BA%8B%E5%8A%A1%E5%88%86%E6%9E%90-MVCC/)

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,4 @@ tag:
3. 事务回滚
4. 批量插入(如 `insert...select` 语句)

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ MySQL 内存临时表不支持 TEXT、BLOB 这样的大数据类型,如果查

| 类型 | 存储空间 | 日期格式 | 日期范围 | 是否带时区信息 |
| ------------ | -------- | ------------------------------ | ------------------------------------------------------------ | -------------- |
| DATETIME | 5~8 字节 | YYYY-MM-DD hh:mm:ss[.fraction] | 1000-01-01 00:00:00[.000000] ~ 9999-12-31 23:59:59[.999999] ||
| TIMESTAMP | 4~7 字节 | YYYY-MM-DD hh:mm:ss[.fraction] | 1970-01-01 00:00:01[.000000] ~ 2038-01-19 03:14:07[.999999] ||
| 数值型时间戳 | 4 字节 | 全数字如 1578707612 | 1970-01-01 00:00:01 之后的时间 ||
| DATETIME | 5~8 字节 | YYYY-MM-DD hh:mm:ss[.fraction] | 1000-01-01 00:00:00[.000000] ~ 9999-12-31 23:59:59[.999999] ||
| TIMESTAMP | 4~7 字节 | YYYY-MM-DD hh:mm:ss[.fraction] | 1970-01-01 00:00:01[.000000] ~ 2038-01-19 03:14:07[.999999] ||
| 数值型时间戳 | 4 字节 | 全数字如 1578707612 | 1970-01-01 00:00:01 之后的时间 ||

MySQL 时间类型选择的详细介绍请看这篇:[MySQL 时间类型数据存储建议](https://javaguide.cn/database/mysql/some-thoughts-on-database-storage-time.html)

Expand Down Expand Up @@ -386,4 +386,4 @@ pt-online-schema-change 它会首先建立一个与原表结构相同的新表
- [技术同学必会的 MySQL 设计规约,都是惨痛的教训 - 阿里开发者](https://mp.weixin.qq.com/s/XC8e5iuQtfsrEOERffEZ-Q)
- [聊聊数据库建表的 15 个小技巧](https://mp.weixin.qq.com/s/NM-aHaW6TXrnO6la6Jfl5A)

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/database/mysql/mysql-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,4 +449,4 @@ mysql> EXPLAIN SELECT `score`,`name` FROM `cus_order` ORDER BY `score` DESC;

篇幅问题,我这里只是简单介绍了一下 MySQL 执行计划,详细介绍请看:[MySQL 执行计划分析](./mysql-query-execution-plan.md)这篇文章。

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/database/mysql/mysql-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,4 +339,4 @@ MySQL InnoDB 引擎使用 **redo log(重做日志)** 保证事务的**持久性*
- 《MySQL 是怎样运行的:从根儿上理解 MySQL》
- 《MySQL 技术 Innodb 存储引擎》

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/database/mysql/mysql-query-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,4 @@ MySQL 中的查询缓存虽然能够提升数据库的查询性能,但是查
- RDS MySQL 查询缓存(Query Cache)的设置和使用 - 阿里元云数据库 RDS 文档:<https://help.aliyun.com/document_detail/41717.html>
- 8.10.3 The MySQL Query Cache - MySQL 官方文档:<https://dev.mysql.com/doc/refman/5.7/en/query-cache.html>

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
2 changes: 1 addition & 1 deletion docs/database/mysql/mysql-questions-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -839,4 +839,4 @@ mysql> EXPLAIN SELECT `score`,`name` FROM `cus_order` ORDER BY `score` DESC;
- 深入剖析 MySQL 自增锁:<https://juejin.cn/post/6968420054287253540>
- 在数据库中不可重复读和幻读到底应该怎么分?:<https://www.zhihu.com/question/392569386>

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->
Loading

0 comments on commit b1f22a0

Please sign in to comment.