<?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: Dangers of Adding fields to Database Tables</title>
	<atom:link href="http://www.hurricanesoftwares.com/dangers-of-adding-fields-to-database-tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hurricanesoftwares.com/dangers-of-adding-fields-to-database-tables/</link>
	<description>For Developers, Designers and SEO Specialists</description>
	<lastBuildDate>Fri, 12 Mar 2010 17:27:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jice</title>
		<link>http://www.hurricanesoftwares.com/dangers-of-adding-fields-to-database-tables/comment-page-1/#comment-1045</link>
		<dc:creator>Jice</dc:creator>
		<pubDate>Thu, 26 Feb 2009 17:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.hurricanesoftwares.com/?p=401#comment-1045</guid>
		<description>In this case, of course... For some huge databases, you can&#039;t lose time.&lt;br&gt;&lt;br&gt;But anyway the code should map the rows some way to avoid handling 4 fields or the 3rd field (as mentionned in the quoted part of my previous post)...&lt;br&gt;It&#039;s better to have&lt;br&gt;row[&quot;field&quot;]&lt;br&gt;than&lt;br&gt;row[3]&lt;br&gt;&lt;br&gt;Good habit is to have some MVC model and have database access objects where datas are retrieved and mapped in datastructures used anywhere else.</description>
		<content:encoded><![CDATA[<p>In this case, of course&#8230; For some huge databases, you can&#39;t lose time.</p>
<p>But anyway the code should map the rows some way to avoid handling 4 fields or the 3rd field (as mentionned in the quoted part of my previous post)&#8230;<br />It&#39;s better to have<br />row["field"]<br />than<br />row[3]</p>
<p>Good habit is to have some MVC model and have database access objects where datas are retrieved and mapped in datastructures used anywhere else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jice</title>
		<link>http://www.hurricanesoftwares.com/dangers-of-adding-fields-to-database-tables/comment-page-1/#comment-804</link>
		<dc:creator>Jice</dc:creator>
		<pubDate>Thu, 26 Feb 2009 12:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.hurricanesoftwares.com/?p=401#comment-804</guid>
		<description>In this case, of course... For some huge databases, you can&#039;t lose time.&lt;br&gt;&lt;br&gt;But anyway the code should map the rows some way to avoid handling 4 fields or the 3rd field (as mentionned in the quoted part of my previous post)...&lt;br&gt;It&#039;s better to have&lt;br&gt;row[&quot;field&quot;]&lt;br&gt;than&lt;br&gt;row[3]&lt;br&gt;&lt;br&gt;Good habit is to have some MVC model and have database access objects where datas are retrieved and mapped in datastructures used anywhere else.</description>
		<content:encoded><![CDATA[<p>In this case, of course&#8230; For some huge databases, you can&#39;t lose time.</p>
<p>But anyway the code should map the rows some way to avoid handling 4 fields or the 3rd field (as mentionned in the quoted part of my previous post)&#8230;<br />It&#39;s better to have<br />row["field"]<br />than<br />row[3]</p>
<p>Good habit is to have some MVC model and have database access objects where datas are retrieved and mapped in datastructures used anywhere else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish</title>
		<link>http://www.hurricanesoftwares.com/dangers-of-adding-fields-to-database-tables/comment-page-1/#comment-801</link>
		<dc:creator>Ashish</dc:creator>
		<pubDate>Wed, 25 Feb 2009 15:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.hurricanesoftwares.com/?p=401#comment-801</guid>
		<description>Ture, when it comes to give priority then we should give priority to maintenance over performance but there are some critical cases where we can&#039;t neglect performance too.&lt;br&gt;&lt;br&gt;Suppose a large site like &quot;Digg&quot; where you have huge database and millions of people online doing database operations, performance becomes the key. Ideally, we should avoid the practice of using &quot;Select *&quot; in our queries.</description>
		<content:encoded><![CDATA[<p>Ture, when it comes to give priority then we should give priority to maintenance over performance but there are some critical cases where we can&#39;t neglect performance too.</p>
<p>Suppose a large site like &#8220;Digg&#8221; where you have huge database and millions of people online doing database operations, performance becomes the key. Ideally, we should avoid the practice of using &#8220;Select *&#8221; in our queries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jice</title>
		<link>http://www.hurricanesoftwares.com/dangers-of-adding-fields-to-database-tables/comment-page-1/#comment-800</link>
		<dc:creator>Jice</dc:creator>
		<pubDate>Wed, 25 Feb 2009 14:42:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.hurricanesoftwares.com/?p=401#comment-800</guid>
		<description>[QUOTE]&lt;br&gt;If the front-end application is coded in such a way so that it tries to handle only these four fields...&lt;br&gt;[/QUOTE]&lt;br&gt;This seems to me a very bad coding way. Datas should be stored in structures where the fields names are specified.&lt;br&gt;And in this case, if you add a new field in the select clause, * or not, the problem will still be there.&lt;br&gt;&lt;br&gt;I agree on the performance problems but a &quot;select *&quot; and good programming habits make database evolutions very easy to maintain : only the programs where the new field is needed should be modified.&lt;br&gt;Here comes again the big question : should I give priority to maintenance or to performance.&lt;br&gt;For me, maintenance should come first except if performance appears to be a problem...</description>
		<content:encoded><![CDATA[<p>[QUOTE]<br />If the front-end application is coded in such a way so that it tries to handle only these four fields&#8230;<br />[/QUOTE]<br />This seems to me a very bad coding way. Datas should be stored in structures where the fields names are specified.<br />And in this case, if you add a new field in the select clause, * or not, the problem will still be there.</p>
<p>I agree on the performance problems but a &#8220;select *&#8221; and good programming habits make database evolutions very easy to maintain : only the programs where the new field is needed should be modified.<br />Here comes again the big question : should I give priority to maintenance or to performance.<br />For me, maintenance should come first except if performance appears to be a problem&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
