MY-INNODB-HEAVY-4G.CNF configuration file Description

Source: Internet
Author: User

[Client]
Port = 3306
Socket =/application/mysql-5.5.32/tmp/mysql.sock
[Mysqld]
Port = 3306
Socket =/application/mysql-5.5.32/tmp/mysql.sock
Back_log = 50
max_connections = 100
Max_connect_errors = 10
Table_open_cache = 2048
Max_allowed_packet = 16M
Binlog_cache_size = 1M
Max_heap_table_size = 64M
Read_buffer_size = 2M
Read_rnd_buffer_size = 16M
Sort_buffer_size = 8M
Join_buffer_size = 8M
Thread_cache_size = 8
Thread_concurrency = 8
Query_cache_size = 64M
Query_cache_limit = 2M
Ft_min_word_len = 4
Default-storage-engine = MYISAM
Thread_stack = 192K
Transaction_isolation = Repeatable-read
Tmp_table_size = 64M
Log-bin=mysql-bin
Binlog_format=mixed
Slow_query_log
Long_query_time = 2
Server-id = 1
Key_buffer_size = 32M
Bulk_insert_buffer_size = 64M
Myisam_sort_buffer_size = 128M
Myisam_max_sort_file_size = 10G
Myisam_repair_threads = 1
Myisam_recover
Innodb_additional_mem_pool_size = 16M
Innodb_buffer_pool_size = 2G
Innodb_data_file_path = Ibdata1:10m:autoextend
Innodb_write_io_threads = 8
Innodb_read_io_threads = 8
Innodb_thread_concurrency = 16
Innodb_flush_log_at_trx_commit = 1
Innodb_log_buffer_size = 8M
Innodb_log_file_size = 256M
Innodb_log_files_in_group = 3
innodb_max_dirty_pages_pct = 90
Innodb_lock_wait_timeout = 120
[Mysqldump]
Quick
Max_allowed_packet = 16M
[MySQL]
No-auto-rehash
[Myisamchk]
Key_buffer_size = 512M
Sort_buffer_size = 512M
Read_buffer = 8M
Write_buffer = 8M
[Mysqlhotcopy]
Interactive-timeout
[Mysqld_safe]
Open-files-limit = 8192

This article is from the "funny Brother Notes" blog, be sure to keep this source http://qiuyt.blog.51cto.com/1229789/1920292

MY-INNODB-HEAVY-4G.CNF configuration file Description

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.