Files
kaka111222333-kaka111222333…/_posts/数据库/mysql/mysql系列_索引.md
2020-03-24 22:09:43 +08:00

17 lines
657 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### 什么是索引
首先我们来看下索引的概念索引在MySQL中也叫做“键 - key”是存储引擎用于快速找到记录的一种数据结构。这是索引的基本功能除此之外索引对于良好的性能非常关键。尤其是当表中的数据量越来越大时索引对性能的影响愈发重要。
### 索引类型
在MySQL中索引是在**存储引擎**层实现的所以我们说到索引都是依赖存储引擎存储引擎不同对索引的实现方式也不同来看看有哪些MySQL存储引擎。
#### B-Tree索引
#### hash索引
#### R-Tree索引
#### 全文索引