<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Index lock and adaptive search &#8211; next two biggest InnoDB problems</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2010/02/25/index-lock-and-adaptive-search-next-two-biggest-innodb-problems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2010/02/25/index-lock-and-adaptive-search-next-two-biggest-innodb-problems/</link>
	<description>Percona&#039;s MySQL &#38; InnoDB performance and scalability blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:45:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: sky000</title>
		<link>http://www.mysqlperformanceblog.com/2010/02/25/index-lock-and-adaptive-search-next-two-biggest-innodb-problems/comment-page-1/#comment-731894</link>
		<dc:creator>sky000</dc:creator>
		<pubDate>Thu, 04 Mar 2010 05:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2238#comment-731894</guid>
		<description>Not only both read and write query using same secondary index will happen this problem,but also just only read query too.

like this:

http://bugs.mysql.com/bug.php?id=51543</description>
		<content:encoded><![CDATA[<p>Not only both read and write query using same secondary index will happen this problem,but also just only read query too.</p>
<p>like this:</p>
<p><a href="http://bugs.mysql.com/bug.php?id=51543" rel="nofollow">http://bugs.mysql.com/bug.php?id=51543</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2010/02/25/index-lock-and-adaptive-search-next-two-biggest-innodb-problems/comment-page-1/#comment-731738</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 03 Mar 2010 22:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2238#comment-731738</guid>
		<description>Vadim,

Is it Mutex which protecting Index lock or is it RWLOCK ?  I see no reason why readers should block other readers in either of them ?</description>
		<content:encoded><![CDATA[<p>Vadim,</p>
<p>Is it Mutex which protecting Index lock or is it RWLOCK ?  I see no reason why readers should block other readers in either of them ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.mysqlperformanceblog.com/2010/02/25/index-lock-and-adaptive-search-next-two-biggest-innodb-problems/comment-page-1/#comment-730868</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Mon, 01 Mar 2010 18:35:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2238#comment-730868</guid>
		<description>artemg,

We did not test this setup yet.
Actually Gallera replication looks prefferable for me in this regard,
but I need yet to understand whan kind of latency we can have on simple transactions on
single box.</description>
		<content:encoded><![CDATA[<p>artemg,</p>
<p>We did not test this setup yet.<br />
Actually Gallera replication looks prefferable for me in this regard,<br />
but I need yet to understand whan kind of latency we can have on simple transactions on<br />
single box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.mysqlperformanceblog.com/2010/02/25/index-lock-and-adaptive-search-next-two-biggest-innodb-problems/comment-page-1/#comment-730856</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Mon, 01 Mar 2010 16:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2238#comment-730856</guid>
		<description>Tobias,

InnoDB has too many internal global structures which are blocked by single writer.
To add to alredy named index-&gt;lock and adaptive_search lock, there is single rollback segment and single lock on intrenal data dictionary.
It is not as bad as for MyISAM table level lock, but named issues do not allow to scale on multi-cpu/cores systems.</description>
		<content:encoded><![CDATA[<p>Tobias,</p>
<p>InnoDB has too many internal global structures which are blocked by single writer.<br />
To add to alredy named index->lock and adaptive_search lock, there is single rollback segment and single lock on intrenal data dictionary.<br />
It is not as bad as for MyISAM table level lock, but named issues do not allow to scale on multi-cpu/cores systems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: artemg</title>
		<link>http://www.mysqlperformanceblog.com/2010/02/25/index-lock-and-adaptive-search-next-two-biggest-innodb-problems/comment-page-1/#comment-730796</link>
		<dc:creator>artemg</dc:creator>
		<pubDate>Mon, 01 Mar 2010 08:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2238#comment-730796</guid>
		<description>have you already tried/tested to bind several mysql instances to different cores/sockets on the same box and run them in master-&gt;slave configuration?
does it scale good enough, or there are other replicataion-specific bottlnecks?</description>
		<content:encoded><![CDATA[<p>have you already tried/tested to bind several mysql instances to different cores/sockets on the same box and run them in master-&gt;slave configuration?<br />
does it scale good enough, or there are other replicataion-specific bottlnecks?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.mysqlperformanceblog.com/2010/02/25/index-lock-and-adaptive-search-next-two-biggest-innodb-problems/comment-page-1/#comment-730568</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Sun, 28 Feb 2010 13:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2238#comment-730568</guid>
		<description>With regard to index-&gt;mutex problem:
Another possible solution would be to manage overflow pages to the index. So that not all writes to the index are immediately affected in the B-Tree, but rather written -- sequentially -- to index-overflow-pages, which are later applied in batch jobs.
Index lookups will need to iterate both these structures.</description>
		<content:encoded><![CDATA[<p>With regard to index-&gt;mutex problem:<br />
Another possible solution would be to manage overflow pages to the index. So that not all writes to the index are immediately affected in the B-Tree, but rather written &#8212; sequentially &#8212; to index-overflow-pages, which are later applied in batch jobs.<br />
Index lookups will need to iterate both these structures.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://www.mysqlperformanceblog.com/2010/02/25/index-lock-and-adaptive-search-next-two-biggest-innodb-problems/comment-page-1/#comment-730475</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Sun, 28 Feb 2010 05:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2238#comment-730475</guid>
		<description>Baron,

You are right, after fixing one bottleneck we will face another, and it will continue as long we have shread global structures.

So.. the solution to run 128 mysql instances on 128 cores does not look that bad ;)</description>
		<content:encoded><![CDATA[<p>Baron,</p>
<p>You are right, after fixing one bottleneck we will face another, and it will continue as long we have shread global structures.</p>
<p>So.. the solution to run 128 mysql instances on 128 cores does not look that bad <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2010/02/25/index-lock-and-adaptive-search-next-two-biggest-innodb-problems/comment-page-1/#comment-730439</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Sun, 28 Feb 2010 03:18:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2238#comment-730439</guid>
		<description>Vadim, the adaptive hash index is sometimes even the leading problem on standard non-plugin InnoDB in MySQL 5.0.x.  I just saw a case of that today, on a server with 24 cores.

It seems to me that the global structures are inevitably going to become a global problem inside InnoDB.  Adaptive hash index is one, but I think the insert buffer, undo logs, and probably almost everything else in the global tablespace is another.  As I look into our crystal ball, I see us going from bottleneck to bottleneck :-)  Will we eventually end up with a storage engine that has nothing shared?  Everything per-table or per-index?</description>
		<content:encoded><![CDATA[<p>Vadim, the adaptive hash index is sometimes even the leading problem on standard non-plugin InnoDB in MySQL 5.0.x.  I just saw a case of that today, on a server with 24 cores.</p>
<p>It seems to me that the global structures are inevitably going to become a global problem inside InnoDB.  Adaptive hash index is one, but I think the insert buffer, undo logs, and probably almost everything else in the global tablespace is another.  As I look into our crystal ball, I see us going from bottleneck to bottleneck <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   Will we eventually end up with a storage engine that has nothing shared?  Everything per-table or per-index?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tobias Petry</title>
		<link>http://www.mysqlperformanceblog.com/2010/02/25/index-lock-and-adaptive-search-next-two-biggest-innodb-problems/comment-page-1/#comment-729844</link>
		<dc:creator>Tobias Petry</dc:creator>
		<pubDate>Fri, 26 Feb 2010 11:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=2238#comment-729844</guid>
		<description>Your explanation of the lock mutex sounds like the MyIsam implementation: Block all reads when there&#039;s some data manipulation. But this can&#039;t be true or? This would be as worse as MyIsam and would not fit into the concept of row-level-locking.</description>
		<content:encoded><![CDATA[<p>Your explanation of the lock mutex sounds like the MyIsam implementation: Block all reads when there&#8217;s some data manipulation. But this can&#8217;t be true or? This would be as worse as MyIsam and would not fit into the concept of row-level-locking.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

