<?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"
	>
<channel>
	<title>Comments on: Things That Are Important: Where Clauses</title>
	<atom:link href="http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/</link>
	<description></description>
	<pubDate>Wed, 23 Jul 2008 21:52:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: k</title>
		<link>http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-267</link>
		<dc:creator>k</dc:creator>
		<pubDate>Mon, 07 Apr 2008 15:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-267</guid>
		<description>I remember forgetting the where clause and accidentally blowing away the Audiogalaxy user data table.  Luckily we had a backup.  That was when there were only like 3000 rows in that table.

Matt, don't forget we were partying like it was 1999.  Since it was, you know, 1999.</description>
		<content:encoded><![CDATA[<p>I remember forgetting the where clause and accidentally blowing away the Audiogalaxy user data table.  Luckily we had a backup.  That was when there were only like 3000 rows in that table.</p>
<p>Matt, don&#8217;t forget we were partying like it was 1999.  Since it was, you know, 1999.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-191</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 25 Mar 2008 17:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-191</guid>
		<description>@Chuck:  That is certainly a lesson I hoped the responsible developer learned!  My point is that from a higher level you need good tools to detect weird problems with your cluster.  It may be a careless developer, or it may be a hacker, or a bad script, or a faulty switch, or something entirely unexpected.</description>
		<content:encoded><![CDATA[<p>@Chuck:  That is certainly a lesson I hoped the responsible developer learned!  My point is that from a higher level you need good tools to detect weird problems with your cluster.  It may be a careless developer, or it may be a hacker, or a bad script, or a faulty switch, or something entirely unexpected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck</title>
		<link>http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-190</link>
		<dc:creator>Chuck</dc:creator>
		<pubDate>Tue, 25 Mar 2008 16:50:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-190</guid>
		<description>What about the obvious moral? You don't make changes to production databases unless you are fulfilling a business requirement. Temporary hacks are bad enough, but temporary hacks so you can get your game on? Impressively unprofessional.

I like a good game of Q3 as much as the next guy, but there are some things you just don't do!</description>
		<content:encoded><![CDATA[<p>What about the obvious moral? You don&#8217;t make changes to production databases unless you are fulfilling a business requirement. Temporary hacks are bad enough, but temporary hacks so you can get your game on? Impressively unprofessional.</p>
<p>I like a good game of Q3 as much as the next guy, but there are some things you just don&#8217;t do!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-189</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 25 Mar 2008 14:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-189</guid>
		<description>@wac:  Yes, transactions would have been nice.  But of course, we were on MyISAM.  More of a disk backed hashtable than a database, really.

@matt:  I guess I should say that for us, it wouldn't have been practical.  Mirroring our production DB would have required about 15 machines, which we simply couldn't afford.  We did have a relatively empty dev database that we used as much as we could, and we certainly didn't encourage folks to hit the production machines, but sometimes it made life easier.</description>
		<content:encoded><![CDATA[<p>@wac:  Yes, transactions would have been nice.  But of course, we were on MyISAM.  More of a disk backed hashtable than a database, really.</p>
<p>@matt:  I guess I should say that for us, it wouldn&#8217;t have been practical.  Mirroring our production DB would have required about 15 machines, which we simply couldn&#8217;t afford.  We did have a relatively empty dev database that we used as much as we could, and we certainly didn&#8217;t encourage folks to hit the production machines, but sometimes it made life easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-188</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Tue, 25 Mar 2008 14:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-188</guid>
		<description>"Don’t let your developers have access to the production database? Maybe, but that isn’t practical for a small startup."

Why not?  That's like saying that sysadmins should be dabbling in the accounting.  Developers should NOT touch the production database.  It's called production for a reason.  If they want to look at the data, you can / should have a nightly snapshot back onto a performance database or some such they can look at.  Yes, even for a small startup.</description>
		<content:encoded><![CDATA[<p>&#8220;Don’t let your developers have access to the production database? Maybe, but that isn’t practical for a small startup.&#8221;</p>
<p>Why not?  That&#8217;s like saying that sysadmins should be dabbling in the accounting.  Developers should NOT touch the production database.  It&#8217;s called production for a reason.  If they want to look at the data, you can / should have a nightly snapshot back onto a performance database or some such they can look at.  Yes, even for a small startup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wac</title>
		<link>http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-185</link>
		<dc:creator>wac</dc:creator>
		<pubDate>Tue, 25 Mar 2008 07:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-185</guid>
		<description>This is also another case where forcing people to use transactions acts as a sort of insurance policy.

&#62; BEGIN

&#62; UPDATE [something dumb goes here]
"Why's this taking... oh damn!"
 ROLLBACK</description>
		<content:encoded><![CDATA[<p>This is also another case where forcing people to use transactions acts as a sort of insurance policy.</p>
<p>&gt; BEGIN</p>
<p>&gt; UPDATE [something dumb goes here]<br />
&#8220;Why&#8217;s this taking&#8230; oh damn!&#8221;<br />
 ROLLBACK</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-184</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 25 Mar 2008 06:03:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-184</guid>
		<description>Thinking about it some more, I'm guessing that they ctrl-c'd the query pretty quickly and thought that would prevent the update.  We had a good group of folks working there, and I'm pretty sure that if they knew what had happened, they would have let me know.  Oh well -- it makes for a good story. :)</description>
		<content:encoded><![CDATA[<p>Thinking about it some more, I&#8217;m guessing that they ctrl-c&#8217;d the query pretty quickly and thought that would prevent the update.  We had a good group of folks working there, and I&#8217;m pretty sure that if they knew what had happened, they would have let me know.  Oh well &#8212; it makes for a good story. <img src='http://www.spiteful.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-183</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Tue, 25 Mar 2008 05:33:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-183</guid>
		<description>Jolly good story!

I quite agree that it was careless (irresponsible?) of the unknown developer for making that screwup in the first place, but to not 'fess up and fix it afterwards? (you: "The system's going to shit. What changed today?" them: "sound of crickets chirping and wind blowing") Totally unacceptable.

Like most devs, I don't mind so much when somebody screws up (everybody does) but let me tell you what, not admitting to it (or worse yet, covering it up) makes the situation 1000% worse because it delays the solution and damages trust which is the foundation of any working team.

Thanks again for sharing an Audiogalaxy "war story."</description>
		<content:encoded><![CDATA[<p>Jolly good story!</p>
<p>I quite agree that it was careless (irresponsible?) of the unknown developer for making that screwup in the first place, but to not &#8216;fess up and fix it afterwards? (you: &#8220;The system&#8217;s going to shit. What changed today?&#8221; them: &#8220;sound of crickets chirping and wind blowing&#8221;) Totally unacceptable.</p>
<p>Like most devs, I don&#8217;t mind so much when somebody screws up (everybody does) but let me tell you what, not admitting to it (or worse yet, covering it up) makes the situation 1000% worse because it delays the solution and damages trust which is the foundation of any working team.</p>
<p>Thanks again for sharing an Audiogalaxy &#8220;war story.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GarethGilson.com &#187; Blog Archive &#187; mySQL: Require WHERE Clauses</title>
		<link>http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-182</link>
		<dc:creator>GarethGilson.com &#187; Blog Archive &#187; mySQL: Require WHERE Clauses</dc:creator>
		<pubDate>Tue, 25 Mar 2008 04:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-182</guid>
		<description>[...] just read over a post entitled &#8220;Things That Are Important: Where Clauses&#8221; (link here), which brought something interesting to my [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] just read over a post entitled &#8220;Things That Are Important: Where Clauses&#8221; (link here), which brought something interesting to my [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seth</title>
		<link>http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-181</link>
		<dc:creator>seth</dc:creator>
		<pubDate>Tue, 25 Mar 2008 02:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-181</guid>
		<description>great article! thanks for taking the time!</description>
		<content:encoded><![CDATA[<p>great article! thanks for taking the time!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.345 seconds -->
