In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This paper mainly introduces a brief analysis of the use process of using where and using index in mysql database explain, and the things involved are learned from theoretical knowledge. There are many books and documents for your reference. From the perspective of practical significance, the accumulated practical experience for many years can be shared with you.
1. Look at all the indexes in the table show index from modify_passwd_log; has two primary key indexes for id and a normal index for email_id
2. Using index means that the index is used, and the data fetched can be obtained completely in the index.
Explain select email_id from modify_passwd_log where email_id=670602
3. Type is ref,where is blank: index is used, but the data queried is not in the index, go back to the table to get the data
Explain select * from modify_passwd_log where email_id=670602
4. Type is ref, and where is using where, indicating that the index is used, but where filtering is also performed.
For more information:
The difference between using index and using where in executing extra in MySQL Database
Detailed explanation of the concepts of Using where and Using index in MySQL query optimization
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
Wget-no-cookies-no-check-certificate header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; ora
© 2024 shulou.com SLNews company. All rights reserved.