当前位置:网站首页>MySQL learning record 07 index (simple understanding)
MySQL learning record 07 index (simple understanding)
2022-07-06 08:26:00 【Jatine】
List of articles
MySQL Learning record 07 Indexes ( Simple understanding )
MySQL The official definition of index is : Indexes (Index) Help MySQL Data structure for efficient data acquisition .
Extract the sentence trunk , We can get the essence of index : An index is a data structure .《 Article, understand MySQL Indexes ( clear )》
7.1 Classification of indexes
- General index (KEY/INDEX)
default - unique index (UNIQUE KEY)
Avoid duplicate columns , The unique index can be repeated , Multiple columns can be identified as unique indexes - primary key (PRIMARY KEY)
Unique identification , The primary key cannot be repeated , There can only be one column as the primary key - Full-text index (FullText)
Only under the specific database engine
Quickly locate data
7.2 Indexing principles
- More indexes is not better
- Don't index frequently changing data
- A table with a small amount of data does not need to be indexed
- The index is usually added to the fields commonly used for query
边栏推荐
- Remote storage access authorization
- 【刷题】牛客网面试必刷TOP101
- "Friendship and righteousness" of the center for national economy and information technology: China's friendship wine - the "unparalleled loyalty and righteousness" of the solidarity group released th
- Go learning notes (3) basic types and statements (2)
- 在 uniapp 中使用阿里图标
- VMware 虚拟化集群
- Leetcode question brushing (5.31) string
- 【MySQL】鎖
- C language custom type: struct
- 化不掉的钟薛高,逃不出网红产品的生命周期
猜你喜欢

"Designer universe" APEC design +: the list of winners of the Paris Design Award in France was recently announced. The winners of "Changsha world center Damei mansion" were awarded by the national eco

Pyqt5 development tips - obtain Manhattan distance between coordinates
![[brush questions] top101 must be brushed in the interview of niuke.com](/img/55/5ca957e65d48e19dbac8043e89e7d9.png)
[brush questions] top101 must be brushed in the interview of niuke.com

Nft智能合约发行,盲盒,公开发售技术实战--合约篇

Online yaml to CSV tool

Leetcode question brushing (5.28) hash table
![[MySQL] database stored procedure and storage function clearance tutorial (full version)](/img/27/e775e03b77c7195216bc50c5cbefb4.png)
[MySQL] database stored procedure and storage function clearance tutorial (full version)

3. File operation 3-with

Fibonacci sequence

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
随机推荐
Easy to use tcp-udp_ Debug tool download and use
vulnhub hackme: 1
C language custom type: struct
Hungry for 4 years + Ali for 2 years: some conclusions and Thoughts on the road of research and development
PLT in Matplotlib tight_ layout()
String to leading 0
[research materials] 2022 enterprise wechat Ecosystem Research Report - Download attached
使用 TiUP 升级 TiDB
Résumé des diagrammes de description des broches de la série ESP
[research materials] 2022 China yuancosmos white paper - Download attached
JS select all and tab bar switching, simple comments
Asia Pacific Financial Media | "APEC industry +" Western Silicon Valley invests 2trillion yuan in Chengdu Chongqing economic circle to catch up with Shanghai | stable strategy industry fund observatio
LDAP应用篇(4)Jenkins接入
Leetcode skimming (5.29) hash table
Mobile Test Engineer occupation yyds dry goods inventory
LDAP application (4) Jenkins access
Introduction to backup and recovery Cr
hcip--mpls
C语言 - 位段
Huawei cloud OBS file upload and download tool class