MySQL database server parameter optimization mycnf, 16 GB memory 8-core CPU

Source: Internet
Author: User

MySQL database server parameter optimization mycnf, 16 GB memory 8-core CPU business scenario: the background supports online mobile phone update system, db Server Memory 16 GB, 8-core, dell pc server. Qps: about 200 tps: About 1 minute, 50 or more sort_buffer_size = 32 M, 8 M can be read_buffer_size = 32 M, 8 M can be read_rnd_buffer_size = 16 M, 8 M can be table_open_cache = 512 small, it is recommended to change to 2048 max_allowed_packet = 5 M small, it is recommended to change to 16 M tmp_table_size = 64 M small, it is recommended to change to 2G innodb_buffer_pool_size = 3000, changed to 60% to 80% innodb_additional_mem_pool_size = 20 M of the total memory of the db server. Changed to 128 M join_buffer_size. Why is this parameter not displayed? The value must be set. join_buffer_size = 8 M must be added, this is join t. It is very important.

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.