mysql创建索引来查询不进入数据表查询的吗
ringa_lee
ringa_lee 2017-04-17 15:21:31
0
1
733

求大神讲下原理

ringa_lee
ringa_lee

ringa_lee

reply all(1)
伊谢尔伦

First of all, the index is a data structure that is stored on the disk in the form of a file, so the queries that can use the index are mainly disk I/O operations

Approximate process: first analyze the SQL statement, if the index can be used, read the disk according to the algorithm, obtain the final query result, and return it

You can learn more about the commonly used data structure algorithms: B-Tree

I said I don’t understand that deeply

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!