<?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: High performance replacement of the MySQL Memory storage engine with NDB</title>
	<atom:link href="http://www.bigdbahead.com/?feed=rss2&#038;p=183" rel="self" type="application/rss+xml" />
	<link>http://www.bigdbahead.com/?p=183</link>
	<description>Database Brain Power!</description>
	<lastBuildDate>Mon, 29 Mar 2010 22:08:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Yves Trudeau</title>
		<link>http://www.bigdbahead.com/?p=183&#038;cpage=1#comment-1197</link>
		<dc:creator>Yves Trudeau</dc:creator>
		<pubDate>Mon, 16 Mar 2009 14:57:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=183#comment-1197</guid>
		<description>Johan, I obviously missed your post... Mine is indeed very similar.</description>
		<content:encoded><![CDATA[<p>Johan, I obviously missed your post&#8230; Mine is indeed very similar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan Andersson</title>
		<link>http://www.bigdbahead.com/?p=183&#038;cpage=1#comment-1195</link>
		<dc:creator>Johan Andersson</dc:creator>
		<pubDate>Mon, 16 Mar 2009 14:41:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=183#comment-1195</guid>
		<description>matt, sure you have replicas. With Cluster you always have (unless you have set NoOfReplicas=2). We have implemented this with quite a few customers using Cluster for session management (but then we have also stored a &quot;shard catalog/index&quot; on Cluster as well):

http://johanandersson.blogspot.com/2008/12/cluster-session-management-tips-and.html

BR
johan</description>
		<content:encoded><![CDATA[<p>matt, sure you have replicas. With Cluster you always have (unless you have set NoOfReplicas=2). We have implemented this with quite a few customers using Cluster for session management (but then we have also stored a &#8220;shard catalog/index&#8221; on Cluster as well):</p>
<p><a href="http://johanandersson.blogspot.com/2008/12/cluster-session-management-tips-and.html" rel="nofollow">http://johanandersson.blogspot.com/2008/12/cluster-session-management-tips-and.html</a></p>
<p>BR<br />
johan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Callaghan</title>
		<link>http://www.bigdbahead.com/?p=183&#038;cpage=1#comment-1164</link>
		<dc:creator>Mark Callaghan</dc:creator>
		<pubDate>Sat, 14 Mar 2009 03:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=183#comment-1164</guid>
		<description>My preference is for the query cache and the HEAP engine to be fixed to scale on SMP. As you mention, there is a lot of value to having the data in the database. Any data subject to audit controls (SOX, HIPPA, PCI) requires access control and keeping it in a database table or the query cache provides that. Also, if the data is kept in the query cache or a HEAP table, then you don&#039;t have the overhead of managing separate memcached processes. 

I don&#039;t think too much work is required to fix both the HEAP engine and the query cache. But I have not heard of anyone doing this. Someone? Anyone? From the outside looking in MySQL seems to be investing much more energy in memcached than in fixing these problems.</description>
		<content:encoded><![CDATA[<p>My preference is for the query cache and the HEAP engine to be fixed to scale on SMP. As you mention, there is a lot of value to having the data in the database. Any data subject to audit controls (SOX, HIPPA, PCI) requires access control and keeping it in a database table or the query cache provides that. Also, if the data is kept in the query cache or a HEAP table, then you don&#8217;t have the overhead of managing separate memcached processes. </p>
<p>I don&#8217;t think too much work is required to fix both the HEAP engine and the query cache. But I have not heard of anyone doing this. Someone? Anyone? From the outside looking in MySQL seems to be investing much more energy in memcached than in fixing these problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.bigdbahead.com/?p=183&#038;cpage=1#comment-1162</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Sat, 14 Mar 2009 01:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=183#comment-1162</guid>
		<description>Yves correct me if I am wrong, but you can still have replicas built in here as well.  This would provide some fault tolerance for this solution.  So even if a data node goes done your data/database is still up.  

Mark I agree memcached is sooooo much simplier.  But their is a lot of memory database love out their, not 100% sure why.  But I have some customers who refuse to use memcached.  

Additionally this solution does offer a few other features not found in memcached ( security, the ability to search on multiple keys, the ability to join, etc. )...  so their maybe a place for this.</description>
		<content:encoded><![CDATA[<p>Yves correct me if I am wrong, but you can still have replicas built in here as well.  This would provide some fault tolerance for this solution.  So even if a data node goes done your data/database is still up.  </p>
<p>Mark I agree memcached is sooooo much simplier.  But their is a lot of memory database love out their, not 100% sure why.  But I have some customers who refuse to use memcached.  </p>
<p>Additionally this solution does offer a few other features not found in memcached ( security, the ability to search on multiple keys, the ability to join, etc. )&#8230;  so their maybe a place for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Callaghan</title>
		<link>http://www.bigdbahead.com/?p=183&#038;cpage=1#comment-1160</link>
		<dc:creator>Mark Callaghan</dc:creator>
		<pubDate>Sat, 14 Mar 2009 00:41:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=183#comment-1160</guid>
		<description>I am sure that performance with NDB is awesome. But memcached is much simpler. And for this use case, most of the awesome-ness of NDB is not being used but you still get the complexity.</description>
		<content:encoded><![CDATA[<p>I am sure that performance with NDB is awesome. But memcached is much simpler. And for this use case, most of the awesome-ness of NDB is not being used but you still get the complexity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yves Trudeau</title>
		<link>http://www.bigdbahead.com/?p=183&#038;cpage=1#comment-1156</link>
		<dc:creator>Yves Trudeau</dc:creator>
		<pubDate>Fri, 13 Mar 2009 20:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=183#comment-1156</guid>
		<description>The problem with NDB cluster is that a global checkpoint GCP is needed for a create/alter table.  Normally, there is a GCP at each 2 seconds, so a creating and dropping a temporary table can take up to 4 seconds.  See http://www.bigdbahead.com/?p=204  for another way of handling efficiently temporary files.</description>
		<content:encoded><![CDATA[<p>The problem with NDB cluster is that a global checkpoint GCP is needed for a create/alter table.  Normally, there is a GCP at each 2 seconds, so a creating and dropping a temporary table can take up to 4 seconds.  See <a href="http://www.bigdbahead.com/?p=204" rel="nofollow">http://www.bigdbahead.com/?p=204</a>  for another way of handling efficiently temporary files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antony Curtis</title>
		<link>http://www.bigdbahead.com/?p=183&#038;cpage=1#comment-1155</link>
		<dc:creator>Antony Curtis</dc:creator>
		<pubDate>Fri, 13 Mar 2009 20:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=183#comment-1155</guid>
		<description>This is interesting....

Perhaps the NDB team can create a new handler class for as a replacement to Memory so that MySQL could use it for all it&#039;s temporary tables?</description>
		<content:encoded><![CDATA[<p>This is interesting&#8230;.</p>
<p>Perhaps the NDB team can create a new handler class for as a replacement to Memory so that MySQL could use it for all it&#8217;s temporary tables?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yves Trudeau</title>
		<link>http://www.bigdbahead.com/?p=183&#038;cpage=1#comment-1154</link>
		<dc:creator>Yves Trudeau</dc:creator>
		<pubDate>Fri, 13 Mar 2009 19:16:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=183#comment-1154</guid>
		<description>Roland:  Unfortunately, many recent NDB features are not documented.  I learned about this one from Johan.

Mark: It depends some people don&#039;t want to add another moving parts.  NDB can be a full database, not only be use for web session.  Other tables can be persistent on disk.  Performance wise, NDB, at least with the NDB API, is almost on par with memcached.</description>
		<content:encoded><![CDATA[<p>Roland:  Unfortunately, many recent NDB features are not documented.  I learned about this one from Johan.</p>
<p>Mark: It depends some people don&#8217;t want to add another moving parts.  NDB can be a full database, not only be use for web session.  Other tables can be persistent on disk.  Performance wise, NDB, at least with the NDB API, is almost on par with memcached.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Callaghan</title>
		<link>http://www.bigdbahead.com/?p=183&#038;cpage=1#comment-1153</link>
		<dc:creator>Mark Callaghan</dc:creator>
		<pubDate>Fri, 13 Mar 2009 19:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=183#comment-1153</guid>
		<description>So you think people will be better off running NDB rather than memcached for this?</description>
		<content:encoded><![CDATA[<p>So you think people will be better off running NDB rather than memcached for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roland Bouman</title>
		<link>http://www.bigdbahead.com/?p=183&#038;cpage=1#comment-1152</link>
		<dc:creator>Roland Bouman</dc:creator>
		<pubDate>Fri, 13 Mar 2009 18:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.bigdbahead.com/?p=183#comment-1152</guid>
		<description>Nice tip! 

never heard of this variable...I should have...is it possible it has been documented only recently? 

kind regards,

Roland</description>
		<content:encoded><![CDATA[<p>Nice tip! </p>
<p>never heard of this variable&#8230;I should have&#8230;is it possible it has been documented only recently? </p>
<p>kind regards,</p>
<p>Roland</p>
]]></content:encoded>
	</item>
</channel>
</rss>
