MySQL index optimization, performance analysis, and explain usage

Source: Internet
Author: User

Note:
1, like only when the data is listed as a string, and like is not the beginning of the index will be effective
2, greater than less than the index will only be effective when the data is listed as integral type
3. If you want to use or, and you want the index to take effect, you can only index each column in the OR condition separately

Reference documents:
Use of explain:
Http://database.51cto.com/art/201108/284783.htm
Http://www.jb51.net/article/50649.htm
Indexing and optimization:
Http://www.cnblogs.com/hustcat/archive/2009/10/28/1591648.html

MySQL index optimization, performance analysis, and explain usage

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.