Home > Database > Mysql Tutorial > mysql 目录原理

mysql 目录原理

WBOY
Release: 2016-06-07 16:25:06
Original
1194 people have browsed it

mysql 索引原理 对于 这条 SQL: from message where id=1 and name='a' ??mysql最后是如何找到数据的呢?? 是先匹配id=1的索引,然后再匹配name=a的索引,最后再merge,还是同时判断? ? http://www.fuzzy.cz/en/articles/basic-principles-of-database-index

mysql 索引原理

对于这条SQL:

from message where id=1 and name='a'
Copy after login

??mysql最后是如何找到数据的呢??

是先匹配id=1的索引,然后再匹配name=a的索引,最后再merge,还是同时判断?

?

http://www.fuzzy.cz/en/articles/basic-principles-of-database-indexes/

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template