当前位置:网站首页>The difference between MySQL full table scanning and indexing
The difference between MySQL full table scanning and indexing
2022-06-12 19:50:00 【WD Technology】
Full table scanning means that all data in the table must be scanned before the data results can be displayed , Index scan is index , You only need to scan a portion of the data to get the results , Let's make an analogy , In Xinhua Dictionary , If there is no pinyin or stroke index , When we look for “ do ” This word should be looked up from the first page of the dictionary , All the way to Z The first part can be found , Even if you find it, you're not sure if there's still ( Suppose the dictionary is out of order ), So we have to look back , Know that the original dictionary has been turned over , To be sure “ Oh , It turns out that the record just found is the desired result ”. Index scanning means that we know in advance “ do ” This word is in Pinyin Z Area , Then view according to the previous Directory "zuo" This pinyin is on that page , Then turn directly to that page and you can find the result we want , This can greatly reduce the query time
边栏推荐
猜你喜欢

Process accounting, process time, daemon

exec函数、shell的实现

First build green, then build city

【生成对抗网络学习 其三】BiGAN论文阅读笔记及其原理理解

Demand and business model analysis -6- five topics

What did 3GPP ran do in the first F2F meeting?

How mysterious is "PIP not an internal or external command, nor a runnable program or batch file"

Méthode de sauvegarde programmée basée sur la base de données distribuée elle - même

进程的创建fork()、消亡wait()

今晚7:00 | PhD Debate 自监督学习在推荐系统中的应用
随机推荐
unity websockt一些知识:
The component style set by uniapp takes effect in H5 and app, but does not take effect in wechat applet. The problem is solved
负数取余问题
golang类型断言理解[go语言圣经]
Understanding of data in memory
MySQL log
Software usage of Tencent cloud TDP virt viewer win client
Using / developing private plug-ins in traifik proxy 2.5 (traifik official blog)
94. 解析网页中的内容
存储体系概述
Demand and business model analysis-2-business model types
什么是数据驱动
基于微信电子书阅读小程序毕业设计毕设作品(5)任务书
Details of thansmitablethreadlocal
How mysterious is "PIP not an internal or external command, nor a runnable program or batch file"
Equipment management - borrowing / returning module interface code
硬件测试之—纹波测试为什么不要使用接地夹子
模塊八作業
In 2022, 20 cities with the largest number of college students in China
Microsoft Word 教程,如何在 Word 中插入页眉或页脚?