MySQL5.6.30低配机器的配置文件,最小资源占用

post by rocdk890 / 2016-9-19 13:31 Monday linux技术
01[mysqld]
02 
03innodb_buffer_pool_size=5M
04innodb_log_buffer_size=256K
05query_cache_size=0
06max_connections=10
07key_buffer_size=8
08thread_cache_size=0
09host_cache_size=0
10innodb_ft_cache_size=1600000
11innodb_ft_total_cache_size=32000000
12 
13# per thread or per operation settings
14thread_stack=131072
15sort_buffer_size=32K
16read_buffer_size=8200
17read_rnd_buffer_size=8200
18max_heap_table_size=16K
19tmp_table_size=1K
20bulk_insert_buffer_size=0
21join_buffer_size=128
22net_buffer_length=1K
23innodb_sort_buffer_size=64K
24 
25#settings that relate to the binary log (if enabled)
26binlog_cache_size=4K
27binlog_stmt_cache_size=4K
ps:http://www.tocker.ca/2014/03/10/configuring-mysql-to-use-minimal-memory.htm
夜空- 本站版权
1、本站所有主题由该文章作者发表,该文章作者与夜空享有文章相关版权
2、其他单位或个人使用、转载或引用本文时必须同时征得该文章作者和夜空的同意
3、本帖部分内容转载自其它媒体,但并不代表本站赞同其观点和对其真实性负责
4、如本帖侵犯到任何版权问题,请立即告知本站,本站将及时予与删除并致以最深的歉意
5、原文链接:blog.slogra.com/post-669.html

标签: 配置 mysql linux 5.6

评论:

正在载入...