<?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: Dumb, and faster, databases</title>
	<atom:link href="http://labnotes.org/2008/08/23/dumb-and-faster-databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://labnotes.org/2008/08/23/dumb-and-faster-databases/</link>
	<description></description>
	<lastBuildDate>Sun, 15 Jan 2012 21:29:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Assaf</title>
		<link>http://labnotes.org/2008/08/23/dumb-and-faster-databases/comment-page-1/#comment-141243</link>
		<dc:creator>Assaf</dc:creator>
		<pubDate>Wed, 27 Aug 2008 18:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=1175#comment-141243</guid>
		<description>Generally, higher normal forms would be slower to query: there&#039;s more work involved because the data is spread over more rows, and query optimizers are only so smart. But higher normal forms is where the relational model shines.

Like, Apotheon said, if you don&#039;t care about higher normal forms, perhaps you shouldn&#039;t be using an RDBMS to begin with. If the best way to manage your data is 3NF (or 4NF or 5NF), then you&#039;re willing to put up with less performance for the added benefits.

What I see a lot of people doing, is using RDBMS because they need to store data. Fail.

Without understanding what RDBMS are good for you end up misusing them. On one end we have cases where the RDBMS adds unnecessary complexity that slows you down (performance and development). On the other hand, poor schemas that don&#039;t take advantage of the relational model.</description>
		<content:encoded><![CDATA[<p>Generally, higher normal forms would be slower to query: there&#8217;s more work involved because the data is spread over more rows, and query optimizers are only so smart. But higher normal forms is where the relational model shines.</p>
<p>Like, Apotheon said, if you don&#8217;t care about higher normal forms, perhaps you shouldn&#8217;t be using an RDBMS to begin with. If the best way to manage your data is 3NF (or 4NF or 5NF), then you&#8217;re willing to put up with less performance for the added benefits.</p>
<p>What I see a lot of people doing, is using RDBMS because they need to store data. Fail.</p>
<p>Without understanding what RDBMS are good for you end up misusing them. On one end we have cases where the RDBMS adds unnecessary complexity that slows you down (performance and development). On the other hand, poor schemas that don&#8217;t take advantage of the relational model.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: apotheon</title>
		<link>http://labnotes.org/2008/08/23/dumb-and-faster-databases/comment-page-1/#comment-141242</link>
		<dc:creator>apotheon</dc:creator>
		<pubDate>Wed, 27 Aug 2008 17:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=1175#comment-141242</guid>
		<description>Unfortunately, Stu, if you&#039;re running a database in first normal form, you&#039;re running an almost random pile of data -- at least as far as maintenance is concerned.  That&#039;s not exactly something I&#039;d care to deal with over long periods, except in data sets so small I&#039;d be better off using a flat file anyway (like Firefox&#039;s cookie policy exceptions database).</description>
		<content:encoded><![CDATA[<p>Unfortunately, Stu, if you&#8217;re running a database in first normal form, you&#8217;re running an almost random pile of data &#8212; at least as far as maintenance is concerned.  That&#8217;s not exactly something I&#8217;d care to deal with over long periods, except in data sets so small I&#8217;d be better off using a flat file anyway (like Firefox&#8217;s cookie policy exceptions database).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ole Phat Stu</title>
		<link>http://labnotes.org/2008/08/23/dumb-and-faster-databases/comment-page-1/#comment-141240</link>
		<dc:creator>Ole Phat Stu</dc:creator>
		<pubDate>Wed, 27 Aug 2008 14:38:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=1175#comment-141240</guid>
		<description>Could it be that 3rd normal form is slower than 2nd is slower than 1st?
And 3NF is what most people use/undertsand by a RDBMS?</description>
		<content:encoded><![CDATA[<p>Could it be that 3rd normal form is slower than 2nd is slower than 1st?<br />
And 3NF is what most people use/undertsand by a RDBMS?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chipping the web: August 26th -- Chip&#8217;s Quips</title>
		<link>http://labnotes.org/2008/08/23/dumb-and-faster-databases/comment-page-1/#comment-141238</link>
		<dc:creator>Chipping the web: August 26th -- Chip&#8217;s Quips</dc:creator>
		<pubDate>Wed, 27 Aug 2008 14:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=1175#comment-141238</guid>
		<description>[...] Labnotes &#187; Dumb, and faster, databasesPrecisely why Synergy DBMS still powers some of the heaviest used apps in the world.Tags: sql performance database [...]</description>
		<content:encoded><![CDATA[<p>[...] Labnotes &raquo; Dumb, and faster, databasesPrecisely why Synergy DBMS still powers some of the heaviest used apps in the world.Tags: sql performance database [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Watkins</title>
		<link>http://labnotes.org/2008/08/23/dumb-and-faster-databases/comment-page-1/#comment-141236</link>
		<dc:creator>Jason Watkins</dc:creator>
		<pubDate>Wed, 27 Aug 2008 09:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=1175#comment-141236</guid>
		<description>Assaf: I agree with the general idea, however MySQL&#039;s query planner is particularly dumb, and it&#039;s lack of certain features taken as given for other database engines (ie hash join) amplifies the problem.</description>
		<content:encoded><![CDATA[<p>Assaf: I agree with the general idea, however MySQL&#8217;s query planner is particularly dumb, and it&#8217;s lack of certain features taken as given for other database engines (ie hash join) amplifies the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Assaf</title>
		<link>http://labnotes.org/2008/08/23/dumb-and-faster-databases/comment-page-1/#comment-141224</link>
		<dc:creator>Assaf</dc:creator>
		<pubDate>Tue, 26 Aug 2008 00:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=1175#comment-141224</guid>
		<description>&quot;Jeremy Zawodny is an incoming employee of Craigslist, having left Yahoo!&#039;s platform engineering group. He has been described as &#039;Yahoo!&#039;s MySQL guru&#039;&quot;

I&#039;m just saying (source: Wikipedia, so you know it must be true!)

The problem is not RDBMS, but that people hold on to certain &quot;truths&quot; that are wrong.  Computers are very lousy in playing along to our believes.  If you know how the query optimizer works and the algorithms it uses, you know why (and when and where) it&#039;s wrong.  I think most people will find it easier to relate to a real life example, rather than discussing the internals of query optimizers, which is why I chose to link to this post.

And the problem is not isolated to MySQL, all the major database servers have these issues.</description>
		<content:encoded><![CDATA[<p>&#8220;Jeremy Zawodny is an incoming employee of Craigslist, having left Yahoo!&#8217;s platform engineering group. He has been described as &#8216;Yahoo!&#8217;s MySQL guru&#8217;&#8221;</p>
<p>I&#8217;m just saying (source: Wikipedia, so you know it must be true!)</p>
<p>The problem is not RDBMS, but that people hold on to certain &#8220;truths&#8221; that are wrong.  Computers are very lousy in playing along to our believes.  If you know how the query optimizer works and the algorithms it uses, you know why (and when and where) it&#8217;s wrong.  I think most people will find it easier to relate to a real life example, rather than discussing the internals of query optimizers, which is why I chose to link to this post.</p>
<p>And the problem is not isolated to MySQL, all the major database servers have these issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeremy</title>
		<link>http://labnotes.org/2008/08/23/dumb-and-faster-databases/comment-page-1/#comment-141219</link>
		<dc:creator>jeremy</dc:creator>
		<pubDate>Sun, 24 Aug 2008 21:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=1175#comment-141219</guid>
		<description>Whenever I read something along the lines of &quot;I tried to do xyz in SQL and I couldn&#039;t work it out/it wasn&#039;t fast enough, so instead I did it with zyx&quot; my immediate thought is &quot;I bet their schema, indexes or query is incorrect&quot;. I think this is definately the case here after reading the rest of the post and comments.

In the worst case the product could be to blame (often MySQL), but another RDBMS will probably be able to handle what you&#039;re trying to do in a sensible fashion. Without looking at the alternatives you end up saying all RDBMS are bad for a particular task, whereas that isn&#039;t necessarily the case.</description>
		<content:encoded><![CDATA[<p>Whenever I read something along the lines of &#8220;I tried to do xyz in SQL and I couldn&#8217;t work it out/it wasn&#8217;t fast enough, so instead I did it with zyx&#8221; my immediate thought is &#8220;I bet their schema, indexes or query is incorrect&#8221;. I think this is definately the case here after reading the rest of the post and comments.</p>
<p>In the worst case the product could be to blame (often MySQL), but another RDBMS will probably be able to handle what you&#8217;re trying to do in a sensible fashion. Without looking at the alternatives you end up saying all RDBMS are bad for a particular task, whereas that isn&#8217;t necessarily the case.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

