当前位置:网站首页>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
边栏推荐
- Deep learning: derivation of shallow neural networks and deep neural networks
- logback1.3. X configuration details and Practice
- Upgrade tidb operator
- Summary of phased use of sonic one-stop open source distributed cluster cloud real machine test platform
- 2022.02.13 - 238. Maximum number of "balloons"
- 使用 BR 备份 TiDB 集群数据到兼容 S3 的存储
- 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
- 使用 TiUP 升级 TiDB
- Step by step guide to setting NFT as an ens profile Avatar
- IP lab, the first weekly recheck
猜你喜欢

【MySQL】日志

How to use information mechanism to realize process mutual exclusion, process synchronization and precursor relationship

PLT in Matplotlib tight_ layout()

ESP系列引脚说明图汇总

面向个性化需求的在线云数据库混合调优系统 | SIGMOD 2022入选论文解读

ESP系列引脚說明圖匯總

Online yaml to CSV tool

【MySQL】鎖

2022.02.13 - NC004. Print number of loops

Hungry for 4 years + Ali for 2 years: some conclusions and Thoughts on the road of research and development
随机推荐
It's hard to find a job when the industry is in recession
Artcube information of "designer universe": Guangzhou implements the community designer system to achieve "great improvement" of urban quality | national economic and Information Center
Summary of MySQL index failure scenarios
Erc20 token agreement
Learn Arduino with examples
升级 TiDB Operator
wincc7.5下载安装教程(Win10系统)
3. File operation 3-with
Understanding of law of large numbers and central limit theorem
Day29-t77 & t1726-2022-02-13-don't answer by yourself
CISP-PTE实操练习讲解
CAD ARX gets the current viewport settings
Grayscale upgrade tidb operator
hcip--mpls
Analysis of Top1 accuracy and top5 accuracy examples
Ruffian Heng embedded bimonthly, issue 49
synchronized 解决共享带来的问题
Vocabulary notes for postgraduate entrance examination (3)
The State Economic Information Center "APEC industry +" Western Silicon Valley will invest 2trillion yuan in Chengdu Chongqing economic circle, which will surpass the observation of Shanghai | stable
Convolution, pooling, activation function, initialization, normalization, regularization, learning rate - Summary of deep learning foundation