<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>https://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>https://jackxiang.com/post//</link>
<title><![CDATA[[mysql]不要再执着于thread_concurrency]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[数据库技术]]></category>
<pubDate>Tue, 02 Sep 2014 13:07:43 +0000</pubDate> 
<guid>https://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	[mysql]不要再执着于thread_concurrency<br/>结论：<br/>thread_concurrency 在GNU/Linux系统上没有用的。<br/><br/>不过很多LINUX自带的mysql包里面的配置文件都有thread_concurrency选项，<br/>甚至Mysql官方源码里面的my-large.cnf my-innodb-heavy-4G.cnf里面也有。。<br/>Xml代码&nbsp;&nbsp;收藏代码<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;# This permits the application TO give the threads system a hint FOR the&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;# desired NUMBER OF threads that should be run at the same TIME.&nbsp;&nbsp;This&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;# VALUE ONLY makes sense ON systems that support the thread_concurrency()&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;# FUNCTION CALL (Sun Solaris, FOR example).&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;# You should try [NUMBER OF CPUs]*(2..4) FOR thread_concurrency&nbsp;&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;thread_concurrency = 8&nbsp;&nbsp;<br/>于是在网上就流传开了，在一些优化mysql配置的文章中，都说要把thread_concurrency设置为 CPU核数*2。<br/><br/>但是千万别上当，调整这个选项纯属浪费时间。<br/>它只在Solaris &lt; 9 的系统中有用。。。<br/>而且从mysql5.6.1开始，这个选项就被废了。<br/>http://bugs.mysql.com/bug.php?id=55001<br/><br/>INNODB：<br/>innodb_thread_concurrency = 128<br/>innodb_purge_threads = 32 # 5.6之后才支持大于1, 5.5上会自动变成1<br/># 默认设置为 0,表示不限制并发数，这里推荐设置为0，更好去发挥CPU多核处理能力，提高并发量<br/><br/><br/>
]]>
</description>
</item><item>
<link>https://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [mysql]不要再执着于thread_concurrency]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>