<?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: The NoSQL Movement: The Object &#8211; RDMBS Incompatability</title>
	<atom:link href="http://halwebguy.danziger.net/2010/02/25/the-nosql-movement-the-object-rdmbs-incompatability/feed/" rel="self" type="application/rss+xml" />
	<link>http://halwebguy.danziger.net/2010/02/25/the-nosql-movement-the-object-rdmbs-incompatability/</link>
	<description>following the crossroads of media and technology products</description>
	<lastBuildDate>Fri, 13 Aug 2010 14:59:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Mickey Rahman</title>
		<link>http://halwebguy.danziger.net/2010/02/25/the-nosql-movement-the-object-rdmbs-incompatability/comment-page-1/#comment-190</link>
		<dc:creator>Mickey Rahman</dc:creator>
		<pubDate>Fri, 13 Aug 2010 14:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://halwebguy.danziger.net/?p=162#comment-190</guid>
		<description>In your example, are you saying its not effective because it doesn&#039;t map to exactly to the objects in code, or because its just slow and not efficient? Or because its just not intuitive? I think there are many ways to make it faster(other than what I stated above), at least fast enough to it not be &quot;not effective&quot; anymore....

In regards to it being a natural fit - I would argue whether how ALL your data is stored in its repository (be it a RDBMS, or any other system) actually needs to mirror your object models in code - they have different philosphy on how they work, and is stored the most efficient way so that the individual systems can work to their fullest capability. I mean, as programmers, its our job to integrate them in the best way possible (or so I believe).

And in regards to it being intuitive - hey, can&#039;t win em all :)</description>
		<content:encoded><![CDATA[<p>In your example, are you saying its not effective because it doesn&#8217;t map to exactly to the objects in code, or because its just slow and not efficient? Or because its just not intuitive? I think there are many ways to make it faster(other than what I stated above), at least fast enough to it not be &#8220;not effective&#8221; anymore&#8230;.</p>
<p>In regards to it being a natural fit &#8211; I would argue whether how ALL your data is stored in its repository (be it a RDBMS, or any other system) actually needs to mirror your object models in code &#8211; they have different philosphy on how they work, and is stored the most efficient way so that the individual systems can work to their fullest capability. I mean, as programmers, its our job to integrate them in the best way possible (or so I believe).</p>
<p>And in regards to it being intuitive &#8211; hey, can&#8217;t win em all <img src='http://halwebguy.danziger.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mickey Rahman</title>
		<link>http://halwebguy.danziger.net/2010/02/25/the-nosql-movement-the-object-rdmbs-incompatability/comment-page-1/#comment-189</link>
		<dc:creator>Mickey Rahman</dc:creator>
		<pubDate>Fri, 13 Aug 2010 14:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://halwebguy.danziger.net/?p=162#comment-189</guid>
		<description>I&#039;ve seen this problem solved in many ways before with a combination of things - no round trip is neccessary because you can do the recursive loop to get all the children in one set of sql statements, and then depending on the situation, cache it so that you don&#039;t have to go get it everytime. But there are much better algorithms to solve this in a RDBMS that are much faster, but not very intuitive - doesn&#039;t map to the objects very well.

Hal, I&#039;m partly from the same dinosaur tribe that you are :) but I know the current trend is to have developers do as little DB developement as possible, mainly for the reason that you stated, that they would have to write in a second language. Personally I don&#039;t consider that a tragedy, but I can see how that can become a problem. But thats what DBAs and DB developers are for, no? Although I hear that in the trend to separate the programmers from DB as much possible is making those positions obsolete....

In reference to the second comment - I see a few issue with that solution in most scenarios, but maybe you can clarify them: How does the XML repository store the data? In a text file? How do you maintain that, and what is the concurrent access problems you will see in that? I suppose you can store the whole blob in the DB as well in a text/large varchar field - but also, if its a category-sub catgeory hierarchy, how would you relate this to the rest of the data that its associated with? There will be no referencial integrity if its all in a blob.... 

I&#039;b be curious to see more solutions to this problem in a non-RDBMS system....</description>
		<content:encoded><![CDATA[<p>I&#8217;ve seen this problem solved in many ways before with a combination of things &#8211; no round trip is neccessary because you can do the recursive loop to get all the children in one set of sql statements, and then depending on the situation, cache it so that you don&#8217;t have to go get it everytime. But there are much better algorithms to solve this in a RDBMS that are much faster, but not very intuitive &#8211; doesn&#8217;t map to the objects very well.</p>
<p>Hal, I&#8217;m partly from the same dinosaur tribe that you are <img src='http://halwebguy.danziger.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  but I know the current trend is to have developers do as little DB developement as possible, mainly for the reason that you stated, that they would have to write in a second language. Personally I don&#8217;t consider that a tragedy, but I can see how that can become a problem. But thats what DBAs and DB developers are for, no? Although I hear that in the trend to separate the programmers from DB as much possible is making those positions obsolete&#8230;.</p>
<p>In reference to the second comment &#8211; I see a few issue with that solution in most scenarios, but maybe you can clarify them: How does the XML repository store the data? In a text file? How do you maintain that, and what is the concurrent access problems you will see in that? I suppose you can store the whole blob in the DB as well in a text/large varchar field &#8211; but also, if its a category-sub catgeory hierarchy, how would you relate this to the rest of the data that its associated with? There will be no referencial integrity if its all in a blob&#8230;. </p>
<p>I&#8217;b be curious to see more solutions to this problem in a non-RDBMS system&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominique Rabeuf</title>
		<link>http://halwebguy.danziger.net/2010/02/25/the-nosql-movement-the-object-rdmbs-incompatability/comment-page-1/#comment-65</link>
		<dc:creator>Dominique Rabeuf</dc:creator>
		<pubDate>Thu, 25 Feb 2010 16:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://halwebguy.danziger.net/?p=162#comment-65</guid>
		<description>Your sample is based on use of PK/FK (Primary and Foreign keys).
Mechanism largely used in RDBMS.
XML Schema provide with key/keyref elements, analogous but most powerful than PK/FK in relational use case.
With a simple XQuery and a very little recursive function one can retrieve nested hierarchic collections</description>
		<content:encoded><![CDATA[<p>Your sample is based on use of PK/FK (Primary and Foreign keys).<br />
Mechanism largely used in RDBMS.<br />
XML Schema provide with key/keyref elements, analogous but most powerful than PK/FK in relational use case.<br />
With a simple XQuery and a very little recursive function one can retrieve nested hierarchic collections</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://halwebguy.danziger.net/2010/02/25/the-nosql-movement-the-object-rdmbs-incompatability/comment-page-1/#comment-64</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 25 Feb 2010 15:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://halwebguy.danziger.net/?p=162#comment-64</guid>
		<description>Take a look at GT.M&#039;s natural hierarchical sparse persistent arrays.  These give you two solutions to your problem.  Firstly you can model many hierarchies to directly using n subscripts, but also take a look at the XML DOM example I&#039;ve used in the M/Wire tutorial (http://www.mgateway.com/mwire.html) where you&#039;ll see the array structure can be used to very simply model the arbitrary level of tag nesting you get in an XML document.

Is this the kind of NoSQL solution you have in mind?</description>
		<content:encoded><![CDATA[<p>Take a look at GT.M&#8217;s natural hierarchical sparse persistent arrays.  These give you two solutions to your problem.  Firstly you can model many hierarchies to directly using n subscripts, but also take a look at the XML DOM example I&#8217;ve used in the M/Wire tutorial (<a href="http://www.mgateway.com/mwire.html" rel="nofollow">http://www.mgateway.com/mwire.html</a>) where you&#8217;ll see the array structure can be used to very simply model the arbitrary level of tag nesting you get in an XML document.</p>
<p>Is this the kind of NoSQL solution you have in mind?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
