MySQL Optimization (outline)

Source: Internet
Author: User

Reference: http://www.cnblogs.com/villion/archive/2009/07/23/1893765.html#3031899

MySQL optimization can mainly consider the following four aspects:

1. Database design:

This is from the big aspect, the architecture aspect to design the database, designs the sick database, the later optimization also was not saved

The main design of the database design of the 3 major paradigms, and according to the actual, moderate anti-paradigm (efficiency-space)

2.sql Statement Optimization:

SQL statement optimization, in fact, is usually the Select query optimization, then the index must not be avoided

So the focus of this section is how to use indexes correctly and efficiently, and how to view and analyze the efficiency of SQL statements

3. Database parameter configuration:

The default MySQL consideration is general machine versatility, so there may not really play the maximum performance of MySQL,

This can be set according to the configuration of the computer, so that MySQL will play its maximum power.

4. Proper hardware resources and operating system:

This is the actual use of the relevant

MySQL Optimization (outline)

Related Article

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.