| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,7 +70,7 @@ select * from user where city=xx ; // 无法命中索引 | |||
| 70 | 70 | ||
| 71 | 71 | 冗余索引指的是索引的功能相同,能够命中 就肯定能命中 ,那么 就是冗余索引如(name,city )和(name )这两个索引就是冗余索引,能够命中后者的查询肯定是能够命中前者的 在大多数情况下,都应该尽量扩展已有的索引而不是创建新索引。 | |
| 72 | 72 | ||
| 73 | - MySQLS.7 版本后,可以通过查询 sys 库的 `schema_redundant_indexes` 表来查看冗余索引 | ||
| 73 | + MySQL 5.7 版本后,可以通过查询 sys 库的 `schema_redundant_indexes` 表来查看冗余索引 | ||
| 74 | 74 | ||
| 75 | 75 | ### Mysql如何为表字段添加索引??? | |
| 76 | 76 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments