Small ant learns MySQL performance optimization (end)-Hardware optimization--cpu and disk optimization

Source: Internet
Author: User

Optimization of database hardware

How do I select a CPU?

Would you prefer a faster single-core CPU or a higher number of cores?

  1. MySQL has some work that only uses single-core CPUs

  2. MySQL does not support CPU cores more and more faster

Recommendation: mysql5.5 Use a server that does not exceed 32 cores. It is also recommended that the single core frequency be faster CPU.

Disk IO optimization

Introduction to Common RAID levels

RAID0: Also become a stripe, that is, to link multiple disks into a hard disk use, this level of IO is the best.

RAID1: Also becomes mirrored, requiring at least two disks, each set of disks to store the same data.

Raid0+1: It is the combination of RAID1 and RAID0. With two levels of pros and cons. It is generally recommended that the database use this level.

Chabudu spent 10 days, finally the performance optimization of MySQL finished learning, feeling still benefited. Recently saw a MySQL development skills to explain, the strike, the MySQL knowledge to learn more learning, refueling.




Small ant learns MySQL performance optimization (end)-Hardware optimization--cpu and disk optimization

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.