<?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>SQLRockstar &#124; Thomas LaRock &#187; MSSQL</title>
	<atom:link href="http://thomaslarock.com/category/mssql/feed/" rel="self" type="application/rss+xml" />
	<link>http://thomaslarock.com</link>
	<description></description>
	<lastBuildDate>Tue, 21 Feb 2012 18:06:36 +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>Still Using Windows Logins for your Databases? You&#8217;re Doing it Wrong</title>
		<link>http://thomaslarock.com/2012/02/still-using-windows-logins-for-your-databases-youre-doing-it-wrong/</link>
		<comments>http://thomaslarock.com/2012/02/still-using-windows-logins-for-your-databases-youre-doing-it-wrong/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 16:58:44 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Database administrator]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=7527</guid>
		<description><![CDATA[
If your DBA is still adding Windows logins to your database servers then they are doing it wrong.
Using logins (versus Windows groups) is an inefficient method that hasn&#8217;t been considered a favorable practice for almost ten years. Oh&#8230;sure&#8230;it works. I won&#8217;t argue that point. But if you are administering hundreds of database servers and you are using logins [...]<p><p></p>
<a href="http://thomaslarock.com/2012/02/still-using-windows-logins-for-your-databases-youre-doing-it-wrong/">Still Using Windows Logins for your Databases? You&#8217;re Doing it Wrong</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://thomaslarock.com/2012/02/still-using-windows-logins-for-your-databases-youre-doing-it-wrong/sec-book/" rel="attachment wp-att-7706"><img class=" wp-image-7706   alignleft" title="sec-book" src="http://thomaslarock.com/wp-content/uploads/2012/02/sec-book.jpeg?9d7bd4" alt="" /></a></p>
<p>If your DBA is still adding Windows logins to your database servers then <strong><em>they are doing it wrong</em></strong>.</p>
<p>Using logins (versus Windows groups) is an inefficient method that hasn&#8217;t been considered a favorable practice for almost ten years. Oh&#8230;<em>sure</em>&#8230;it works. I won&#8217;t argue that point. But if you are administering hundreds of database servers and you are using logins instead of groups then you are making your environment more complex than it needs to be. When shops exploded with exponential growth in the past decade Microsoft recognized this by publishing guidelines around security best practices that reflect the preference for using groups. Here&#8217;s <a href="http://technet.microsoft.com/en-us/library/cc779601(WS.10).aspx" target="_blank">one from 2005</a> that states simply at the top:</p>
<p>&#8220;<em>Because it is inefficient to maintain user accounts directly, assigning permissions on a user basis should be the exception.</em>&#8221;</p>
<p>Exception. As in &#8220;not the norm&#8221;. And say what you want about SQL 2000, but even they <a href="http://technet.microsoft.com/en-us/library/cc966456.aspx" target="_blank">knew that using groups was the way to a simpler life</a>.</p>
<p>Here are three reasons why you should be using Windows groups.</p>
<h3>Audit compliance</h3>
<p>Since those best practices guidelines were published there has been an ever tightening of a grip on systems with regards to security and audits. Most companies that have to be in compliance with government legislation of some type will prefer to use Windows groups to access there database servers. Why? Three words: separation of duties.</p>
<p>The DBA should not be the person that is adding or removing individuals from groups within Active Directory. Those actions should be handled by a security team, and only after being given an approval by the IT custodian (or manager) responsible for the application (also, not the DBA). In other words, security in your company should have two parts. One part is handled by the DBA who, working with the database developers, creates the necessary roles, schemas, and Windows group logins on the database instance. The other part is the security team who controls the people added (or removed) from the Active Directory group(s) so that the users can access the applications as needed.</p>
<p>That is the separation: the DBA doesn&#8217;t control the users in the groups, just the structure the groups are allowed to access. Likewise the security team has no say in how the structure inside the database instance is built, they just fulfill the requests for access after the IT custodian has approved.</p>
<h3>Reduce your administrative overhead</h3>
<p>Besides the likely compliance issues you will face, if you are adding in Windows logins by hand your actions will not be able to scale to hundreds of instances. I&#8217;m certain that someone will leave a comment telling me that Powershell can get the job done with just a few lines of code. This would be where I remind people that automation is a wonderful way to make mistakes faster than ever before.</p>
<p>Let&#8217;s consider the case of a developer who needs different levels of access for development, test, QA, and production servers. That would mean you need to keep four copies of your scripts for each environment, and server, and person. That is a lot of scripts to maintain and troubleshoot. I can&#8217;t even imagine trying to add or modify those scripts as needed.</p>
<p>Even with just a handful of servers the idea of trying to maintain the correct permissions on a per-user level is more overhead than I would want. Every time a new person joins the company I would need to recreate all the permissions necessary for that person to access the databases they need. And the minute a person gets an &#8216;access denied&#8217; error message returned it would be in my lap to figure out what was missed.</p>
<p>I can&#8217;t imagine why anyone would prefer to spend their time making things more difficult than they need to be. With Windows groups your could have all the permissions, roles, and groups defined in advance and then the security team (remember them?) could add and remove users as needed.</p>
<h3>Less mess to clean up afterwards</h3>
<p>One area I see customers and clients struggle with centers around the removal of logins after a person has left the company or even changed jobs within the company. When there is no defined removal process the end result is a glut of logins defined on an instance of SQL Server and most DBAs have no idea who should stay or who should go.</p>
<p>When companies have a defined access process that is tied to Windows groups it helps to avoid the issue of having logins lingering around for months and possibly years. We&#8217;re talking about one step versus hundreds of steps. Which would you prefer?</p>
<p>If you think not having separation of duties would make an auditor have cause for concern just sit across from the table and look them in the eye and say &#8220;those logins have been there for years, we rarely go back to remove them, we wouldn&#8217;t know which ones are no longer valid&#8221;. Good times.</p>
<h3>Exceptions are not the rule</h3>
<p>There are always going to be exceptions to using Windows groups. And for those exceptions you will have the extra overhead, you will need a defined cleanup process, and you will likely need to file for an audit exception. But they are exceptions, not the rule. Exceptions always introduce complexity into your environment. Unless you enjoy having an environment more complex than necessary, unless you enjoy having failed audits, you should start using Windows groups as your standard.</p>
<p>If you only have a handful of servers, and your shop doesn&#8217;t need to comply with audit guidelines, then you can get away with continuing to use Windows logins versus groups. But at some point you will cross a threshold where the overhead for maintaining your environment outweighs the usefulness. And it is then, at the precise moment, when you will look back and say &#8220;crap, I should have listened.&#8221;</p>
<p>You&#8217;ll thank me then. And you&#8217;re welcome.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=55f6748b-ba34-423d-a9fe-7ead5030d488" alt="" /></div>
<p><p></p>
<a href="http://thomaslarock.com/2012/02/still-using-windows-logins-for-your-databases-youre-doing-it-wrong/">Still Using Windows Logins for your Databases? You&#8217;re Doing it Wrong</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
<div class="shr-publisher-7527"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/02/still-using-windows-logins-for-your-databases-youre-doing-it-wrong/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HOW TO: Submit An Item To Microsoft Connect</title>
		<link>http://thomaslarock.com/2012/02/how-to-submit-an-item-to-microsoft-connect/</link>
		<comments>http://thomaslarock.com/2012/02/how-to-submit-an-item-to-microsoft-connect/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 16:21:04 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[feedback]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=7632</guid>
		<description><![CDATA[Wanted to do a quick follow-up from my post earlier this week. If you recall, I mentioned how the Books Online entry for managing the suspect_pages table inside of the MSDB database was slightly misleading. I decided to use this as an opportunity to show you how easy it is to submit feedback to Microsoft [...]<p><p></p>
<a href="http://thomaslarock.com/2012/02/how-to-submit-an-item-to-microsoft-connect/">HOW TO: Submit An Item To Microsoft Connect</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Wanted to do a quick follow-up <a title="Do You Have Corrupt Databases?" href="http://thomaslarock.com/2012/02/do-you-have-corrupt-databases/" target="_blank">from my post earlier this week</a>. If you recall, I mentioned how the <a href="http://msdn.microsoft.com/en-us/library/ms191301.aspx" target="_blank">Books Online entry for managing the suspect_pages</a> table inside of the MSDB database was slightly misleading. I decided to use this as an opportunity to show you how easy it is to submit feedback to Microsoft about their products by using <a href="http://connect.microsoft.com/" target="_blank">Microsoft Connect</a>.</p>
<p>I&#8217;m not sure how well know Connect is for most people. I know that I am often asked the question &#8220;how do you provide feedback to Microsoft&#8221; and I usually answer &#8220;I email them&#8221;. That doesn&#8217;t work for most people who don&#8217;t have access to my email contacts (and this, <a href="http://www.huffingtonpost.com/2012/02/15/iphone-privacy-app-path-facebook-twitter-apple_n_1279497.html?ref=mostpopular" target="_blank">despite my using Facebook, Twitter, Foursquare, and Instagram</a>) so that&#8217;s when I say to use Connect and most folks stare at me and wonder why they need Kinect and Xbox in order to submit a simple request.</p>
<p>You don&#8217;t. Yes, I know the names are the same. But they are spelled differently. One of them makes you more hip than the other. I&#8217;ll let you decide which is which.</p>
<p>Anyway, here is the video, in all it&#8217;s glory. Watch me type into a text box.</p>
<p><p class='post-video'><iframe title="YouTube video player" width="" height="600" src="http://www.youtube.com/embed/Pqn_wefNqtA" frameborder="0" allowfullscreen></iframe><div id="tentblogger-vimeo-youtube-message" style="width: 100%; border: 1px solid #e6e6e6; background: #f8f8f4; text-align:center; padding: 0.25em; ">Can't see the video in your RSS reader or email? <a target="_blank" href="http://thomaslarock.com/2012/02/how-to-submit-an-item-to-microsoft-connect/">Click Here!</a></div></p>
<p>Yep, it was that easy. I would urge you to use Connect early and often, especially with SQL 2012 coming any day now.</p>
<p>&nbsp;</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=8ab3ee27-93f2-425e-bb3d-3c12dd8d32be" alt="" /></div>
<p><p></p>
<a href="http://thomaslarock.com/2012/02/how-to-submit-an-item-to-microsoft-connect/">HOW TO: Submit An Item To Microsoft Connect</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
<div class="shr-publisher-7632"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/02/how-to-submit-an-item-to-microsoft-connect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Internet: Where Facts Go To Die</title>
		<link>http://thomaslarock.com/2012/02/the-internet-where-facts-go-to-die/</link>
		<comments>http://thomaslarock.com/2012/02/the-internet-where-facts-go-to-die/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 20:20:09 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[competitive analysis]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Database administrator]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=7644</guid>
		<description><![CDATA[Last year I wrote a book review about The Cult of the Amateur: How Today’s Internet is Killing Our Culture. The short of it is this: there is a shortage of fact checkers. And no, having facts checked by a community of users (AKA: Wikipedia) doesn&#8217;t work because those are the same amateurs that are running [...]<p><p></p>
<a href="http://thomaslarock.com/2012/02/the-internet-where-facts-go-to-die/">The Internet: Where Facts Go To Die</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div id="attachment_7667" class="wp-caption alignleft" style="width: 310px"><a href="http://thomaslarock.com/2012/02/the-internet-where-facts-go-to-die/blog/" rel="attachment wp-att-7667"><img class="size-medium wp-image-7667" title="Blog" src="http://thomaslarock.com/wp-content/uploads/2012/02/internet-300x201.jpg?9d7bd4" alt="" width="300" height="201" /></a><p class="wp-caption-text">Notice they don&#39;t list &quot;facts&quot; anywhere?</p></div>
<p>Last year I <a href="http://thomaslarock.com/2011/01/book-review-the-cult-of-the-amateur/">wrote a book review</a> about <a href="http://www.amazon.com/gp/product/0385520808?ie=UTF8&amp;tag=sq0f-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0385520808">The Cult of the Amateur: How Today’s Internet is Killing Our Culture</a><img src="http://www.assoc-amazon.com/e/ir?t=sq0f-20&amp;l=as2&amp;o=1&amp;a=0385520808" alt="" width="1" height="1" border="0" />. The short of it is this: there is a shortage of fact checkers. And no, having facts checked by a community of users (AKA: Wikipedia) doesn&#8217;t work because those are the same amateurs that are running all the blogs that are passing around Miss Information like she was a bong in a room full of Libertarians. I once had a person tell me that they trust a Wikipedia entry on transaction logs more than a blog post from some guy named Paul Randal (<a href="http://www.sqlskills.com/BLOGS/PAUL/">blog</a> | <a href="http://twitter.com/PaulRandal">@PaulRandal</a>), and I couldn’t believe what I heard. That&#8217;s like saying your teacher in high school knew more about <em>The Great Gatsby</em> than F. Scott Fitzgerald because she participated in a book club a few years ago.</p>
<p>The other day I found an interesting article on an Oracle blog. Yes, I read Oracle blogs, mostly for the humor. The article was comparing <a href="https://blogs.oracle.com/oem/entry/new_study_oracle_database_11g">Oracle 11g to SQL Server 2008R2</a>. You need to register if you want to access or download the PDF&#8230;or you can save yourself the hassle of giving Oracle your contact information and <a href="http://www.oracle.com/us/products/enterprise-manager/db-cost-comp-study-1428473.pdf">download it for yourself right now</a>.</p>
<p>Go ahead and read it. I can wait.</p>
<p>That PDF is pure comedic gold. At least I am hoping that they were looking for something funny to be produced. If they meant for this to be a serious comparison then they fell short of the mark. If I had submitted research like this as part of my work in graduate school I would have been asked to leave the program. And to be fair not all of their statements are lies. We all know that SQL 2008 won&#8217;t run on Linux, for example. And therefore the cost of SQL Server is more than just SQL itself. But instead of sticking to the facts they decided to pick up that bong and get to testing.</p>
<p>Let&#8217;s look at some of the highlights. I present for your enjoyment Table 6:</p>
<p><a href="http://thomaslarock.com/2012/02/the-internet-where-facts-go-to-die/screen-shot-2012-02-14-at-4-42-29-pm/" rel="attachment wp-att-7653"><img class="alignleft size-full wp-image-7653" title="Screen shot 2012-02-14 at 4.42.29 PM" src="http://thomaslarock.com/wp-content/uploads/2012/02/Screen-shot-2012-02-14-at-4.42.29-PM.png?9d7bd4" alt="" width="624" height="703" /></a></p>
<p>I know what you are thinking. You are thinking &#8220;how the hell does it take 17 steps to create a table inside of SSMS&#8221;? That&#8217;s a great question. Let me help you understand it a bit more by showing you Task 6:</p>
<p><a href="http://thomaslarock.com/2012/02/the-internet-where-facts-go-to-die/screen-shot-2012-02-15-at-7-08-08-am/" rel="attachment wp-att-7656"><img class="alignleft size-full wp-image-7656" title="Screen shot 2012-02-15 at 7.08.08 AM" src="http://thomaslarock.com/wp-content/uploads/2012/02/Screen-shot-2012-02-15-at-7.08.08-AM.png?9d7bd4" alt="" width="669" height="328" /></a></p>
<p>There, I hope that clears things up for you. What&#8217;s that? You dare to question the Oracle? I&#8217;m guessing you have many of the same questions that I have, such as:</p>
<ul>
<li>How does &#8220;Expand database &#8211; comptst, right click tables, select New Table&#8221; count as zero steps?</li>
<li>Why did zero steps for Oracle take one second to complete?</li>
<li>Why don&#8217;t they tell me the tables they are trying to create? Why not show me the DDL?</li>
<li>Why are we comparing the GUI tools for two different platforms? That&#8217;s like comparing apples to oranges to pears to a bottle of wine and saying &#8220;wow, things sure taste different&#8221;.</li>
<li>I thought Oracle DBAs didn&#8217;t use the GUI? So where did they find people to perform these tasks?</li>
<li>What is the O/S in use for each of these tests?</li>
<li>Doesn&#8217;t Oracle use nHibernate to generate all their statements? (OK, that&#8217;s not fair&#8230;to anyone)</li>
</ul>
<p>To be fair, I understand that we are talking about marketing here. That is part of the problem for me. When people see this they say &#8220;that&#8217;s just marketing, which is always full of lies&#8221;. Well, I am in marketing, and I wouldn&#8217;t ever allow something like this to be published. But the truth is that other people don&#8217;t have the same moral compass as I do. Marketing materials such as this cast a bad light on all of us.</p>
<p>Competitive analysis documents are wonderful things for people to digest when they need to make a decision. But documents such as this have little in the way of actual facts. It makes me wonder who their target market is, because most DBAs I know have half a brain and would see right through something like this. My guess is this is meant for people with less than half a brain.</p>
<p>Don&#8217;t believe me about the half a brain part? May I submit to evidence Table 13:</p>
<p><a href="http://thomaslarock.com/2012/02/the-internet-where-facts-go-to-die/screen-shot-2012-02-14-at-6-33-14-pm/" rel="attachment wp-att-7657"><img class="alignleft size-full wp-image-7657" title="Screen shot 2012-02-14 at 6.33.14 PM" src="http://thomaslarock.com/wp-content/uploads/2012/02/Screen-shot-2012-02-14-at-6.33.14-PM.png?9d7bd4" alt="" width="681" height="408" /></a></p>
<p>Yes, that&#8217;s right. Oracle backups take less time, especially when you schedule them to be run later and don&#8217;t record the amount of time they take to run as part of your &#8220;facts&#8221; and also don&#8217;t tell me about the hardware and network configurations used in your testing. But hey, why bother with such details at this point?</p>
<p>I could go on dissecting this document, one sentence at a time, but I would rather you judge for yourself at this point. Also, don&#8217;t think Oracle only does this against SQL Server. No, they like to <a href="http://www.oracle.com/us/products/enterprise-manager/db-cost-comp-study-406110.pdf">go after IBM and DB2 as well</a>.</p>
<p>Enjoy the laugh today.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=1cff4cb6-db53-451a-8b9e-af7806417836" alt="" /></div>
<p><p></p>
<a href="http://thomaslarock.com/2012/02/the-internet-where-facts-go-to-die/">The Internet: Where Facts Go To Die</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
<div class="shr-publisher-7644"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/02/the-internet-where-facts-go-to-die/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Do You Have Corrupt Databases?</title>
		<link>http://thomaslarock.com/2012/02/do-you-have-corrupt-databases/</link>
		<comments>http://thomaslarock.com/2012/02/do-you-have-corrupt-databases/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 16:05:42 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQL MVP]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[FAQs Help and Tutorials]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=7271</guid>
		<description><![CDATA[You never see the termites, you only see the damage they have done. And by then it is often too late.
Same with corruption inside of your database. Often time most folks have no idea there is any issue until it is too late.
Wouldn&#8217;t it be nice if there was a quick and easy way to [...]<p><p></p>
<a href="http://thomaslarock.com/2012/02/do-you-have-corrupt-databases/">Do You Have Corrupt Databases?</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>You never see the termites, you only see the damage they have done. And by then it is often too late.</p>
<p>Same with corruption inside of your database. Often time most folks have no idea there is any issue until it is too late.</p>
<p>Wouldn&#8217;t it be nice if there was a quick and easy way to determine if your database was corrupted?</p>
<p>Turns out there are some quick and easy tools for SQL Server but they are buried so deep inside you are likely to never even know they exist. Just like termites under your doorstep, or <a href="http://30.media.tumblr.com/tumblr_lav6r1jEDW1qa4b44o1_400.png" rel="prettyPhoto[7271]">unicorn bacon</a>.</p>
<p>These tools are the policies that ship with SQL Server, but are not installed by default. They are on your servers <em><strong>right now</strong></em>, doing nothing, except waiting for you to discover them. The one I am going to show you today is named &#8217;Database Page Status&#8217;. It relies on a couple of things. First, that your databases have the page verify set to CHECKSUM. Second, that a corruption has happened and an entry has been written to the suspect_pages table.</p>
<p>I made a video to show you how entries get written to the suspect_pages table, how they get removed (or how Microsoft believes they get removed), and how to find those hidden policies.</p>
<p><p class='post-video'><iframe title="YouTube video player" width="" height="600" src="http://www.youtube.com/embed/BOgFtg9XvDg" frameborder="0" allowfullscreen></iframe><div id="tentblogger-vimeo-youtube-message" style="width: 100%; border: 1px solid #e6e6e6; background: #f8f8f4; text-align:center; padding: 0.25em; ">Can't see the video in your RSS reader or email? <a target="_blank" href="http://thomaslarock.com/2012/02/do-you-have-corrupt-databases/">Click Here!</a></div></p>
<p>If you aren&#8217;t the type that enjoys using policies then you could use a different method such as Powershell in order to check all of your instances for corruption. The key is to build your process to check the msdb..suspect_pages table.</p>
<p>But you should do something. Before it is too late.</p>
<p><p></p>
<a href="http://thomaslarock.com/2012/02/do-you-have-corrupt-databases/">Do You Have Corrupt Databases?</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
<div class="shr-publisher-7271"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/02/do-you-have-corrupt-databases/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Going To TechEd? See You There!</title>
		<link>http://thomaslarock.com/2012/02/going-teched/</link>
		<comments>http://thomaslarock.com/2012/02/going-teched/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 16:00:00 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[performance tuning]]></category>
		<category><![CDATA[precon]]></category>
		<category><![CDATA[seminar]]></category>
		<category><![CDATA[teched]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=7585</guid>
		<description><![CDATA[If you are planning on attending TechEd this year then you will have a chance to see myself and Denny Cherry (blog &#124; @mrdenny) deliver a precon seminar. The title is &#8220;Microsoft SQL Server Performance Tuning and Optimization&#8221; and we are very excited to have this opportunity. And apparently Microsoft is excited to have us as well, because they are [...]<p><p></p>
<a href="http://thomaslarock.com/2012/02/going-teched/">Going To TechEd? See You There!</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>If you are planning on attending TechEd this year then you will have a chance to see myself and Denny Cherry (<a href="http://itknowledgeexchange.techtarget.com/sql-server/">blog</a> | @<a href="http://twitter.com/mrdenny">mrdenny</a>) deliver a <a href="http://northamerica.msteched.com/preconferenceseminars" target="_blank">precon seminar</a>. The title is &#8220;Microsoft SQL Server Performance Tuning and Optimization&#8221; and we are very excited to have this opportunity. And apparently Microsoft is excited to have us as well, because they are also sending the two of us to Amsterdam to do a <a href="http://europe.msteched.com/PreCons" target="_blank">repeat performance two weeks later</a> for TechEd Europe.</p>
<p>Denny and I have been working on the precon now for a couple of weeks. It&#8217;s tough since we both have full time jobs and live on opposite ends of the country, but we manage to meet at least once a week over Skype to discuss the session. Here are just a few of the performance tuning items we are planning to discuss:</p>
<ul>
<li>Table Partitioning</li>
<li>Filtered Indexes</li>
<li>Columnstore</li>
</ul>
<p>In addition to those items, we are also going to discuss how you can implement AlwaysOn read only replicas to help scale your system for performance as well as walk you through some general troubleshooting techniques with regarding to execution plans.</p>
<p>The last registration update had our precon in the lead for attendees, in both countries. We&#8217;d like to keep that trend going.</p>
<p>Go and get yourself registered for <a href="http://northamerica.msteched.com/registration" target="_blank">Orlando</a>, <a href="http://europe.msteched.com/Registration" target="_blank">Amsterdam</a>, or both!</p>
<p><p></p>
<a href="http://thomaslarock.com/2012/02/going-teched/">Going To TechEd? See You There!</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
<div class="shr-publisher-7585"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/02/going-teched/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Minimalist Guide to Database Administration</title>
		<link>http://thomaslarock.com/2012/02/the-minimalist-guide-to-database-administration/</link>
		<comments>http://thomaslarock.com/2012/02/the-minimalist-guide-to-database-administration/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 18:00:00 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQL MVP]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[alerts]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[minimal]]></category>
		<category><![CDATA[restores]]></category>
		<category><![CDATA[server core]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=7561</guid>
		<description><![CDATA[Every great DBA I know is both driven AND lazy. They are driven to be as efficient as possible, so they can do less work. It&#8217;s a wonderful pair of personality traits to have as a DBA.
The unfortunate part is that the more driven they are, the more efficient and lazier they get, which often [...]<p><p></p>
<a href="http://thomaslarock.com/2012/02/the-minimalist-guide-to-database-administration/">The Minimalist Guide to Database Administration</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div id="attachment_7601" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-7601" title="min-room-1" src="http://thomaslarock.com/wp-content/uploads/2012/02/min-room-1-300x187.jpg?9d7bd4" alt="" width="300" height="187" /><p class="wp-caption-text">Your office should look like this.</p></div>
<p>Every great DBA I know is both driven AND lazy. They are driven to be as efficient as possible, so they can do less work. It&#8217;s a wonderful pair of personality traits to have as a DBA.</p>
<p>The unfortunate part is that the more driven they are, the more efficient and lazier they get, which often results in their boss looking at them and saying &#8220;why am I paying you to just sit around?&#8221;. This results in many DBAs being dragged into administering other applications (like Sharepoint) because, hey, they run on databases too, right?  With you were sitting there looking like you weren&#8217;t doing anything it just made sense to give you extra work.</p>
<p>I have listed seven items below that I believe are universal for anyone that has the letters &#8220;DBA&#8221; in their job description. Some DBAs need to be a part-time SAN admin, or VM admin, or know all about security, or Active Directory, or .NET. It differs from one shop to another. Whether it is day one or one hundred in your career as a DBA you need a guide that helps you stay focused on your core duties. That&#8217;s what I have created here. It is the Minimalist Guide to Database Administration, and my goal is to make sure that no matter what your level of efficiency and laziness you are able to focus on the bare essentials (the minimum) necessary to be a rockstar DBA.</p>
<h3>1. Backups</h3>
<p>It&#8217;s simple, really: get them done.</p>
<p>There really isn&#8217;t a lot to say here, but as a DBA your number one job is to ensure that you can recover data. You cannot recover data without having configured your database backups to happen. And while it is surprisingly easy to configure database backups and yet a shocking number of people <a href="http://www.sqlservercentral.com/Forums/Topic560688-357-1.aspx">never bother</a>. You can use custom scripts or maintenance plans to get the job done, just make sure you are getting them done. Grant Fritchey has an <a href="http://www.simple-talk.com/sql/database-administration/sql-server-backup-and-restore-for-the-accidental-dba/">excellent article over at Simple-Talk</a> that I would recommend you read.</p>
<p>In order to keep with the minimalist theme I am going to tell you to use backup compression (depends on your version). You can enable this at the instance level or as an option included within the backup command. This will help keep disk space to a minimum. Also, you need to talk with your business users to find out how often you need to do full backups, differential, and transaction log backups as well. My default choices were weekly full backups, nightly differential backups, and hourly transaction log backups. This was a good place to start and I could adjust as needed.</p>
<h3>2. Only Be Alerted When Necessary</h3>
<p>I&#8217;ve never been one to want to be alerted just for the sake of being alerted. It makes no sense to me to be paged at 11PM just to know that something successfully happened. I expect success, and would prefer to only be told about when something has failed. As far as failures go, I only want to be told about them when it is something for me to fix.</p>
<p><img class="alignleft size-full wp-image-7603" title="false-alarm" src="http://thomaslarock.com/wp-content/uploads/2012/02/false-alarm.jpg?9d7bd4" alt="" width="214" height="216" />When I only had a handful of servers under my care I had alerts for all sorts of things. I was even alerted to when a session had been blocked for more than five minutes. Sounds good, right? Sure, except then I would call the end user to inform them of the situation and ask them what they wanted me to do and I would usually get told &#8220;I dunno&#8221;. Well, OK then. If you don&#8217;t want, or know, what action I should take when you have such blocking, then why would I continue to want to alert myself about this activity?</p>
<p>I wouldn&#8217;t. Neither should you. Only be alerted to the things you can take action upon immediately. Knowing your server CPU utilization is at 80% might sound like a nice thing, but tell me exactly what actions do you plan to take as a result? Now&#8230;tell me what actions you will take if you had over a dozen servers at the same time reporting more than 80% CPU utilization?</p>
<p>At some point your reach is greater than all your available hands. Split out your alerts into those that are informational versus those that are actionable. If they are not actionable then at some point you will simply turn a deaf ear to all alerts. That is not going to be good for anyone.</p>
<h3>3. Automate</h3>
<p>If you haven&#8217;t been automating any of your processes, get started. As you get more and more servers shoved your way you will find that automation will be your BFF. In my case I dove into <a href="http://www.microsoft.com/en-us/server-cloud/system-center/operations-manager.aspx">Systems Center Operations Manager</a> (OpsMgr) as a way to automate a lot of the things I needed done. Once OpsMgr recognized that an instance of SQL was running on a server it would simply execute all the scripts I needed done for me. I could use OpsMgr for just about anything I dreamed up, including having it alert me if I had not taken a backup recently.</p>
<p>There are many other ways to automate your systems, including the use of <a href="http://technet.microsoft.com/en-us/scriptcenter/dd742419">Powershell</a>, <a href="http://thomaslarock.com/2010/05/sql-2008-central-management-server/">Central Management Servers and policy-based management</a>, and even old-school <a href="http://msdn.microsoft.com/en-us/library/ms162773.aspx">SQLCMD</a>. Use whatever works best for you, but use something and get your stuff automated. Don&#8217;t wait until you have too many servers to manage before you start automating your processes. If you have more than one server under your care you should be automating things right now.</p>
<h3>4. A DBA Has Got to Have Standards</h3>
<p>You want to have a standard build and configuration for your database servers. It makes troubleshooting much easier when you know that each server is essentially similar to all the others. The fewer of those servers classified as &#8220;one offs&#8221;, the better it is for you and ultimately for your end users that need you to solve problems quickly.</p>
<p>Some of the things you want to have standard would include (but not limited to) the following:</p>
<ul>
<li>data and logs on separate disks</li>
<li>authentication mode (pick one and use it everywhere, consistency is key)</li>
<li>version level/patching</li>
<li>naming standards</li>
</ul>
<div>Those are just a few examples to get started. Your shop may focus in some particular area and you will probably want to have standards specific to that need. Whatever the standards you want, just get them written down and agreed upon and then make sure they are adhered to at all times. This is where automation comes in to help as well, you can build a set of scripts/policies to quickly check to see if any particular instance is not adhering to a defined standard.</div>
<h3>5. Only Install What You Need</h3>
<p>Another way to reduce your surface area of administration and troubleshooting is to only install the minimum services needed for your database servers. This has an added benefit of also</p>
<div id="attachment_7605" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-7605" title="core_installation" src="http://thomaslarock.com/wp-content/uploads/2012/02/core_installation-300x256.jpg?9d7bd4" alt="" width="300" height="256" /><p class="wp-caption-text">Get used to these screens.</p></div>
<p>reducing the surface area for an attacker, something your security folks would appreciate. A great way to get this done for SQL 2012 is to utilize <a href="http://msdn.microsoft.com/en-us/library/hh231669(v=sql.110).aspx" target="_blank">Server Core</a>.</p>
<p>What Server Core does for you is it allows for you to have a &#8220;low-maintenance&#8221; environment. What that essentially means is that your server isn&#8217;t running any unnecessary software, including a GUI for you to use. That&#8217;s right, when you go Core you end up doing everything from a command line. It&#8217;s as if Microsoft looked at everyone and said &#8220;You like the Linux? Fine, here you go, enjoy!&#8221;</p>
<p>As a DBA (for any platform), this makes perfect sense for you as it reduces the number of things you need to be an expert in and examine while troubleshooting. Don&#8217;t install unnecessary services and you won&#8217;t have to worry about them interfering with your database engine.</p>
<h3>6. Restores</h3>
<p>I told you that your number one job is to recover data, right? And you are doing your backups, right? OK, quick question for you: how do you know you can restore those backups? Is there a way for you to verify that your backup can be restored?</p>
<p>Yes, there is, it is called a restore.</p>
<p>That&#8217;s right. The only way to truly know if your backup can be restored is to actually perform a restore. This may not be practical for you, doing restores of thousands of databases each day in order to verify that they are valid. That&#8217;s why I wrote a post on how to <a href="http://www.simple-talk.com/sql/database-administration/statistical-sampling-for-verifying-database-backups/" target="_blank">get the job done in an efficient, minimalist style</a>. Turns out you may not need to do all of them after all, but you certainly do need to be testing <em>some</em> of them.</p>
<h3>7. Moment of zen</h3>
<p>Any time you hear about &#8220;minimalist&#8221; it is usually accompanied with the word &#8220;zen&#8221;. There&#8217;s something to be said for that with regards to being a DBA.</p>
<p><em><strong>Don&#8217;t panic.</strong></em></p>
<p>That&#8217;s right, stay calm. Breathe deep. You don&#8217;t know everything. You will constantly be learning on the job. Never panic, no matter what. When everyone about you is losing their composure they will need someone to be a steady influence. Let that be you.</p>
<p>In your career as a DBA you are going to be subjected to a lot of stress by others. Don&#8217;t let their negative energy become your burden.</p>
<p>It will serve you well to remember that life is an experience, and there is much for everyone to learn.</p>
<p>Also, stabbing people with a paper clip in the neck just annoys them more.</p>
<p>Those are my seven bare essentials for any DBA, my &#8220;minimalist&#8221; guide. What would be in your guide? What tips and tricks have you learned to help yourself scale as a DBA, to be able to take on more and more responsibilities as you get more and more efficient? Start writing down your own guide and compare your list to mine. Did I capture the essentials? Did I include something that shouldn&#8217;t be there? Leave a comment.</p>
<p><p></p>
<a href="http://thomaslarock.com/2012/02/the-minimalist-guide-to-database-administration/">The Minimalist Guide to Database Administration</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
<div class="shr-publisher-7561"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/02/the-minimalist-guide-to-database-administration/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SQL Excursions: Napa</title>
		<link>http://thomaslarock.com/2012/02/sql-excursions-napa/</link>
		<comments>http://thomaslarock.com/2012/02/sql-excursions-napa/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 15:00:00 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[SQL Excursions]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=7586</guid>
		<description><![CDATA[Do you enjoy working with SQL Server? Do you enjoy relaxing in wine country? Would you like to work with SQL server AND relax in wine country at the same time?
I know I would. And so would Denny Cherry. In fact, Denny liked the idea so much he decided to create SQL Excursions, a series [...]<p><p></p>
<a href="http://thomaslarock.com/2012/02/sql-excursions-napa/">SQL Excursions: Napa</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div id="attachment_7587" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-7587" title="napa-wine-edit-2" src="http://thomaslarock.com/wp-content/uploads/2012/02/napa-wine-edit-2-300x199.jpg?9d7bd4" alt="" width="300" height="199" /><p class="wp-caption-text">You could be here!</p></div>
<p>Do you enjoy working with SQL Server? Do you enjoy relaxing in wine country? Would you like to work with SQL server AND relax in wine country at the same time?</p>
<p>I know I would. And so would Denny Cherry. In fact, Denny liked the idea so much he decided to create <a href="http://sqlexcursions.com/">SQL Excursions</a>, a series of events where people can <a href="http://sqlexcursions.com/about">get together to learn about SQL in a relaxing manner</a>. And I was honored that Denny asked me to be the first guest presenter with him for the <a href="http://sqlexcursions.com/napa-2011-sign-up">very first SQL Excursion coming up in Napa, CA</a> from May 17-19.</p>
<p>Check out the <a href="http://sqlexcursions.com/napa-agenda">agenda for the event</a>. If you want I can summarize it for you here: #SQLWINNING</p>
<p><strong>Performance Tuning Made Easy</strong> - This will be similar to the half-day session offered at PASS that had 250 people in the room and another 100 that were turned away. If you were one of those 100, you will want to attend as I plan on taking a deeper dive into how to help you be more effective in your current role, something I cannot do when speaking to hundreds of people at once.</p>
<p><strong>Storage Configuration and Tuning</strong> - Denny Cherry is one of the top experts in the world when it comes to storage configuration and tuning and a Microsoft Certified Master in SQL Server. Come listen to him teach you some tips and tricks with regards to storage, which will lead nicely into&#8230;</p>
<p><strong>Virtualization and SQL Server</strong> - &#8230;Denny and I sharing our experiences with SQL Server running in a virtualized environment. We expect to not only show you some examples of VMWare and Hyper-V, but we are also planning on having you put your hands on the products as well. We want you to leave Napa feeling comfortable navigating your way through a virtual environment.</p>
<p><strong>SQL Server Indexing Top Down</strong> - Denny will walk you through indexing and SQL Server, discussing strategies for how you can tune queries using proper indexing and how to conduct proper index maintenance.</p>
<p><strong>How Table Partitioning Works to Save You Money </strong>- Denny has been helping clients for years save money with some very simple partitioning techniques. Denny will help you understand how to get this done for your shop as well.</p>
<p><strong>Hands On Troubleshooting</strong> - This will be similar to the series of &#8220;Choose Your Own Adventure&#8221; talks that I have been participating in recently. We will walk you through real scenarios where you will need to troubleshoot using native tools only. This shared learning experience will provide you a solid base for how to troubleshoot the vast majority of performance issues in your own shop.</p>
<p>OK, now comes the important part: <a href="http://sqlexcursions.com/napa-2011-sign-up">go here to register</a>. Don&#8217;t forget we will have wine tastings, wonderful weather, great food, and an opportunity to network and build relationships with your peers that will serve you well going forward.</p>
<p>I can&#8217;t wait to see you there!</p>
<p><p></p>
<a href="http://thomaslarock.com/2012/02/sql-excursions-napa/">SQL Excursions: Napa</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
<div class="shr-publisher-7586"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/02/sql-excursions-napa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stop Guessing About CPU Pressure</title>
		<link>http://thomaslarock.com/2012/01/stop-guessing-about-cpu-pressure/</link>
		<comments>http://thomaslarock.com/2012/01/stop-guessing-about-cpu-pressure/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 19:21:44 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQL MVP]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[evangelism]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=7538</guid>
		<description><![CDATA[Ever try to troubleshoot something that doesn&#8217;t really exist?
I think this virtualization thing is here to stay, I really do, but the trouble I see people having with virtualization is that they don&#8217;t know where the bottleneck truly lies. There are so many layers involved that most standard troubleshooting techniques fall short. Just think for [...]<p><p></p>
<a href="http://thomaslarock.com/2012/01/stop-guessing-about-cpu-pressure/">Stop Guessing About CPU Pressure</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div id="attachment_7543" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-7543" title="cpu" src="http://thomaslarock.com/wp-content/uploads/2012/01/cpu-300x224.jpg?9d7bd4" alt="" width="300" height="224" /><p class="wp-caption-text">This tiny guy runs everything you do!</p></div>
<p>Ever try to troubleshoot something that doesn&#8217;t really exist?</p>
<p>I think this virtualization thing is here to stay, I really do, but the trouble I see people having with virtualization is that they don&#8217;t know where the bottleneck truly lies. There are so many layers involved that most standard troubleshooting techniques fall short. Just think for a minute about being a SQL Server DBA in a virtual world: you administer a piece of software, running on a guest O/S, that is running on a host, that is connected to a datastore that may or may not be shared with &#8220;noisy neighbors&#8221;.</p>
<p>Knowing all that, when an end-user comes to you and says &#8220;this query is running slow&#8221;, where do you begin to look?</p>
<p>I always start with the virtual layers. I&#8217;d rather spend 5 minutes ruling out the virtual layer as a bottleneck before I try to tune a query. It makes no sense to spend time trying to make a query run faster if the bottleneck is at the host level, for example. That&#8217;s wasted time, and I *hate* wasting time.</p>
<p>One example I see often these days has to do with CPU pressure. In my experience most database servers are not CPU bound. (I said &#8220;most&#8221; and &#8220;my experience&#8221;.) Usually a database server has a lot of extra CPU cycles to spare. But that is not always the case in the virtual world. So when I come across a database instance that is showing CPU pressure I like to ask a very general question: Is it internal pressure, or external?</p>
<p>One of my favorite metrics to examine when researching potential CPU pressure is called <strong>signal waits</strong>. You can read more about signal waits at this <a href="http://blogs.msdn.com/b/sqlcat/archive/2005/09/05/461199.aspx">blog post by a member of the SQLCAT team</a>. The default threshold I like to set is 25%, meaning once I see I have about 25% of my sessions simply waiting for an available CPU I am likely to believe that the CPU pressure is internal to the instance. Of course more factors come into play before I would define 25% to be a problem, such as volume of sessions, length of time for each session to execute, etc.</p>
<p>But what about a guest O/S that is also waiting for an available CPU from the host? Imagine that your sessions are waiting for the SQLOS to give you an available CPU, and the SQLOS itself is waiting for an available CPU from the host? Wouldn&#8217;t it be nice if there was a metric for you to know if the issue is at the guest layer, and not internal to SQL?</p>
<p>Well as luck would have it <a href="http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/cpu_counters.html" target="_blank">such a metric does exist</a>: <strong>CPU ready time</strong>. This is simply a metric that tells you the percentage of time that your guest was ready to run, but could not get scheduled.</p>
<p>Together the signal waits and CPU ready time help to give you a more complete picture of what is happening to your database instance. Unfortunately, you can&#8217;t get at all of this information easily from within vSphere. Here&#8217;s a quick overview of what you would need to do in vSphere to research CPU pressure:</p>
<ol>
<li>Open vSphere, then go to the correct host, then to the guest that you are interested in monitoring.</li>
<li>On the Performance tab add in the counters you want (but no more than two!)</li>
<li>See real-time information (too bad if your issue was last week and you don&#8217;t have details any longer)</li>
<li>Ascertain if the issue is local to guest by going back to the host and looking at Performance tab</li>
<li>Add in the counters for the host Performance tab view (but no more than two!)</li>
<li>See real-time information (too bad if the issue was last week and you don&#8217;t have details any longer)</li>
<li>Throw up your hands when you realize that you still don&#8217;t know if the pressure is internal or external to SQL running on that guest, on that host</li>
<li>Take your hands and slap yourself when you realize you can&#8217;t tie anything back to specific SQL statements</li>
</ol>
<p>Sounds rather time consuming, right? Especially if you still won&#8217;t have any idea about a root cause or what specific actions to take after spending all that time investigating the issue. If you want to see it for yourself I made a video to show you some of the challenges that vSphere has when it comes to displaying all of the metrics necessary for you to make an informed decision.</p>
<p><p class='post-video'><iframe title="YouTube video player" width="" height="600" src="http://www.youtube.com/embed/fXf18WrQteY" frameborder="0" allowfullscreen></iframe><div id="tentblogger-vimeo-youtube-message" style="width: 100%; border: 1px solid #e6e6e6; background: #f8f8f4; text-align:center; padding: 0.25em; ">Can't see the video in your RSS reader or email? <a target="_blank" href="http://thomaslarock.com/2012/01/stop-guessing-about-cpu-pressure/">Click Here!</a></div></p>
<p>The short of it is that vSphere is never going to give you a complete view (including SQL statements or even number of sessions running) in one screen. But <a href="http://www.confio.com/English/Products/Ignite_VM.php" target="_blank">IgniteVM</a> will do that for you, saving you time, and ultimately money as well, money that can then be used to buy more <a href="http://www.nueskes.com/" target="_blank">bacon</a> <a href="http://baconery.com/" target="_blank">related</a> <a href="http://www.thinkgeek.com/brain/whereisit.cgi?t=bacon&amp;x=7&amp;y=15">products</a> for your home or office (don&#8217;t forget <a href="http://baconlube.com/" target="_blank">Valentine&#8217;s Day</a> is right around the corner).</p>
<p>Not only is virtualization here to stay, but tools like IgniteVM will be here as well to help administrators quickly find the root cause for performance bottlenecks.</p>
<p>Want to chat more about monitoring your virtual database servers? Then <a href="http://thomaslarock.com/contact-me/">contact me</a> and I would be happy to set up some time to talk. Also, <a href="http://www.confio.com" target="_blank">Confio</a> has regular product demos: <a href="https://cc.readytalk.com/cc/s/showReg?udc=9kbm2zx15p5u" target="_blank">go register for the next one here</a>.</p>
<p><p></p>
<a href="http://thomaslarock.com/2012/01/stop-guessing-about-cpu-pressure/">Stop Guessing About CPU Pressure</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
<div class="shr-publisher-7538"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/01/stop-guessing-about-cpu-pressure/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQL 2012 Database Engine Tuning Advisor: Now With More Plan Cache!</title>
		<link>http://thomaslarock.com/2012/01/sql-2012-database-engine-tuning-advisor-now-with-more-plan-cache/</link>
		<comments>http://thomaslarock.com/2012/01/sql-2012-database-engine-tuning-advisor-now-with-more-plan-cache/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 19:55:44 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQL MVP]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[advisor]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[tuning]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=7475</guid>
		<description><![CDATA[I&#8217;m normally not one to advocate the use of the Database Engine Tuning Advisor (DETA), a tool available inside of Microsoft SQL Server. (To be fair, I&#8217;m not a fan of the SQL Tuning Advisor from Oracle, either.) But I recently came across a little nugget of information that I wanted to share with you regarding [...]<p><p></p>
<a href="http://thomaslarock.com/2012/01/sql-2012-database-engine-tuning-advisor-now-with-more-plan-cache/">SQL 2012 Database Engine Tuning Advisor: Now With More Plan Cache!</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I&#8217;m normally not one to advocate the use of the Database Engine Tuning Advisor (DETA), a tool available inside of Microsoft SQL Server. (To be fair, I&#8217;m not a fan of the <a href="http://docs.oracle.com/cd/B28359_01/server.111/b28274/sql_tune.htm">SQL Tuning Advisor</a> from Oracle, either.) But I recently came across a little nugget of information that I wanted to share with you regarding an improvement in the <a href="http://msdn.microsoft.com/en-us/library/ms186354(v=sql.110).aspx">DETA for SQL2012</a>. You may not know it from clicking on that link, so I&#8217;ll spell it out for you here:</p>
<p>&#8220;<em>To tune a database by using the plan cache</em>&#8221;</p>
<p>And suddenly I am interested in using the DETA again. This makes things so much easier for me as an end-user. I no longer need to configure the DETA to run at a specific time. I can simply point-and-click and instantly have a handful of recommendations to evaluate.</p>
<p>Of course taking action on the recommendations without doing any analysis is not a recommended course of action. But the idea that I can use the plan cache is something I am eager to try.</p>
<p>Here&#8217;s hoping I won&#8217;t be disappointed&#8230;again.</p>
<p><p></p>
<a href="http://thomaslarock.com/2012/01/sql-2012-database-engine-tuning-advisor-now-with-more-plan-cache/">SQL 2012 Database Engine Tuning Advisor: Now With More Plan Cache!</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
<div class="shr-publisher-7475"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/01/sql-2012-database-engine-tuning-advisor-now-with-more-plan-cache/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Is Your DBA Lying To You?</title>
		<link>http://thomaslarock.com/2012/01/is-your-dba-lying-to-you/</link>
		<comments>http://thomaslarock.com/2012/01/is-your-dba-lying-to-you/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 17:02:37 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQL MVP]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Database administrator]]></category>
		<category><![CDATA[Database management system]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[More Reasons Why Barack and I Were Seperated At Birth]]></category>
		<category><![CDATA[Reasons Why I Will Not Be Invited to the MVP Summit]]></category>
		<category><![CDATA[white lies]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=7431</guid>
		<description><![CDATA[&#8220;Signs point to yes.&#8221; &#8211; Magic 8-Ball prophecy
You have probably heard this line at one point, the one that says &#8220;the best DBAs are the ones you never see or hear?&#8221; I used to think that was a result of some sketchy personal hygiene choices and later on understood it to mean that if everything [...]<p><p></p>
<a href="http://thomaslarock.com/2012/01/is-your-dba-lying-to-you/">Is Your DBA Lying To You?</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div id="attachment_7454" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-7454 " title="Would I lie to you?" src="http://thomaslarock.com/wp-content/uploads/2012/01/lying-300x187.jpg?9d7bd4" alt="Would I lie to you?" width="300" height="187" /><p class="wp-caption-text">Trust me, I&#39;m a DBA</p></div>
<p>&#8220;<em>Signs point to yes</em>.&#8221; &#8211; Magic 8-Ball prophecy</p>
<p>You have probably heard this line at one point, the one that says &#8220;the best DBAs are the ones you never see or hear?&#8221; I used to think that was a result of some sketchy personal hygiene choices and later on understood it to mean that if everything is running smoothly then there isn&#8217;t a need to see your DBA. It&#8217;s kinda like how you never see your plumber. Oh sure, you could call him (or her) and chat, have them over for drinks or dinner one night, but you never bother talking to them until your toilet backs up and there&#8217;s crap everywhere. That&#8217;s how most DBAs are treated as well, we don&#8217;t get called until <em>after</em> the crap is on the floor.</p>
<p>Unlike your plumber most DBAs are performing regular work on your databases. Much of this work will go unnoticed. The reason for that is simple: you&#8217;ll freak out if you knew what we were doing. And if you ask us about something we are likely to tell you half-truths because (1) we don&#8217;t want you to freak out and (2) you never understand us when we talk to you anyway.</p>
<p>Here&#8217;s my list of things that I am willing to bet your DBA hasn&#8217;t always been truthful about.</p>
<h3>1. Your database server is still on physical hardware</h3>
<p>Probably the number one misconception that end users have these days centers around the use of virtualization. People fear change, and when they are told that their servers are about to be virtualized they freak out. And for the handful of users that don&#8217;t freak out immediately their reaction is just delayed until the moment that something goes wrong and then they blame the fact that the server is on virtual hardware. What&#8217;s that? The bank didn&#8217;t send the files last night, so the import never started? It must be due to the fact that we were virtualized, because before then <em>nothing like this ever happened</em>.</p>
<p>Wrong. Bad things happened before you were virtual, too. It&#8217;s just that you don&#8217;t remember. So we don&#8217;t bother telling you about the switch. No, we wait until it leaks out months later, just so we can say things like &#8220;look, it&#8217;s been on a VM for six months and you never once complained about performance, so don&#8217;t try blaming virtualization for your issues now.&#8221;</p>
<h3>2. Everything is fine, nothing to see here</h3>
<p>Chances are everything is not fine. In fact, chances are the data center is on fire and your server melted last night (good thing they were virtualized so we could failover immediately to a different data center without you knowing) but we aren&#8217;t going to say a word to you about it. And why not?</p>
<div class="wp-caption alignleft" style="width: 310px"><a href="http://commons.wikipedia.org/wiki/File:Backup_Backup_Backup_-_And_Test_Restores.jpg" rel="prettyPhoto[7431]"><img class="zemanta-img-inserted zemanta-img-configured" title="Is it getting warm in here?" src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/Backup_Backup_Backup_-_And_Test_Restores.jpg/300px-Backup_Backup_Backup_-_And_Test_Restores.jpg" alt="Is it getting warm in here?" width="300" height="289" /></a><p class="wp-caption-text">Is it getting warm in here?</p></div>
<p>Because the minute most users hear about something having gone wrong they like to blame EVERYTHING on whatever went wrong. Take this example:</p>
<p>Me: &#8220;Hi Craig, just want you to know that last night at 11PM the differential backup failed. We&#8217;re not sure why yet, but we re-ran them at 11:30PM and those worked. So, if you ever need something from Monday night and ask for the 11PM backup and you&#8217;re told that we only have one for 11:30, you don&#8217;t need to panic.&#8221;</p>
<p>Craig: &#8220;The backups failed?&#8221;</p>
<p>Me: &#8220;Yes, but we re-ran them right away, so we have a good one, just from 11:30PM, and not 11PM&#8221;</p>
<p>Craig: &#8220;OK then, that explains why those reports at midnight didn&#8217;t work.&#8221;</p>
<p>Me: &#8220;No, it doesn&#8217;t, the backups have no bearing on those reports. It&#8217;s two different servers. Your report server melted in the fire. That&#8217;s why they didn&#8217;t run. This is a different server, and a different time. There is no relation between the two.&#8221;</p>
<p>Craig: &#8220;But the reports use data from that server. Chances are the data they retrieved caused the fire.&#8221;</p>
<p>Me: &#8220;Is it too early to start drinking? I guess not, because clearly you have already.&#8221;</p>
<p>That&#8217;s why we don&#8217;t tell you anything. It&#8217;s because no matter what happens you will latch onto it and start blaming it for anything else no matter how unrelated or crazy. You&#8217;ll send emails to managers stating &#8220;facts&#8221; that are just not true, creating more chaos and confusion than if we had said nothing at all.</p>
<p>So we don&#8217;t say anything. No matter how big or small of an event.</p>
<h3>3. It&#8217;s the network</h3>
<p>Your DBA is likely the best looking and smartest person in your IT department. But that doesn&#8217;t mean that they are omnipotent. From time to time they are not going to have an immediate answer for you no matter how long you stand in their cube tapping your feet and reminding them how much money is being lost for each passing minute that they haven&#8217;t solved whatever imaginary problem you are having.</p>
<div id="attachment_7462" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-7462 " title="What's the worst that can happen?" src="http://thomaslarock.com/wp-content/uploads/2012/01/theuglynetwork-300x225.jpg?9d7bd4" alt="" width="300" height="225" /><p class="wp-caption-text">You should have seen it BEFORE we consolidated.</p></div>
<p>It&#8217;s during times like these that the most seasoned of DBAs will reach into for the modern-day equivalent of a &#8220;<a href="http://en.wikipedia.org/wiki/Get_Out_of_Jail_Free_card">get out of jail free</a>&#8221; card by turning their heads, looking deep into your eyes and saying those magical words:</p>
<p>&#8220;<em>Looks like it could be a problem with the network</em>.&#8221;</p>
<p>This one line is pure gold. It buys any DBA the time they need to investigate the real problem as most folks will walk out of the cube once they believe the DBA is on the trail and closer to finding a solution. And once those people leave you alone to focus on the issue you are likely to be able to find a solution.</p>
<p>And don&#8217;t worry about blaming the network. The network admins don&#8217;t mind, because they just blame management for not buying the right hardware the first time around. And then management tells the end users they will need to live with the bad performance until the network issues are worked out. It&#8217;s the circle of life in IT, and it works.</p>
<h3>4. Of course your server is dedicated</h3>
<p>Not likely, no it is not. Not only does your database server also run all sorts of other things like anti-virus software and software for taking server tape backups, but chances are it is running other services like SSAS or SSIS. And let&#8217;s not forget all those vendors that insist their application be installed on the same server as the database &#8220;for performance reasons&#8221; which I always found amusing every time we found the performance bottleneck to be the application itself. Good times.</p>
<p>And let&#8217;s not forget the price of all that hardware and software. As much as I enjoy having my overall CPU utilization to be less than ten percent if the guys who write the checks find out that we are wasting ninety percent of our capacity then there is a good chance we won&#8217;t ever be able to buy anything new and then you&#8217;ll have to hear your DBA say things like &#8220;this is why we can&#8217;t have nice things&#8221; each time you ask if your server is dedicated. So, just don&#8217;t bother. Your server is a resource and is likely being used by others. Get used to the idea.</p>
<h3>5. Yes I gave you the permissions you asked for</h3>
<p>Not only do vendors like to insist that their applications are installed on the same server as the database, but they also insist on having full administrative rights. Why are such rights necessary? Quite often, they aren&#8217;t, but vendors ask for it because they can. Any good DBA will ask for a list of actions that are needed so that they can grant the permissions necessary for those actions. I once had a vendor tell me they needed full system administrative rights for the database instance AND the O/S because they &#8220;had to create tables and stuff&#8221;.</p>
<p>DBAs, especially the good ones, know this isn&#8217;t true. And so we give you the permissions that you need. Quite often that is different from the permissions that you asked for. And honestly we&#8217;re too tired to explain to you the difference because you usually don&#8217;t care to understand it anyway.</p>
<p>There you go, five things your DBA has probably been less than truthful with you about. That doesn&#8217;t make us bad people. In fact, it makes us more like an adult&#8230;say a parent&#8230;someone who knows the difference between &#8220;want&#8221; and &#8220;need&#8221; and has to make the hard choices that others don&#8217;t want to make.</p>
<p><p></p>
<a href="http://thomaslarock.com/2012/01/is-your-dba-lying-to-you/">Is Your DBA Lying To You?</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
Join Denny Cherry (<a href="http://www.twitter.com/mrdenny">@mrdenny</a>) and me for two days of SQL instruction, training, and wine tasting in the California sunshine <a href="http://sqlexcursions.com/napa-2011-sign-up">this May for $799</a>.
<p></p>
</p>
<div class="shr-publisher-7431"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/01/is-your-dba-lying-to-you/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic
Database Caching 29/67 queries in 0.042 seconds using disk: basic
Object Caching 2055/2155 objects using disk: basic

Served from: thomaslarock.com @ 2012-02-21 16:09:58 -->
