From 7d45aaba78f5c47ba3d3b071684dc64afaa0750b Mon Sep 17 00:00:00 2001 From: guide Date: Thu, 14 Apr 2022 09:23:23 +0800 Subject: [PATCH] Update mysql-index.md --- docs/database/mysql/mysql-index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/database/mysql/mysql-index.md b/docs/database/mysql/mysql-index.md index 6a67c99a..19911483 100644 --- a/docs/database/mysql/mysql-index.md +++ b/docs/database/mysql/mysql-index.md @@ -92,7 +92,7 @@ InnoDB 引擎中,其数据文件本身就是索引文件。相比 MyISAM,索 在 MySQL 的 InnoDB 的表中,当没有显示的指定表的主键时,InnoDB 会自动先检查表中是否有唯一索引且不允许存在null值的字段,如果有,则选择该字段为默认的主键,否则 InnoDB 将会自动创建一个 6Byte 的自增主键。 -![](http://101.43.132.98:98/images/cluster-index.png) +![](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/github/javaguide/open-source-project/cluster-index.png) ### 二级索引(辅助索引) @@ -110,7 +110,7 @@ InnoDB 引擎中,其数据文件本身就是索引文件。相比 MyISAM,索 二级索引: -![](http://101.43.132.98:98/images/no-cluster-index.png) +![](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/github/javaguide/open-source-project/no-cluster-index.png) ## 聚集索引与非聚集索引