当前位置:网站首页>I also gave you the MySQL interview questions of Boda factory. If you need to come in and take your own
I also gave you the MySQL interview questions of Boda factory. If you need to come in and take your own
2022-07-01 04:38:00 【Program ape DD_】
I saw many friends asking for interview information before ,
Previously shared Spring Information , Have you all received it ,
If not , Click to get it for free !
What we share today is MySQL Relevant interview questions ,

Old rules ,
In order to make it convenient for everyone to save and read ,
I packed the complete information and answers into pdf
Pay attention to the official account below. SpringForAll Community ,
Reply key words 【MySQL】
You can get it for free complete pdf Information !
Part of the information content
Indexes
What is index ?
Index is a method used by storage engine to improve the access speed of database tables data structure .
Advantages and disadvantages of index ?
advantage :
Speed up data discovery
Add an index to the fields used for sorting or grouping , Sure Speed up grouping and sorting
Speed up the connection between tables
shortcoming :
Indexing requires Take up physical space
It will reduce the efficiency of adding, deleting and modifying tables , Because the table records are added, deleted and modified every time , Need to carry out Dynamic maintenance index , As a result, the addition, deletion and modification time becomes longer
The function of index ?
Data is stored on disk , When querying data , If there is no index , All data will be loaded into memory , Search in turn , More disk reads . With the index , You don't need to load all the data , because B+ The height of the tree is generally 2-4 layer , At most, you only need to read 2-4 Secondary disk , The query speed is greatly improved .
When you need to build an index ?
Fields that are often used for queries
Often used to index connected fields , Can speed up the connection
Fields that often need to be sorted are indexed , Because the index is in order , It can speed up Sorting Query
When not to build an index ?
whereFields not used in conditions are not suitable for indexingThe table records less
It needs to be added, deleted and modified frequently
Participate in column calculation The column of is not suitable for indexing
The distinction is not high The field of is not suitable for indexing , Such as gender, etc
For your convenience
I have to All interview questions and answers It's sorted out
Pay attention to the official account below. , Reply key words "spring"
You can get it for free pdf Information
边栏推荐
- Maixll-Dock 快速上手
- 2022年煤气考试题库及在线模拟考试
- Question bank and online simulation examination for special operation certificate of G1 industrial boiler stoker in 2022
- Grey correlation cases and codes
- Codeforces Round #721 (Div. 2)B1. Palindrome Game (easy version)B2. Palindrome game (hard version)
- Use winmtr software to simply analyze, track and detect network routing
- 2. Use of classlist (element class name)
- LM small programmable controller software (based on CoDeSys) note 19: errors do not match the profile of the target
- Measurement of quadrature axis and direct axis inductance of three-phase permanent magnet synchronous motor
- js 图片路径转换base64格式
猜你喜欢

Possible problems and solutions of using scroll view to implement slider view

2022年T电梯修理题库及模拟考试

Concurrent mode of different performance testing tools

Kodori tree board

How to use maixll dock

2022.2.7-2.13 AI industry weekly (issue 84): family responsibilities

About the transmission pipeline of stage in spark

尺取法:有效三角形的个数

Grey correlation cases and codes

扩展-Fragment
随机推荐
嵌入式系统开发笔记80:应用Qt Designer进行主界面设计
LM small programmable controller software (based on CoDeSys) note 20: PLC controls stepping motor through driver
Why is Hong Kong server most suitable for overseas website construction
Registration of P cylinder filling examination in 2022 and analysis of P cylinder filling
2022 tea master (intermediate) examination question bank and tea master (intermediate) examination questions and analysis
"Target detection" + "visual understanding" realizes the understanding of the input image
Selenium opens the Chrome browser and the settings page pops up: Microsoft defender antivirus to reset your settings
做网站数据采集,怎么选择合适的服务器呢?
TASK04|数理统计
2022年煤气考试题库及在线模拟考试
Haskell lightweight threads overhead and use on multicores
OdeInt与GPU
Ospfb notes - five messages [ultra detailed] [Hello message, DD message, LSR message, LSU message, lsack message]
CUDA development and debugging tool
Shell之Unix运维常用命令
1. Mobile terminal touch screen event
JD intelligent customer service Yanxi intention system construction and intention recognition technology introduction
为什么香港服务器最适合海外建站使用
Software testing needs more and more talents. Why do you still not want to take this path?
Offline installation of Wireshark 2.6.10