<?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: Things That Are Important: Where Clauses</title>
	<atom:link href="http://www.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/</link>
	<description></description>
	<lastBuildDate>Thu, 26 Aug 2010 16:46:48 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: -= Linkage 2008.03.25 AM =-</title>
		<link>http://www.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/comment-page-1/#comment-3983</link>
		<dc:creator>-= Linkage 2008.03.25 AM =-</dc:creator>
		<pubDate>Mon, 26 Jan 2009 15:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.spiteful.com/2008/03/24/things-that-are-important-where-clauses/#comment-3983</guid>
		<description>[...] Things That Are Important: Where Clauses [...]</description>
		<content:encoded><![CDATA[<p>[...] Things That Are Important: Where Clauses [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: k</title>
		<link>http://www.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/comment-page-1/#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&#039;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.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/comment-page-1/#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.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/comment-page-1/#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&#039;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&#039;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.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/comment-page-1/#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&#039;t have been practical.  Mirroring our production DB would have required about 15 machines, which we simply couldn&#039;t afford.  We did have a relatively empty dev database that we used as much as we could, and we certainly didn&#039;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.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/comment-page-1/#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>&quot;Don’t let your developers have access to the production database? Maybe, but that isn’t practical for a small startup.&quot;

Why not?  That&#039;s like saying that sysadmins should be dabbling in the accounting.  Developers should NOT touch the production database.  It&#039;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.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/comment-page-1/#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.

&gt; BEGIN

&gt; UPDATE [something dumb goes here]
&quot;Why&#039;s this taking... oh damn!&quot;
 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.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/comment-page-1/#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&#039;m guessing that they ctrl-c&#039;d the query pretty quickly and thought that would prevent the update.  We had a good group of folks working there, and I&#039;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.tomkleinpeter.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/comment-page-1/#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 &#039;fess up and fix it afterwards? (you: &quot;The system&#039;s going to shit. What changed today?&quot; them: &quot;sound of crickets chirping and wind blowing&quot;) Totally unacceptable.

Like most devs, I don&#039;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 &quot;war story.&quot;</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.tomkleinpeter.com/2008/03/24/things-that-are-important-where-clauses/comment-page-1/#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>[...] just read over a post entitled &#8220;Things That Are Important: Where Clauses&#8221; (link here), which brought something interesting to my [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
