Skip to content

Commit 7d45aab

Browse files
committed
Update mysql-index.md
1 parent 61c3ffd commit 7d45aab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/database/mysql/mysql-index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ InnoDB 引擎中,其数据文件本身就是索引文件。相比 MyISAM,索
9292

9393
在 MySQL 的 InnoDB 的表中,当没有显示的指定表的主键时,InnoDB 会自动先检查表中是否有唯一索引且不允许存在null值的字段,如果有,则选择该字段为默认的主键,否则 InnoDB 将会自动创建一个 6Byte 的自增主键。
9494

95-
![](http://101.43.132.98:98/images/cluster-index.png)
95+
![](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/github/javaguide/open-source-project/cluster-index.png)
9696

9797
### 二级索引(辅助索引)
9898

@@ -110,7 +110,7 @@ InnoDB 引擎中,其数据文件本身就是索引文件。相比 MyISAM,索
110110

111111
二级索引:
112112

113-
![](http://101.43.132.98:98/images/no-cluster-index.png)
113+
![](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/github/javaguide/open-source-project/no-cluster-index.png)
114114

115115
## 聚集索引与非聚集索引
116116

0 commit comments

Comments
 (0)