My.ini optimization in MySQL database 2G memory for the installation of multi-voltage station _mysql

Source: Internet
Author: User

The larger the physical memory, the larger the setting. The default is 2402, tuned to 512-1024 best
innodb_additional_mem_pool_size=4m defaults to 2M
(set to 0 is to wait until the innodb_log_buffer_size queue is full and then unified storage, the default is 1)
innodb_log_buffer_size=2m defaults to 1M
Innodb_thread_concurrency=8 a few of your server CPUs are set to a few, recommended by default generally 8
key_buffer_size=256m defaults to 218 to 128 best
tmp_table_size=64m defaults to 16M up to 64-256
read_buffer_size=4m defaults to 64K
read_rnd_buffer_size=16m defaults to 256K
sort_buffer_size=32m defaults to 256K
max_connections=1024 defaults to 1210
thread_cache_size=120 defaults to 60

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: 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.