<?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: Intelligent user-controlled partitioning and writing distribution-aware NDB API Applications</title>
	<atom:link href="http://www.clusterdb.com/mysql-cluster/intelligent-user-controlled-partitioning-and-writing-distribution-aware-ndb-api-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clusterdb.com/mysql-cluster/intelligent-user-controlled-partitioning-and-writing-distribution-aware-ndb-api-applications/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=intelligent-user-controlled-partitioning-and-writing-distribution-aware-ndb-api-applications</link>
	<description>MySQL Cluster database &#38; MySQL Replication</description>
	<lastBuildDate>Thu, 02 Feb 2012 16:19:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.clusterdb.com/mysql-cluster/intelligent-user-controlled-partitioning-and-writing-distribution-aware-ndb-api-applications/comment-page-1/#comment-1784</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 06 Oct 2009 09:36:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=248#comment-1784</guid>
		<description>Hi Mike,

 in general, MySQL Cluster performs best when an individual transaction can be handled by a single data node. As all of the data is in memory, it is extremely fast for the data node to work on that data. Where it gets slower is when there needs to be lots of messaging between nodes.

 There are some cases where the MySQL Server node can be smart and break up the work between data nodes and so get the benefits of adding parallelism and if the application is only processing one transaction at a time then that might improve performance. It&#039;s more typical with Cluster though that the applications would be working on multiple sub_ids at the same time and so that is where you leverage the power of multiple, shared-nothing data nodes.

The good news is that it&#039;s extremely simple to change the partitioning for an existing database and so the best answer is to try it for yourself with your schema and application :)

Andrew.</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p> in general, MySQL Cluster performs best when an individual transaction can be handled by a single data node. As all of the data is in memory, it is extremely fast for the data node to work on that data. Where it gets slower is when there needs to be lots of messaging between nodes.</p>
<p> There are some cases where the MySQL Server node can be smart and break up the work between data nodes and so get the benefits of adding parallelism and if the application is only processing one transaction at a time then that might improve performance. It&#8217;s more typical with Cluster though that the applications would be working on multiple sub_ids at the same time and so that is where you leverage the power of multiple, shared-nothing data nodes.</p>
<p>The good news is that it&#8217;s extremely simple to change the partitioning for an existing database and so the best answer is to try it for yourself with your schema and application <img src='http://www.clusterdb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Andrew.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike van Lammeren</title>
		<link>http://www.clusterdb.com/mysql-cluster/intelligent-user-controlled-partitioning-and-writing-distribution-aware-ndb-api-applications/comment-page-1/#comment-1690</link>
		<dc:creator>Mike van Lammeren</dc:creator>
		<pubDate>Wed, 30 Sep 2009 21:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=248#comment-1690</guid>
		<description>I am trying to understand the ramifications of setting &quot;partition by key&quot; on the &quot;services&quot; table. By storing all the &quot;services&quot; records with the associated &quot;names&quot; record, aren&#039;t we preventing the ndbd nodes from working on a query in parallel?

If there are many hundreds or thousands of &quot;services&quot; records per &quot;names&quot; record, then wouldn&#039;t it be better if they were spread around? So that each of the 4 nodes, for example, could pull 1/4 of the records?

What am I missing?</description>
		<content:encoded><![CDATA[<p>I am trying to understand the ramifications of setting &#8220;partition by key&#8221; on the &#8220;services&#8221; table. By storing all the &#8220;services&#8221; records with the associated &#8220;names&#8221; record, aren&#8217;t we preventing the ndbd nodes from working on a query in parallel?</p>
<p>If there are many hundreds or thousands of &#8220;services&#8221; records per &#8220;names&#8221; record, then wouldn&#8217;t it be better if they were spread around? So that each of the 4 nodes, for example, could pull 1/4 of the records?</p>
<p>What am I missing?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

