Skip to content

mysql索引 - ddmcc #87

@ddmcc

Description

@ddmcc

https://ddmcc.github.io/2021/03/31/2021-03-31-mysql-index/

索引原理和字典、通讯录原理一样,索引的目的在于提高查询效率,通过不断的缩小数据的查找范围来筛选出最终想要的结果。比如要查找 “张三” 这个人,会先定位在姓 “张” 的人中,然后再从中查找 “三” 这个名。如果没有索引,那么可能需要把整个通讯录都翻一遍才能找到想要的。

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions