<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: MyISAM concurrent insert</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/</link>
	<description>Everything about MySQL Performance</description>
	<pubDate>Fri, 05 Dec 2008 07:57:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Marc Pinel</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-337964</link>
		<dc:creator>Marc Pinel</dc:creator>
		<pubDate>Thu, 31 Jul 2008 15:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-337964</guid>
		<description>Hi man,

i have concurrent-insert=2 set....how would the positively impact the performance? i have a torrent tracker (legal content ofcourse) with heavy php and mysql visits daily...and some spikes.</description>
		<content:encoded><![CDATA[<p>Hi man,</p>
<p>i have concurrent-insert=2 set&#8230;.how would the positively impact the performance? i have a torrent tracker (legal content ofcourse) with heavy php and mysql visits daily&#8230;and some spikes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Online Car Insurance Rate Quotes</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-2865</link>
		<dc:creator>Online Car Insurance Rate Quotes</dc:creator>
		<pubDate>Thu, 28 Sep 2006 07:36:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-2865</guid>
		<description>&lt;strong&gt;Online Car Insurance Rate Quotes...&lt;/strong&gt;

Online Car Insurance Rate Quotes...</description>
		<content:encoded><![CDATA[<p><strong>Online Car Insurance Rate Quotes&#8230;</strong></p>
<p>Online Car Insurance Rate Quotes&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-2766</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Mon, 25 Sep 2006 06:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-2766</guid>
		<description>Jerry,

Well...
There are several points:
1. Possible negative effect - your INSERTS will be a bit longer. I don't know any bugs with disabled concurrent insert.
2. If you use only point selects, or selects that retieve only several rows - I don't think concurrent=off will help you much - perhaps otherwise.
3. if you use select retrieves many rows - you definitely should use concurrent=off
4. if your database is more write that read - then I again don't think concurrent is important for you - most time
tables are in WRITE lock.
5. But better way - test it - for example you can take mysql with patched query log and analyze execution time of queries with concurrent insert = off and on.</description>
		<content:encoded><![CDATA[<p>Jerry,</p>
<p>Well&#8230;<br />
There are several points:<br />
1. Possible negative effect - your INSERTS will be a bit longer. I don&#8217;t know any bugs with disabled concurrent insert.<br />
2. If you use only point selects, or selects that retieve only several rows - I don&#8217;t think concurrent=off will help you much - perhaps otherwise.<br />
3. if you use select retrieves many rows - you definitely should use concurrent=off<br />
4. if your database is more write that read - then I again don&#8217;t think concurrent is important for you - most time<br />
tables are in WRITE lock.<br />
5. But better way - test it - for example you can take mysql with patched query log and analyze execution time of queries with concurrent insert = off and on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-2756</link>
		<dc:creator>Jerry</dc:creator>
		<pubDate>Sun, 24 Sep 2006 16:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-2756</guid>
		<description>What is the negative impact to turn the concurrent_insert off? Will it make insert waits much longer? Is there any bug or issue related to turn off this default feature?
Will turning off the feature help queries which have no insert on the same table at the same time?

My system has update:Insert:Select ratio is 3:1.5:1 so the db is write more than read.

Thanks.</description>
		<content:encoded><![CDATA[<p>What is the negative impact to turn the concurrent_insert off? Will it make insert waits much longer? Is there any bug or issue related to turn off this default feature?<br />
Will turning off the feature help queries which have no insert on the same table at the same time?</p>
<p>My system has update:Insert:Select ratio is 3:1.5:1 so the db is write more than read.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-260</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Fri, 23 Jun 2006 13:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-260</guid>
		<description>Citrin,

I usually use sysbench (http://sysbench.sf.net).</description>
		<content:encoded><![CDATA[<p>Citrin,</p>
<p>I usually use sysbench (http://sysbench.sf.net).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: citrin</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-259</link>
		<dc:creator>citrin</dc:creator>
		<pubDate>Fri, 23 Jun 2006 13:22:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-259</guid>
		<description>Which soft was used in this benchmark?</description>
		<content:encoded><![CDATA[<p>Which soft was used in this benchmark?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-194</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Sat, 17 Jun 2006 05:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-194</guid>
		<description>I did not test concurrent-insert = 2, but looking at source code - it changes SELECTs code in no way. So the results will be the same.</description>
		<content:encoded><![CDATA[<p>I did not test concurrent-insert = 2, but looking at source code - it changes SELECTs code in no way. So the results will be the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Apachez</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-187</link>
		<dc:creator>Apachez</dc:creator>
		<pubDate>Fri, 16 Jun 2006 21:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-187</guid>
		<description>How does the "concurrent-insert = 2" feature described by Arjen affect the outcome of the above benchmark ?</description>
		<content:encoded><![CDATA[<p>How does the &#8220;concurrent-insert = 2&#8243; feature described by Arjen affect the outcome of the above benchmark ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-154</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Tue, 13 Jun 2006 12:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-154</guid>
		<description>Jay,

It happens even with only SELECT queries. 
The problem is  pthread_rwlock_rdlock is called for each scanned rows - that is the more rows we are processing the problem
is worse.
I don't have exactly number of rows - but I saw the same problem for 10.000 rows.
Good idea for benchmarks to check when the problem popups - I will try it soon.</description>
		<content:encoded><![CDATA[<p>Jay,</p>
<p>It happens even with only SELECT queries.<br />
The problem is  pthread_rwlock_rdlock is called for each scanned rows - that is the more rows we are processing the problem<br />
is worse.<br />
I don&#8217;t have exactly number of rows - but I saw the same problem for 10.000 rows.<br />
Good idea for benchmarks to check when the problem popups - I will try it soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Pipes</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-153</link>
		<dc:creator>Jay Pipes</dc:creator>
		<pubDate>Tue, 13 Jun 2006 11:56:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/13/myisam-concurrent-insert/#comment-153</guid>
		<description>Hi Vadim!

Great info.  Could you by any chance give us a heads up on what the "tipping point" is where you see scalability issues with concurrent insert?  Is there a specific % read/write where MyISAM starts to have trouble, or does the situation normally occur when there is a huge range condition like the one above (20000 rows)?

Cheers!

Jay</description>
		<content:encoded><![CDATA[<p>Hi Vadim!</p>
<p>Great info.  Could you by any chance give us a heads up on what the &#8220;tipping point&#8221; is where you see scalability issues with concurrent insert?  Is there a specific % read/write where MyISAM starts to have trouble, or does the situation normally occur when there is a huge range condition like the one above (20000 rows)?</p>
<p>Cheers!</p>
<p>Jay</p>
]]></content:encoded>
	</item>
</channel>
</rss>
