<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Brent Ozar PLFfave | Brent Ozar PLF</title>
	<atom:link href="http://www.brentozar.com/archive/tag/fave/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brentozar.com</link>
	<description>Your technology pain-relief experts.</description>
	<lastBuildDate>Tue, 07 Feb 2012 20:57:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Bottlenecks and Bank Balances</title>
		<link>http://www.brentozar.com/archive/2009/10/bottlenecks-and-bank-balances/</link>
		<comments>http://www.brentozar.com/archive/2009/10/bottlenecks-and-bank-balances/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 11:35:51 +0000</pubDate>
		<dc:creator>Brent Ozar</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[booze]]></category>
		<category><![CDATA[fave]]></category>
		<category><![CDATA[performancetuning]]></category>
		<category><![CDATA[zigzag]]></category>

		<guid isPermaLink="false">http://www.brentozar.com/?p=5754</guid>
		<description><![CDATA[Pop quiz: should you be worried if your SQL Server's page life expectancy is averaging 214?  There's only one correct answer: it depends.

Performance tuning is all about finding the RIGHT bottleneck, focusing on it, and fixing it to the application owner's satisfaction.  Learn what happens if you don't do it right.<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
]]></description>
			<content:encoded><![CDATA[<p>Pop quiz: should you be worried if your SQL Server&#8217;s page life expectancy is averaging 214?</p>
<p>There&#8217;s only one correct answer: it depends.  Successful performance tuning boils down to a simple cycle:</p>
<ul>
<li>Measure the application&#8217;s performance</li>
<li>Find the current bottleneck</li>
<li>Improve that bottleneck so that it&#8217;s not the bottleneck anymore</li>
<li>Measure to find out how much your application performance improved</li>
<li>Ask the application owner if it&#8217;s good enough now.  If so, move on to the next application.  If not, go back to step 2.</li>
</ul>
<p>And every one of those steps is equally important.</p>
<h3>If You Don&#8217;t Find the Right Bottleneck</h3>
<div id="attachment_5755" class="wp-caption alignright" style="width: 209px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://www.flickr.com/photos/crowtongue/412337037/"><img class="size-medium wp-image-5755" title="jager" src="http://cached.brentozar.com/wp-content/uploads/2009/10/jager-199x300.jpg" alt="The Bottleneck Is Plenty Big Enough for You" width="199" height="300" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">This Bottleneck Is Plenty Big Enough for You</p></div>
<p>Performance tuning isn&#8217;t about zooming in and focusing on a single number in incredible detail; rather, it&#8217;s about stepping away and getting the full picture.  Time and again, I get emails asking about whether a single metric is OK, but upon questioning, the DBA has leapt to a conclusion without surveying the environment as a whole.  If you spend your tuning time closely examining a single metric, trying to figure out how to improve that one metric, you might not improve the performance of your application.</p>
<p>Sure, your page life expectancy might be pretty bad &#8211; but is that the one thing keeping your application from performing faster?</p>
<p>Take a step back and <a href="http://www.brentozar.com/archive/2006/12/dba-101-using-perfmon-for-sql-performance-tuning/">gather a complete set of Perfmon metrics</a>.  Look at CPU, memory, disk, and network performance as a whole.  Find the thing that&#8217;s in the absolute worst shape possible.  In that link, I explain the order that I look at metrics to find which one looks like the most likely bottleneck.</p>
<h3>If You Don&#8217;t Focus on Improving the Bottleneck</h3>
<p>I was recently working with a client frustrated with their application performance.  I found two issues:</p>
<ul>
<li>CPU-intensive user-defined functions were being called thousands of times per query</li>
<li>The storage subsystem was nowhere near as fast in practice as the vendor had claimed</li>
</ul>
<p>The application&#8217;s bottleneck was the CPU-intensive UDFs.  The server was frequently pegged at 100% CPU, and queries just couldn&#8217;t run any faster until they were rewritten to rip out the UDFs.  I put together a recommended plan of action to take those UDFs out, which would make the application an order of magnitude faster.  I noted that they should probably start working on the storage performance in a second track, because the instant the UDFs were removed, storage was going to become a problem.  With the CPU-burning UDFs out of the way, the server would be able to churn through more records faster, but the storage subsystem wouldn&#8217;t be able to deliver records fast enough to satisfy the users.</p>
<p>On our next status update call, they said they&#8217;d reworked the storage subsystem.  SQLIO reported dramatically faster storage throughput, but they were only seeing a minor improvement in application performance.  I had to break the bad news to them that they&#8217;d focused on the wrong problem first.  After we revisited my report together, they pursued the UDFs with renewed vigor, and suddenly the application was blazing fast.  Thankfully I&#8217;d documented my findings in writing, but if I&#8217;d have been an internal employee, I might have communicated that in verbal form instead.  I might have lost the ensuing battle to fix the UDFs because the manager would have thought my advice was bogus.</p>
<h3>If You Don&#8217;t Measure Your Improvements</h3>
<div id="attachment_5757" class="wp-caption alignright" style="width: 209px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://www.flickr.com/photos/kchrist/3273788225/"><img class="size-full wp-image-5757" title="shotglass1" src="http://cached.brentozar.com/wp-content/uploads/2009/10/shotglass1.jpg" alt="You Get What You Measure" width="199" height="300" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">You Get What You Measure</p></div>
<p>All DBAs are consultants.</p>
<p>Some of us think we&#8217;re full time company employees, but in reality, we&#8217;re delivering a service.  Whether they&#8217;re developers, project managers, end users, or other DBAs, they&#8217;re looking at you just as if you were an outsider.  You&#8217;re expected to stride in, identify the problem, mitigate it, and show that your work delivered a return on investment.  The investment, in case you&#8217;re not following, is your paycheck.</p>
<p>Don&#8217;t believe me?  Poke around in an application and then throw up your hands, saying you can&#8217;t find a way to make it go faster.  The next phone call the project manager makes will be to an external consultant, and the project manager probably won&#8217;t call you first next time.  (Sometimes, that&#8217;s not a bad thing.)</p>
<p>If you put in a lot of hard work to make an application go faster, but you don&#8217;t measure the before-and-after effects of your work, <strong>someone else is going to take credit</strong>.  The developers will say the improvements were due to a new version of their code, because they&#8217;re working on the code at the same time you&#8217;re working on the database.  The sysadmins will say they defragged the muffler bearings.  The SAN guy will say he tweaked the flux capacitor.  The project manager will say he made everybody worked long hours and that did the trick.  The only way, the ONLY way that the DBA can ever take credit is to take clear before-and-after measurements for proof.  Run the same code base before &amp; after your tweaks, and measure application performance.  Follow up with a written report, even if it&#8217;s a one-paragraph email, summing up your changes and the performance improvements, and copy your manager on it.</p>
<h3>If You Don&#8217;t Ask the App Owner If It&#8217;s Good Enough</h3>
<p>Never confuse what YOU think about a metric with what the BUSINESS thinks about a metric.  Your CEO doesn&#8217;t care about page life expectancy.  (Your CEO probably doesn&#8217;t even care about the DBA&#8217;s life expectancy.)  Before you spend time or money improving an application, you have to find out whether it&#8217;s the most important thing to your business right now.</p>
<p>Say hello to the most important metric you will ever calculate: opportunity cost.</p>
<div id="attachment_5758" class="wp-caption alignright" style="width: 209px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://www.flickr.com/photos/whatdavesees/147147829/"><img class="size-full wp-image-5758" title="bar" src="http://cached.brentozar.com/wp-content/uploads/2009/10/bar.jpg" alt="A Long Night at Zig Zag Has Its Own Opportunity Cost" width="199" height="300" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">A Long Night at Zig Zag Has Its Own Opportunity Cost</p></div>
<p>Opportunity cost is the cost of doing something as compared to the cost of doing something else.  If you spend eight hours today improving the page life expectancy of a particular server, is that worth more to the business than anything else you could be doing in those eight hours?  Could you spend eight hours doing something more valuable?</p>
<p>I use opportunity cost whenever anyone asks me to do something.</p>
<p>As an employee, if a project manager asks me to tune a particular application, I bring them into my manager&#8217;s office and say, &#8220;It will take me three days to make that application faster.  I&#8217;ll probably make it an order of magnitude faster, because I&#8217;ve never tuned that server before.  However, if I take those three days to do it, I won&#8217;t make the deadline for Project Snazzywidget.  Which one is worth more to you?&#8221;  At that point, it&#8217;s a political decision and a business decision, not a technical decision.  If you&#8217;re doing the best job of any employee he has, your manager will put you on the most valuable project &#8211; which in turn increases your worth again.</p>
<p>As a consultant, I approach the problem differently: &#8220;Here&#8217;s the thing &#8211; I could spend another three days working on this application, but from this point forward, I&#8217;m only going to be able to achieve incremental improvements, not the order-of-magnitude improvements we saw in the first few rounds of tuning.  I hate to make you guys go through that for a small gain &#8211; but is there another application in-house that isn&#8217;t delivering the performance you want?&#8221;  This resets the client&#8217;s expectations, and they start seeing you as a weapon that they can point at slow applications.  They&#8217;ll cherish your time and focus you where your effort will pay off the most.  This keeps your perceived ROI high.  If you deliver jawdropping results each time you tune an application, you can justify higher billable rates.</p>
<p>After all &#8211; isn&#8217;t your bank balance the one metric you really want to improve?</p>
<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
<div class="wp-about-author-containter-top" style="background-color:#FFEAA8;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/77f776c2eaf0cc691e8a0880bb8a191f?s=100&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D100&amp;r=R' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://www.brentozar.com/archive/author/BrentO/' title='Brent Ozar'>Brent Ozar</a></h3><p>Brent specializes in performance tuning for SQL Server, VMware, and storage.  He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP.  He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person.  <a href="http://www.brentozar.com/consultants/brent-ozar/">Read more and contact Brent</a>.</p><p><a href='http://www.brentozar.com' title='Brent Ozar'>Website</a> - <a href='http://twitter.com/brento' title='Brent Ozaron Twitter'>Twitter</a> - <a href='http://www.facebook.com/brentozar' title='Brent Ozar on Facebook'>Facebook</a> - <a href='http://www.brentozar.com/archive/author/BrentO/' title='More posts by Brent Ozar'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.brentozar.com/archive/2009/10/bottlenecks-and-bank-balances/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Microsoft SQL Azure: The Flat Pack Database</title>
		<link>http://www.brentozar.com/archive/2009/10/microsoft-sql-azure-is-the-flat-pack-database/</link>
		<comments>http://www.brentozar.com/archive/2009/10/microsoft-sql-azure-is-the-flat-pack-database/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 12:00:22 +0000</pubDate>
		<dc:creator>Brent Ozar</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[fave]]></category>
		<category><![CDATA[ikea]]></category>

		<guid isPermaLink="false">http://www.brentozar.com/?p=5391</guid>
		<description><![CDATA[Erika's friends call her "Fancy Feast" because she only likes the best things in life.  She's got champagne tastes, but we can't afford to buy the best of everything.  I recently picked up a coffee table from Ikea, and it got me thinking about SQL Azure.

In a perfect world, I'd have on-premise SQL Server for every database.  I'd use cutting-edge storage and cluster everything.  But this isn't a perfect world...<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
]]></description>
			<content:encoded><![CDATA[<p>Last weekend, Erika and I stumbled across a coffee table at <a href="http://www.ikea.com">Ikea</a> that we liked much more than we&#8217;d expect for a $50 table.</p>
<div id="attachment_5393" class="wp-caption alignright" style="width: 410px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><img class="size-full wp-image-5393" title="Ikea-Table-After" src="http://cached.brentozar.com/wp-content/uploads/2009/09/Ikea-Table-After.JPG" alt="The Finished Product" width="400" height="300" /><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">The Finished Product</p></div>
<p>Erika has champagne tastes; she can walk into any store and find the highest-priced item without ever seeing the price tags.  She&#8217;s just drawn to expensive stuff.  She&#8217;s had her eye on a $1,000 marble-top cocktail table (they&#8217;re not called coffee tables anymore, don&#8217;t ya know) from Room &amp; Board for months.  Therefore, it was a complete shock when we both really liked this $50 table with exactly the same lines and shape, but a simple white veneer top instead of marble.</p>
<p>$950 savings?  Sold.</p>
<p>Granted, we won&#8217;t be passing this table down to our grandchildren, but we don&#8217;t even plan on having kids, let alone grandkids.  And this table might not last ten years, but at $50 a pop, we could buy a new one every five years for 100 years straight.  Odds are, our tastes will change over the course of the next 100 years, too.</p>
<p>The catch with Ikea is that the stuff is flat packed &#8211; the table comes in a flat box.  You&#8217;re responsible for hauling it through the aisles of the store, getting it home in your car, and assembling it yourself.  I&#8217;ve done this enough over the years that it doesn&#8217;t stress me out (anymore).  My tips for a successful Ikea build are:</p>
<ul>
<li>Read the instructions three times &#8211; which is pretty simple, since they&#8217;re pictures, not words</li>
<li>Use an electric screwdriver to avoid exertion</li>
<li>Drink your favorite alcoholic beverage in moderation during assembly</li>
<li>Whenever you&#8217;re about to curse, stop to think about how much money you saved</li>
<li>When you&#8217;re done, don&#8217;t stand on it to test it</li>
</ul>
<p>All of those are equally important.</p>
<p>If you don&#8217;t read and reread the directions, it&#8217;s very easy to end up with a desk that shakes when you type on it &#8211; and I happen to be typing on one of those at this very moment.  If you don&#8217;t use an electric screwdriver, your arms will be tired before you get halfway through, and you&#8217;ll strip out the screw heads.  If you don&#8217;t drink, you won&#8217;t be mellow enough to laugh at the pictures in the directions.  If you don&#8217;t constantly remind yourself of how much money you saved, you&#8217;ll be picking up the phone to call Crate &amp; Barrel.</p>
<p>And finally, unless you bought a piece of furniture that was specifically designed for you to stand on, then it wasn&#8217;t.  Don&#8217;t stand on it to prove a point, because more often than not, you&#8217;ll prove that it wasn&#8217;t designed with standing in mind.</p>
<div id="attachment_5392" class="wp-caption alignright" style="width: 410px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><img class="size-full wp-image-5392" title="Ikea-Table-Before" src="http://cached.brentozar.com/wp-content/uploads/2009/09/Ikea-Table-Before.JPG" alt="Ikea Table - Before" width="400" height="300" /><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Ikea Table - Before</p></div>
<h3>SQL Server is the Marble Coffee Table</h3>
<p>When you&#8217;re building a brand-new product, company, or web site on the Microsoft stack, SQL Server Enterprise Edition is the sexy marble-top cocktail table.  That&#8217;s the one you really want, baby.  You just know all your friends will ooh and aah when you bring &#8216;em over for the opening night party and say, &#8220;Yeah, I built it with SQL Server.&#8221;</p>
<p>&#8220;But it&#8217;s so expensive!&#8221; they&#8217;ll say.</p>
<p>&#8220;Yeah, but my app is worth it.  SQL Server Enterprise Edition scales like there&#8217;s no tomorrow.  Built-in backup compression, partitioning, database mirroring, active/active clustering, and all that stuff those MySQL guys can only dream about.  We&#8217;re ready for the future now, baby.  Want another glass of champagne?  My venture capital guy bought us a couple dozen cases of the good stuff.&#8221;</p>
<p>Riiight.  Back to reality.</p>
<h3>SQL Azure is the Flat Pack Database</h3>
<p>Much like Ikea furniture, <a href="http://www.microsoft.com/azure/sql.mspx">Microsoft SQL Azure</a> is a cheap way to get a reasonable facsimile of the database you really want, but can&#8217;t justify buying.</p>
<p>There&#8217;s drawbacks:</p>
<ul>
<li>Backups are not included &#8211; if you want to get your data out, get out your electric screwdriver and build it yourself</li>
<li>Scaling is not included &#8211; you have to roll your own sharding, and frankly, I don&#8217;t know anybody who does a good job of that</li>
<li>Database mirroring, partitioning, clustering, and batteries are not included</li>
<li>You can&#8217;t stand on it &#8211; don&#8217;t use this for your data warehouse or high-throughput databases, because the data goes through your internet connection</li>
</ul>
<p>But if you can live with those drawbacks and build your own HA/DR solution &#8211; just like you dragged home your Ikea coffee table and assembled it yourself &#8211; you can save a lot of money.</p>
<p>Both SQL Server and Azure can &#8211; and will &#8211; coexist.  Heck, Ikea furniture happily coexists with the good stuff in my house too.  Now, if you&#8217;ll excuse me, I&#8217;ll go refresh the Crate &amp; Barrel web site to see when my dining room table and chaise lounge are going to arrive.</p>
<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
<div class="wp-about-author-containter-top" style="background-color:#FFEAA8;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/77f776c2eaf0cc691e8a0880bb8a191f?s=100&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D100&amp;r=R' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://www.brentozar.com/archive/author/BrentO/' title='Brent Ozar'>Brent Ozar</a></h3><p>Brent specializes in performance tuning for SQL Server, VMware, and storage.  He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP.  He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person.  <a href="http://www.brentozar.com/consultants/brent-ozar/">Read more and contact Brent</a>.</p><p><a href='http://www.brentozar.com' title='Brent Ozar'>Website</a> - <a href='http://twitter.com/brento' title='Brent Ozaron Twitter'>Twitter</a> - <a href='http://www.facebook.com/brentozar' title='Brent Ozar on Facebook'>Facebook</a> - <a href='http://www.brentozar.com/archive/author/BrentO/' title='More posts by Brent Ozar'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.brentozar.com/archive/2009/10/microsoft-sql-azure-is-the-flat-pack-database/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to Get a Better Job</title>
		<link>http://www.brentozar.com/archive/2009/10/how-to-get-a-better-job/</link>
		<comments>http://www.brentozar.com/archive/2009/10/how-to-get-a-better-job/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 12:00:05 +0000</pubDate>
		<dc:creator>Brent Ozar</dc:creator>
				<category><![CDATA[Interviewing]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[fave]]></category>
		<category><![CDATA[interview]]></category>

		<guid isPermaLink="false">http://www.brentozar.com/?p=5551</guid>
		<description><![CDATA[I get a lot of questions from people who want to get a better job.  They want to know if certification, training, or branching out will help them get the job of their dreams.  These things just aren't the real answer.

The answer is simple: the Buddy System.  Learn why.<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
]]></description>
			<content:encoded><![CDATA[<p>One of the most common questions I get goes something like this:</p>
<p style="padding-left: 30px;"><em>I&#8217;ve been working as an (<strong>insertJobHere</strong>) for a few years, and I&#8217;d like to start looking for another job as an (<strong>insertBetterJobHere</strong>).  How can I get started?</em></p>
<p>It depends on the phase of your career.</p>
<h3>Phase 1: The Kindness of Strangers</h3>
<p>When you&#8217;re just getting started &#8211; whether you&#8217;re fresh out of college or currently enrolled &#8211; you&#8217;re not going to know anybody.  You&#8217;re going to be cold-calling strangers, sending your resume to people you&#8217;ve never met, and hoping that you can knock &#8216;em dead in the interview.</p>
<div id="attachment_5575" class="wp-caption alignright" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://www.flickr.com/photos/27035115@N07/3070133859/"><img class="size-medium wp-image-5575" title="candy-van" src="http://cached.brentozar.com/wp-content/uploads/2009/10/candy-van-300x169.jpg" alt="Headhunter Company Car" width="300" height="169" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Headhunter Company Car</p></div>
<p>Examples of hiring methods for Phase 1 are:</p>
<ul>
<li>Newspaper and online ads</li>
<li>Recruiters</li>
<li>Consulting companies</li>
</ul>
<p>There&#8217;s two problems with Phase 1.  First, you&#8217;re going up against complete strangers.  People in Phase 1 are desperate, and they&#8217;ll do some crazy stuff to beat you out in the job hunt.  They&#8217;ll work for less money, they&#8217;ll lie about their resume, they&#8217;ll use their mom as a reference, you name it.  Getting a better job when you&#8217;re going up against strangers can be a nightmare.</p>
<p>Second, you&#8217;re going to work for complete strangers, which can be a living hell.  You won&#8217;t find out that they&#8217;re raving lunatics until after you&#8217;ve already quit your current job and gone to work for them.  Every time I&#8217;ve gone to work for strangers &#8211; every single time &#8211; I&#8217;ve regretted it within a matter of months.</p>
<p>Strangers hire other strangers when they run out of friends willing to work for them.</p>
<h3>Phase 2: The Buddy System</h3>
<p>After you&#8217;ve been working for a few years, going to local user group meetings, and survived a few reorgs, you&#8217;re going to know a lot of other people working in your same field.  You&#8217;ll even know people in unrelated fields.  DBAs meet project managers, end users, report writers, developers, and so on.</p>
<div id="attachment_5577" class="wp-caption alignright" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://www.flickr.com/photos/cayusa/2838505123/"><img class="size-medium wp-image-5577" title="vader-buddies" src="http://cached.brentozar.com/wp-content/uploads/2009/10/vader-buddies-300x233.jpg" alt="Everybody Loves the Buddy System" width="300" height="233" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Everybody Loves the Buddy System</p></div>
<p>When it&#8217;s time for you to start looking for another job, you can put out the word among your contacts.  Because they&#8217;ve worked with you before and they know what a kick-ass worker you are, they&#8217;re likely to vouch for you.  They&#8217;re likely to tell you about jobs before they go into Phase 1 recruitment, because they&#8217;d rather hire you than a stranger.  You&#8217;re a sure bet, because you&#8217;re doing such good work.</p>
<p><em><strong>The only way to get from Phase 1 to Phase 2 is staying in touch with people.</strong></em></p>
<p>I can&#8217;t emphasize this enough &#8211; if you don&#8217;t learn to network, you&#8217;re going to be permanently stuck in Phase 1.</p>
<p>Networking sounds so slimy, but it just boils down to this: meet people, and keep in touch with the ones you genuinely like.  I used to think networking meant rubbing shoulders with greaseballs who were trying to sell each other stuff, but that&#8217;s not true at all.  Just keep in touch with people you like, and go to the places where they hang out to meet more people like them.  For database professionals, that&#8217;s the upcoming <a href="http://summit2009.sqlpass.org">PASS Summit</a>.</p>
<h3>Befriend Buddies, Not Just Bosses</h3>
<p>One fast way up the corporate ladder is to hitch your wagon to a rising star.  If you do great work for a great boss, you can both go places quickly.  I&#8217;ve taken that approach a few times in my career, and it&#8217;s served me really well.  I remember getting a call from one boss as soon as he&#8217;d changed companies, and he said, &#8220;I know what you&#8217;re making now.  I&#8217;ll give you an extra $X to come work for me at the new shop, and you know I&#8217;ll be good to you.&#8221;  Sold.  However, that&#8217;s not the only way up.</p>
<p>The programmer next to you today might be the CIO at another company tomorrow.  A few years ago, <a href="http://ma.tt/">Matt Mullenweg</a> was just another guy I ran into at Houston Wireless meetings.  I had no idea he was building something cool in his spare time, and since then, that <a href="http://wordpress.com/">little blogging platform</a> has raised tens of millions of dollars in funding.</p>
<p>Look around you right now.  Your coworkers and customers are the only ones who will take your career to the next level, regardless of how unskilled and antisocial they seem.  Even if they&#8217;re really, really bad at what they do, it&#8217;s your job to make them look better and leave a permanent positive impression on them.  They might be your key to a better job down the road.</p>
<p>If you wait to network until you need a job, it&#8217;s too late &#8211; and you&#8217;ll be stuck in Phase 1.</p>
<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
<div class="wp-about-author-containter-top" style="background-color:#FFEAA8;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/77f776c2eaf0cc691e8a0880bb8a191f?s=100&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D100&amp;r=R' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://www.brentozar.com/archive/author/BrentO/' title='Brent Ozar'>Brent Ozar</a></h3><p>Brent specializes in performance tuning for SQL Server, VMware, and storage.  He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP.  He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person.  <a href="http://www.brentozar.com/consultants/brent-ozar/">Read more and contact Brent</a>.</p><p><a href='http://www.brentozar.com' title='Brent Ozar'>Website</a> - <a href='http://twitter.com/brento' title='Brent Ozaron Twitter'>Twitter</a> - <a href='http://www.facebook.com/brentozar' title='Brent Ozar on Facebook'>Facebook</a> - <a href='http://www.brentozar.com/archive/author/BrentO/' title='More posts by Brent Ozar'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.brentozar.com/archive/2009/10/how-to-get-a-better-job/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>SQL Server Data Compression: It’s a Party!</title>
		<link>http://www.brentozar.com/archive/2009/08/sql-server-data-compression-its-a-party/</link>
		<comments>http://www.brentozar.com/archive/2009/08/sql-server-data-compression-its-a-party/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 13:00:52 +0000</pubDate>
		<dc:creator>Brent Ozar</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[fave]]></category>

		<guid isPermaLink="false">http://www.brentozar.com/?p=4729</guid>
		<description><![CDATA[In high school, I threw a huge party in Grandma's house.  It had long-lasting implications - among other things, I got disinherited.

Learn why SQL Server data compression has a lot in common with me after that Jungle Juice bash.<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
]]></description>
			<content:encoded><![CDATA[<p>When I was in high school, Dad and I lived with his mom, my Grandma Ozar, for a couple of years.  We took care of things around the house and made sure her coffee pot was always full.  She could really down that coffee &#8211; at least two pots a day.  (Looking back, if we could have reduced her caffeine consumption, she probably wouldn&#8217;t have needed so much Valium.)</p>
<div id="attachment_4912" class="wp-caption alignright" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://www.flickr.com/photos/hoggarazzi/3246793347/"><img class="size-medium wp-image-4912" title="jungle-juice-2" src="http://cached.brentozar.com/wp-content/uploads/2009/08/jungle-juice-2-300x262.png" alt="I Can Quit Anytime I Want*" width="300" height="262" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">I Can Quit Anytime I Want*</p></div>
<p>Grandma and some friends took a road trip to Las Vegas, and while they were gone, I threw an epic party.  We&#8217;re talking 30 gallon garbage cans filled with homemade <a href="http://en.wikipedia.org/wiki/Jungle_juice">Jungle Juice</a>.  (I&#8217;m one of those reasons she couldn&#8217;t completely eliminate the Valium.) A couple hundred of my closest friends had a good old time.</p>
<p>A couple of my less-than-closest friends had a little too good of a time at my expense and started trashing the house.  They walked up the staircase smashing the picture frames of every family photo, then started to throw a couch off the second floor balcony.  My security guys (I&#8217;m telling you, it was that good of a party) carried them out before they got too carried away.</p>
<h3>Cleaning Up After The Party</h3>
<p>The next morning, the very-closest-friends did a fantastic job of getting things back to normal.  We replaced all the picture frame glass, got the dirt out of the sofa, vacuumed the place top to bottom, and finished the Jungle Juice.  I thought we&#8217;d hidden all our tracks, but we got busted by the tiniest of clues.</p>
<p>Someone had left beer bottle caps on top of door jambs all around the house.</p>
<p>Amazing!  Who thinks of this stuff?  You know they did it on purpose, too &#8211; they were just itching to get me into trouble.  One beer cap on one door jamb, I could understand, but all over the house?  Damn.</p>
<p>I was disinherited for that particular shindig.</p>
<p>I learned a valuable lesson: if you&#8217;re not absolutely sure you can clean up every trace of everybody else&#8217;s messes, you shouldn&#8217;t throw parties.  Sooner or later, somebody you can&#8217;t trust is going to show up at your party, and they&#8217;re going to do something that&#8217;ll get you in trouble.  Come to think of it, it&#8217;s just like being a DBA.</p>
<h3>SQL Server 2008 Data Compression: No Inheritance Either</h3>
<p>Microsoft SQL Server 2008&#8242;s Data Compression feature lets you compress objects &#8211; not just tables, but individual indexes.  This compression does incur a little extra CPU power to handle the compression, but that extra overhead is more than offset by increased IO performance.  Generally speaking, the database server is sitting around waiting on disk subsystems.  Adding a little CPU work while dramatically reducing IO needs results in faster query return times.  You need to test compression to see if it works well in your environment, because it may not work well in heavy-insert databases.</p>
<p>Today, though, I&#8217;m going to focus on the dark side of compression: a complete lack of inheritance.</p>
<p>When you compress tables and indexes, it&#8217;s a one-time action.  You&#8217;re only taking care of what exists today.  If someone (or even you) turns around and creates an index on that same table tomorrow, it won&#8217;t be compressed by default.  Whoever creates the index has to make sure that it&#8217;s compressed, and there&#8217;s nothing in SQL Server Management Studio that will hint to them that other parts of that same object are compressed.</p>
<p>To make matters worse, your development, QA and production environments might all have different compression settings, and you&#8217;d never notice it at a glance.  Compression is transparent to applications, so your developers won&#8217;t know why one environment performs much differently than another even though they have the same hardware, same indexes, same statistics.</p>
<p>Implementing compression is a multi-step process:</p>
<ul>
<li>Figure out what objects you should compress</li>
<li>Plan to handle all of your environments (dev, QA, production)</li>
<li>Compress them during a low-activity window</li>
<li>Regularly patrol your environments checking for added objects that weren&#8217;t compressed</li>
<li>Keep your environments in sync</li>
</ul>
<p>If you don&#8217;t stay on top of all of these, you&#8217;ll need Valium too.</p>
<p><em>* &#8211; Yes, about that picture.  No, it&#8217;s not mine.  Yes, it&#8217;s <a href="http://www.brentozar.com/archive/2009/08/blog-better-week-spice-things-up-with-images/">licensed with Creative Commons</a>.  No, it wasn&#8217;t even the <a href="http://www.flickr.com/photos/jpfinley/9557129/">worst</a> <a href="http://www.flickr.com/photos/andydr/4755880/">jungle</a> <a href="http://www.flickr.com/photos/aylanah/31293044/">juice</a> <a href="http://www.flickr.com/photos/delilah021/2122656084/">picture</a> <a href="http://www.flickr.com/photos/congvo/2993780973/">I</a> <a href="http://www.flickr.com/photos/puppetman/126053256/">could</a> <a href="http://www.flickr.com/photos/sexyfitsum/2648568776/">find</a> licensed with Creative Commons.  Yes, I too am amazed that people upload their party pictures to Flickr, let alone license them with Creative Commons.<br />
</em></p>
<p>...<br /><i>Upcoming free webcasts: <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=663314175">SQL and SSDs: A Valentine's Day Love Story</a> and <a href="https://brentozarevents.webex.com/brentozarevents/onstage/g.php?t=a&d=664876357">Anatomy of the SQL Server Log File</a></i>.</p>
<div class="wp-about-author-containter-top" style="background-color:#FFEAA8;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/77f776c2eaf0cc691e8a0880bb8a191f?s=100&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D100&amp;r=R' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://www.brentozar.com/archive/author/BrentO/' title='Brent Ozar'>Brent Ozar</a></h3><p>Brent specializes in performance tuning for SQL Server, VMware, and storage.  He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP.  He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person.  <a href="http://www.brentozar.com/consultants/brent-ozar/">Read more and contact Brent</a>.</p><p><a href='http://www.brentozar.com' title='Brent Ozar'>Website</a> - <a href='http://twitter.com/brento' title='Brent Ozaron Twitter'>Twitter</a> - <a href='http://www.facebook.com/brentozar' title='Brent Ozar on Facebook'>Facebook</a> - <a href='http://www.brentozar.com/archive/author/BrentO/' title='More posts by Brent Ozar'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.brentozar.com/archive/2009/08/sql-server-data-compression-its-a-party/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Object Caching 1013/1059 objects using disk: basic

Served from: www.brentozar.com @ 2012-02-08 00:07:59 -->
