<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>SQLRockstar</title>
	
	<link>http://thomaslarock.com</link>
	<description>World domination.</description>
	<lastBuildDate>Tue, 09 Feb 2010 00:44:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SQLRockstar" /><feedburner:info uri="sqlrockstar" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><feedburner:emailServiceId>SQLRockstar</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Native Restore From Litespeed Backup</title>
		<link>http://feedproxy.google.com/~r/SQLRockstar/~3/3Kp0By2B7MQ/</link>
		<comments>http://thomaslarock.com/2010/02/native-restore-from-litespeed-backup/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 18:11:40 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[QuestKB Syndication]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3657</guid>
		<description><![CDATA[More than once I have had the need to recover the native backup file from within the compressed Litespeed backup file. Fortunately Quest provides an extractor utility in order to help with the process. Otherwise, you would be forced to do a restore followed by a native backup. If your database is of a considerable [...]]]></description>
			<content:encoded><![CDATA[<p>More than once I have had the need to recover the native backup file from within the compressed Litespeed backup file. Fortunately Quest provides an extractor utility in order to help with the process. Otherwise, you would be forced to do a restore followed by a native backup. If your database is of a considerable size then the time needed to accomplish that task could be prohibitive; it will always be simpler to do the extraction as opposed to a restore and a backup.</p>
<p>Extraction is very straightforward. First step is to open a command window and navigate to the directory where the utility is located, this is typically the C:\Program Files\Quest Software\LiteSpeed\SQL Server directory.</p>
<p><a href="http://thomaslarock.com/wp-content/uploads/2010/02/ls_extract_cmd.jpg"><img class="alignleft size-medium wp-image-3672" style="margin-right: 600px; margin-bottom: 5px;" title="ls_extract_cmd" src="http://thomaslarock.com/wp-content/uploads/2010/02/ls_extract_cmd-300x133.jpg" alt="" width="300" height="133" /></a></p>
<p>Next, issue the following command to extract the native backup files.  Yes, files. In fact you will have one file created for each thread that was used when Litespeed was taking the initial database backup. The command is roughly as follows:</p>
<p>extractor.exe -F [path to backup file taken by litepseed] -E [name of file you want to be created]</p>
<p>So, if you had a backup of AdventureWorks saved to C:\AdWks.bak, and you wanted to extract the native dump from that file and create new files in the same directory, you would run the following command:</p>
<p>extractor.exe -F c:\AdWks.bak -E c:\AdWks_ext.bak</p>
<p><a href="http://thomaslarock.com/wp-content/uploads/2010/02/ls_extract_cmd_1.jpg"><img class="alignleft size-medium wp-image-3673" style="margin-right: 600px; margin-bottom: 5px;" title="ls_extract_cmd_1" src="http://thomaslarock.com/wp-content/uploads/2010/02/ls_extract_cmd_1-300x132.jpg" alt="" width="300" height="132" /></a></p>
<p>This command results in the creation of multiple files. You can configure a path and filename here if you want to have the files stored somewhere other than the current directory.</p>
<p>OK, so what do you do with these files? Well, you restore them, of course, using either T-SQL or SSMS. One common reason for needing to have a native backup is for those rare times when you need to provide a vendor with a copy and that same vendor does not have a copy of Litespeed. And while the extraction utility makes it easy to provide the necessary files, you have no idea who is on the receiving end of the multiple files. I have lost count of the number of vendors I have sent the extracted files to and received an email back that either says &#8220;we don&#8217;t know what to do with these files&#8221; or &#8220;can you send us just one file instead?&#8221;</p>
<p>Sure, I can do that as well. Or, I could take a minute to teach you how to do it for yourself. Here goes:</p>
<p>Open up SSMS and all you need to do is point to the files. Just add in each file as shown below, and click OK. Then, select your restore point and click OK again. You should be fine, the database restore should be underway at this point. <a href="http://thomaslarock.com/wp-content/uploads/2010/02/ls_extract_restore_ssms.jpg"><img class="alignleft size-medium wp-image-3674" style="margin-right: 600px; margin-bottom: 5px; margin-top: 5px;" title="ls_extract_restore_ssms" src="http://thomaslarock.com/wp-content/uploads/2010/02/ls_extract_restore_ssms-300x217.jpg" alt="" width="300" height="217" /></a></p>
<p>Now, if you prefer T-SQL, the equivalent syntax would be:</p>
<p>RESTORE DATABASE [AdventureWorks]<br />
FROM  DISK = N&#8217;C:\AdWks_ext.bak2&#8242;,<br />
DISK = N&#8217;C:\AdWks_ext.bak1&#8242;,<br />
DISK = N&#8217;C:\AdWks_ext.bak0&#8242;<br />
GO</p>
<p>It&#8217;s that simple.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=3Kp0By2B7MQ:UQ-y7Tiy9pQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=3Kp0By2B7MQ:UQ-y7Tiy9pQ:Tlc60a-_mp0"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=Tlc60a-_mp0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=3Kp0By2B7MQ:UQ-y7Tiy9pQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=3Kp0By2B7MQ:UQ-y7Tiy9pQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?i=3Kp0By2B7MQ:UQ-y7Tiy9pQ:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLRockstar/~4/3Kp0By2B7MQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2010/02/native-restore-from-litespeed-backup/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://thomaslarock.com/2010/02/native-restore-from-litespeed-backup/</feedburner:origLink></item>
		<item>
		<title>Bacon Cupcakes</title>
		<link>http://feedproxy.google.com/~r/SQLRockstar/~3/Ynm6Ak8QfZM/</link>
		<comments>http://thomaslarock.com/2010/02/bacon-cupcakes/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 20:17:40 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3651</guid>
		<description><![CDATA[Just when you thought that there was nothing left in the world upon which bacon had not been tried, along comes someone displaying the kind of American ingenuity that has served us well for over 200 years. I give you the Bacon Cupcake:
http://bacontoday.com/bacon-cupcakes-part-deux
Rumor has it that in the summer the same people offer a &#8216;bacon [...]]]></description>
			<content:encoded><![CDATA[<p>Just when you thought that there was nothing left in the world upon which bacon had not been tried, along comes someone displaying the kind of American ingenuity that has served us well for over 200 years. I give you the Bacon Cupcake:</p>
<p><a href="http://bacontoday.com/bacon-cupcakes-part-deux">http://bacontoday.com/bacon-cupcakes-part-deux</a></p>
<p>Rumor has it that in the summer the same people offer a &#8216;bacon cheeseburger&#8217; cupcake, which I find to be an awesome idea. You can have an entire meal, entree and dessert, in just a few bites. I wonder if NASA is aware of this&#8230;</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=Ynm6Ak8QfZM:9xUKM0Ei_k0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=Ynm6Ak8QfZM:9xUKM0Ei_k0:Tlc60a-_mp0"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=Tlc60a-_mp0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=Ynm6Ak8QfZM:9xUKM0Ei_k0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=Ynm6Ak8QfZM:9xUKM0Ei_k0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?i=Ynm6Ak8QfZM:9xUKM0Ei_k0:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLRockstar/~4/Ynm6Ak8QfZM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2010/02/bacon-cupcakes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://thomaslarock.com/2010/02/bacon-cupcakes/</feedburner:origLink></item>
		<item>
		<title>Name That Caption Contest</title>
		<link>http://feedproxy.google.com/~r/SQLRockstar/~3/3KAVNGbv1C0/</link>
		<comments>http://thomaslarock.com/2010/02/name-that-caption-contest-2/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 15:27:56 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3624</guid>
		<description><![CDATA[The first round of the &#8220;Name That Caption&#8221; contest over at DBASurvivor.com will end next Friday, winner gets a copy of my upcoming book. Head over to http://dbasurvivor.com/?p=29 to learn more.
We have had a fair number of entries to date and I already have my top five set aside for people to vote on. But [...]]]></description>
			<content:encoded><![CDATA[<p>The first round of the &#8220;Name That Caption&#8221; contest over at <a href="http://dbasurvivor.com/">DBASurvivor.com</a> will end next Friday, winner gets a copy of my upcoming book. Head over to <a href="http://dbasurvivor.com/?p=29">http://dbasurvivor.com/?p=29</a> to learn more.</p>
<p>We have had a fair number of entries to date and I already have my top five set aside for people to vote on. But there is still time to get yourself entered. Below are all the entries so far. I&#8217;m still amazed that no one went with &#8220;this is the strangest urinal I have ever used.&#8221;</p>
<ul>
<li>&#8220;You met me at a very strange time in my life&#8221; &#8211; SQLChicken</li>
<li>“…Therefore by optimizing your queries you can…HEY GET AWAY FROM MY SEGWAY!” &#8211; SQLChicken</li>
<li>“First day of work and of COURSE I forgot to wear underwear. This won’t end well…” &#8211; SQLChicken</li>
<li>“My database, I can not deny her. My database screams. She is my mother. She is my lover, and I am her DBA.” &#8211; SQLChicken</li>
<li>“Somewhere out there, a database is crying out in pain.  I can feel it.” -BrentO</li>
<li>“So this is what an Oracle DBA’s office looks like?”-BrentO</li>
<li>“I wonder if I could throw a developer through this window.” -BrentO (Inspired by <a href="http://twitter.com/sqldumbass">@SQLDumbAss</a>.)</li>
<li>“Is that the SQLBatLight in the distance?”-BrentO</li>
<li>“I finally found a view in this company that I don’t have to maintain – the Access guy washes the windows.”-BrentO</li>
<li>&#8220;The recovery is complete, time to reflect.&#8221; -Breck Dahlin</li>
<li>&#8220;If a backup fails and no one gets an alert, did it really fail?” &#8211; Jonathan Gardner</li>
<li>“Somewhere out there someone shrunk a database and killed a kitten because of it.” -Troy Gallant</li>
<li>“Ok, who put the datacenter up here on the 35th floor??” -Troy Gallant</li>
<li>“Sheesh, from way up here those full-text indexes look like ants!” -Troy Gallant</li>
<li>“Now, I know the executive washroom’s somewhere around here.” -Troy Gallant</li>
<li>&#8220;SQL Server – Color Your Day!&#8221; -Valentino Vranken</li>
<li>&#8220;Waiting for that report to finish?  Hire A DBA!&#8221; -Valentino Vranken</li>
<li>“A World of Data Awaits” -Mike Wells</li>
<li>“A World of Databases Awaits” -Mike Wells</li>
<li>“I am done with my work today,  here is what I want to do for tomorrow?” -msrviking</li>
<li>“How do I achieve 99.99% SLA with all these jokers around?” -msrviking</li>
<li>“What is that I should budget for this year?” -msrviking</li>
<li>“How do I fly between these tall buildings?” -msrviking</li>
<li>“Yeah… I’m going to have to take a taxi to get back to my car.  Why did I park so far away?” -Andrew Dykstra</li>
<li>&#8220;I wonder if those people can tell that I&#8217;m not wearing any pants?&#8221; -Jon Crawford</li>
<li>&#8220;Crap, this database is more corrupt than our Accounting team.&#8221; -Jordan Bullock</li>
<li>&#8220;This mural IS pretty life-like, but I still miss working above ground.&#8221; -Jordan Bullock</li>
<li>&#8220;Mark?  MARK!  We asked you where you see yourself in 10 years. Hello?&#8221; -Jordan Bullock</li>
<li>&#8220;Hey!  Anybody out there hiring?!?  I hate it here!&#8221; -Jordan Bullock</li>
<li>“Wow, the contractor did a GREAT job fixing the window the last DBA jumped through!” -Jordan Bullock</li>
<li>&#8220;DBA&#8217;s Log Stardate 0518.2 &#8211; Today&#8217;s encounter with SQL Server 6.5 was deeply disturbing&#8230;&#8221; -AdaTheDev</li>
<li>&#8220;SELECT Building FROM vwWindow ORDER BY Height ASC&#8221; -AdaTheDev</li>
<li>&#8220;The sinking feeling soon hits as he realises his new job is not actually as Drew Barrymore&#8217;s Assistant .&#8221; -AdaTheDev</li>
<li>&#8220;If you always blame the developer, you’ll always be the victim.&#8221; -Marlon Ribunal</li>
<li>&#8220;You’ll always be the first casualty of your database failure.&#8221; -Marlon Ribunal</li>
<li>&#8220;Don’t suck! It’s not the database, stupid!&#8221; -Marlon Ribunal</li>
<li>“We will upgrade the server when we hit the ‘wall’&#8230;&#8221; -Josef Richberg</li>
<li>“I’m going to jump if I don’t get bacon soon” -Pat Wright</li>
<li>“I hope those zombies aren’t coming for me” -Pat Wright</li>
<li>“Has anyone seen my database?” -Pat Wright</li>
<li>“This city needs more bacon!” -Pat Wright</li>
<li>“I wonder if I can shrink that building like I do my databases?” -Pat Wright</li>
<li> “Why in the hell is Thom making us do this contest?&#8221; -Pat Wright</li>
<li>“Made it! I’m a SQL Server DBA! Now what?” -wnylibrarian</li>
<li>“Guess the interviewers didn’t like that SQL injection joke.” -wnylibrarian</li>
<li>“Is that a clown, a priest, and a rabbi heading into that bar?” -wnylibrarian</li>
<li>“I can only hope they think it was Tibor who dropped that sales database. -wnylibrarian</li>
<li>“I’m out there Jerry and I’m loving every minute of it!” -wnylibrarian</li>
<li>“Think I’ll go ‘Candle Pin Bowling’ after work.” -wnylibrarian</li>
<li>“Wonder when they’ll find out there really is no back up?” -wnylibrarian</li>
<li>“You can’t shrink databases you can only hope to contain them.” -wnylibrarian</li>
<li>“Damn! I know I should’ve taped the SA password to the side of my monitor.” -wnylibrarian</li>
<li>“Oh no…I think I left the iron on…” -wnylibrarian</li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=3KAVNGbv1C0:RfFiKB4zisE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=3KAVNGbv1C0:RfFiKB4zisE:Tlc60a-_mp0"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=Tlc60a-_mp0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=3KAVNGbv1C0:RfFiKB4zisE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=3KAVNGbv1C0:RfFiKB4zisE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?i=3KAVNGbv1C0:RfFiKB4zisE:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLRockstar/~4/3KAVNGbv1C0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2010/02/name-that-caption-contest-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://thomaslarock.com/2010/02/name-that-caption-contest-2/</feedburner:origLink></item>
		<item>
		<title>Book Review: The 21 Irrefutable Laws of Leadership</title>
		<link>http://feedproxy.google.com/~r/SQLRockstar/~3/EuvRWiPaEqQ/</link>
		<comments>http://thomaslarock.com/2010/02/book-review-the-21-irrefutable-laws-of-leadership/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 14:35:28 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Book Reviews]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3583</guid>
		<description><![CDATA[I recently finished this book and wante to share it with everyone. John C. Maxwell has written other professional development and leadership books. If you are familiar with his other works, and liked them, then you will like this one as well. The book is an easy enough read and Mr. Maxwell does a great [...]]]></description>
			<content:encoded><![CDATA[<p>I recently finished this book and wante to share it with everyone. John C. Maxwell has written other professional development and leadership books. If you are familiar with his other works, and liked them, then you will like this one as well. The book is an easy enough read and Mr. Maxwell does a great job with weaving stories in the pages in order to reinforce the point he is trying to assert. After reading this book I wanted to go out and learn more about Teddy Roosevelt. I won&#8217;t tell you why, because I want you to read the book to find out for yourself.</p>
<p><a href="http://www.amazon.com/gp/product/0785288376?ie=UTF8&amp;tag=sq0f-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0785288376">The 21 Irrefutable Laws of Leadership: Follow Them and People Will Follow You</a></p>
<p>Many of the &#8220;Laws&#8221; discussed were idea that I have already come across at one time or another. The power this book has for me is that it will serve as a handy reference going forward. I hope it can do the same for you as well. At one time or another you will need help with one or more of the &#8220;Laws&#8221;, be it Influence, Connection, Respect, or Solid Ground.</p>
<p>I have added the book to my Book Review page at <a href="http://thomaslarock.com/book-reviews/">http://thomaslarock.com/book-reviews/</a>, inside of the Professional Development section.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=EuvRWiPaEqQ:4DLW0NGhvGg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=EuvRWiPaEqQ:4DLW0NGhvGg:Tlc60a-_mp0"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=Tlc60a-_mp0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=EuvRWiPaEqQ:4DLW0NGhvGg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=EuvRWiPaEqQ:4DLW0NGhvGg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?i=EuvRWiPaEqQ:4DLW0NGhvGg:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLRockstar/~4/EuvRWiPaEqQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2010/02/book-review-the-21-irrefutable-laws-of-leadership/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thomaslarock.com/2010/02/book-review-the-21-irrefutable-laws-of-leadership/</feedburner:origLink></item>
		<item>
		<title>SQLSaturday #34 Recap</title>
		<link>http://feedproxy.google.com/~r/SQLRockstar/~3/wFFui_WQuK8/</link>
		<comments>http://thomaslarock.com/2010/02/sqlsaturday-34-recap/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 00:00:22 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[Professional Development]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3575</guid>
		<description><![CDATA[This past weekend was SQLSaturday #34 in Waltham, MA, which is close enough to Boston that I should just say it was in Boston so that everyone outside of New England would have an idea as to where it was. But then I remembered that everyone outside of New England only knows of Boston whenever [...]]]></description>
			<content:encoded><![CDATA[<p>This past weekend was SQLSaturday #34 in Waltham, MA, which is close enough to Boston that I should just say it was in Boston so that everyone outside of New England would have an idea as to where it was. But then I remembered that everyone outside of New England only knows of Boston whenever they see the letters &#8216;MA&#8217;, so when they see the name &#8216;Waltham&#8221; they are already thinking &#8216;how close is that to Boston?&#8217; Well, it&#8217;s close enough, unless you are driving in rush hour. In that case, it&#8217;s about an hour away. And if it is raining, it&#8217;s about two hours.</p>
<p>I am about a 90 minute drive from Waltham, meaning in order to make it to SQLSaturday for the 8AM start time I was up even earlier than I would be for a routine day of work. <em>That&#8217;s how much I love SQL Server</em>. And box lunches. But mostly the SQL thing. I showed up, was recognized by <a href="http://sqlblog.com/blogs/adam_machanic/" target="_blank">Adam Machanic</a> (<a href="http://twitter.com/AdamMachanic" target="_blank">@AdamMachanic</a>) and <a href="http://scarydba.wordpress.com/" target="_blank">Grant Fritchey</a> (<a href="http://twitter.com/gfritchey" target="_blank">@gfritchey</a>), Grant immediately called for security, and I ducked into the speaker room to chat up <a href="http://thesqlagentman.com/" target="_blank">Tim Ford</a> (<a href="http://twitter.com/SQLAgentman" target="_blank">@SQLAgentman</a>).</p>
<p>There were six session slots lined up for the day, each one lasting about 75 minutes. I was able to attend six talks during the day, which I thought was a fantastic way to spend a cold winter day near Boston. Who wouldn&#8217;t, right?</p>
<p>The first talk of the day was by Mike Walsh (<a href="http://www.straightpathsql.com/">blog</a> | <a href="http://twitter.com/mike_walsh">twitter</a>), speaking on &#8220;<em>As a DBA, Where Do I Start?</em>&#8221; Mike had some great advice to give to new DBA&#8217;s (whom he called &#8216;reluctant&#8217; DBA&#8217;s), including a brief section on meeting expectations. He had a couple of things I wish I would had included in <a href="http://dbasurvivor.com">my book</a> but it is too late to stuff anything else in there. I spoke with Mike briefly afterwards and found it it was the first time he had given the talk. For a first take on professional development, Mike did a great job.</p>
<p>The next talk I attended was by Grant Fritchey talking about <em>&#8220;Best Practices for Working with Execution Plans&#8221;. </em>It was the same talk that he presented at the PASS Summit this past November. The room was packed, I would estimate about 120 people. I still had my jacket on and needed to get some fresh air so I ducked out after about 15 minutes. But Grant was doing very well, he really knows how to work a room.</p>
<p>I left Grant&#8217;s session in the hope that I could sit in on the last part of <a href="http://sqlblog.com/blogs/aaron_bertrand/">Aaron Bertrand</a> (<a href="http://twitter.com/aaronbertrand">@aaronbertrand</a>) talk <em>&#8220;Management Studio Tips &amp; Tricks&#8221;.</em> But a funny thing happened on my way to see Aaron. I got sidetracked by the guys from <a href="http://www.confio.com/">Confio sotware</a>. I enjoyed learning more about their product (Ignite) and would encourage you to <a href="http://www.confio.com/English/Forms/Download_SQLServer_Trial.php">download a free trial</a>. In a nutshell, their product is focused on performance gathering and they use wait stats in order to help you diagnose issues quickly.</p>
<p>The next session was by Matt Van Horn and it was on <em>&#8220;Developing with SQL Azure&#8221;. </em>All I can say about this is that if you are planning to work with SQL Azure, or to give a talk that includes a demo on SQL Azure, you should make sure you can connect to the intertubz. Unless, of course, you either (1) want to show people the biggest reason to not push your app to the cloud or (2) show people what to do when they lose connectivity and how important it is to have your data local, just in case. Still, Matt gave about 30 minutes before he ended his talk, and I did manage to take away a few items even without a demo. I also spent a few minutes chatting with Matt afterwards and I hope to stay in touch with him in the very near future.</p>
<p>After lunch it was time to listen to Tim Ford talk about <em>&#8220;Index DMV&#8217;s&#8221;.</em>Tim did a great job despite being heckled from the front row by myself, Grant, and Aaron. We had our own MVP corner right there and more than once when Tim would ask a question he would have to tell us to not bother answering in order to let someone else answer. Tim also told me that every time I shrink a database I am feeding a live kitten to an alligator. Which actually sounds kinda cool. I mean, n alligator&#8217;s gotta eat, right? I have no idea what they eat, it could be stray cats for all I know, so I decided to shrink a few hundred databases today.</p>
<p>The next talk was by Dean Richards from Confio, his talk was <em>&#8220;Tuna Helper for SQL Server DBA&#8217;s&#8221;. </em>I had no clue what the title was about and later fund out &#8216;tuna&#8217; was a play on the word &#8216;tuning&#8217;, so I can only assume Dean spent time in Boston at one point. As clever as the title was, the content inside was just as good, and so was Dean&#8217;s polished delivery. I am guessing he has spoken at least once or twice before. And during the talk he gave me a glimpse into &#8216;SQL Diagramming&#8217;, a concept he <a href="http://www.singingsql.com/index.html">attributed to Dan Tow</a>. If you already know about SQL Diagramming, then you are lucky. If you don&#8217;t, then get to know about it, because it is something that can make a marked improvement in performance.</p>
<p>The last talk as by Peter Tassmer, <em>&#8220;Storage Design for SQL Server&#8221;. </em>Peter gave a nice overview of how to tune your database server regardless if you are using DASD or SAN storage. His method of delivery was god as well, he could tell a story well enough and knew how to work the room. You could tell he had spoken before to large groups, and that he was comfortable with the material. While some of the details he shared were already familiar to me, he did raise my awareness for the need to define an acceptable iops threshold for an application and to measure against the iops periodically. If we are not getting the throughput we require, then we need to present our empirical evidence to our storage team and work together on a solution.</p>
<p>Overall I would say that the event was a smashing success. I only wish I had more time to spend learning and sharing knowledge with colleagues. I look forward to the next SQL Saturday and expect to present at that one.</p>
<p>Thanks to Adam and Grant for getting this event done.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=wFFui_WQuK8:4xZdhzPHnX0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=wFFui_WQuK8:4xZdhzPHnX0:Tlc60a-_mp0"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=Tlc60a-_mp0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=wFFui_WQuK8:4xZdhzPHnX0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=wFFui_WQuK8:4xZdhzPHnX0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?i=wFFui_WQuK8:4xZdhzPHnX0:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLRockstar/~4/wFFui_WQuK8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2010/02/sqlsaturday-34-recap/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://thomaslarock.com/2010/02/sqlsaturday-34-recap/</feedburner:origLink></item>
		<item>
		<title>Name That Caption Contest</title>
		<link>http://feedproxy.google.com/~r/SQLRockstar/~3/_MS4MPD-54g/</link>
		<comments>http://thomaslarock.com/2010/02/name-that-caption-contest/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:41:01 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3592</guid>
		<description><![CDATA[I am going to run a &#8220;Name That Caption&#8221; contest over at DBASurvivor.com, winner gets a copy of my upcoming book. Head over to http://dbasurvivor.com/?p=29 to learn more.
The book is on track to be released sometime next month. Between now and the actual release I want to have some fun. Also, I am going to [...]]]></description>
			<content:encoded><![CDATA[<p>I am going to run a &#8220;Name That Caption&#8221; contest over at <a href="http://dbasurvivor.com/">DBASurvivor.com</a>, winner gets a copy of my upcoming book. Head over to <a href="http://dbasurvivor.com/?p=29">http://dbasurvivor.com/?p=29</a> to learn more.</p>
<p>The book is on track to be released sometime next month. Between now and the actual release I want to have some fun. Also, I am going to get 20 copies and I can&#8217;t have them laying around my office just taking up space. So, I need to find ways to give them away.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=_MS4MPD-54g:IzL05eiXo0k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=_MS4MPD-54g:IzL05eiXo0k:Tlc60a-_mp0"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=Tlc60a-_mp0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=_MS4MPD-54g:IzL05eiXo0k:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=_MS4MPD-54g:IzL05eiXo0k:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?i=_MS4MPD-54g:IzL05eiXo0k:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLRockstar/~4/_MS4MPD-54g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2010/02/name-that-caption-contest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thomaslarock.com/2010/02/name-that-caption-contest/</feedburner:origLink></item>
		<item>
		<title>More Bing</title>
		<link>http://feedproxy.google.com/~r/SQLRockstar/~3/6DAX0bjJcKk/</link>
		<comments>http://thomaslarock.com/2010/01/more-bing/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 03:32:10 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Musings]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3565</guid>
		<description><![CDATA[I have no idea how this stuff keeps finding me, other than to think the Universe is really trying to tell me something. A while back I wrote about how I found out that the word &#8216;bing&#8217; means &#8216;disease&#8217; in Chinese. As with most of my cultural intake from China, I learned about this word [...]]]></description>
			<content:encoded><![CDATA[<p>I have no idea how this stuff keeps finding me, other than to think the Universe is really trying to tell me something. A while back <a href="http://thomaslarock.com/2009/07/microsoft-bing-bungled/">I wrote about</a> how I found out that the word &#8216;bing&#8217; means &#8216;disease&#8217; in Chinese. As with most of my cultural intake from China, I learned about this word from a fortune cookie. If you can believe this, I found myself eating Chinese for lunch yesterday. In Atlanta. Almost a thousand miles from where I found the original fortune. And at the end of my meal I get this:<a href="http://thomaslarock.com/wp-content/uploads/2010/01/bing-skating.jpg"><img class="alignleft size-medium wp-image-3564" style="margin-bottom: 5px; margin-right: 600px;" title="bing-skating" src="http://thomaslarock.com/wp-content/uploads/2010/01/bing-skating-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Clearly this is a sign. Why else would I keep getting fortunes with the word &#8216;bing&#8217; on them? And how many more can I expect to come across? How much more Chinese food must I consume to collect the entire set?</p>
<p>So, &#8217;bing&#8217; not only means disease, but it also means &#8216;cold&#8217;. But not cold as in &#8216;I have a cold&#8217;, which would logically follow along the idea of having  disease or sickness. No, this is more like cold as in ice. Which means to me that when I eventually visit China there is a good chance that I am going to order a Coke with ice only to get back a Coke with tuberculosis instead.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=6DAX0bjJcKk:85WpgjT80m8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=6DAX0bjJcKk:85WpgjT80m8:Tlc60a-_mp0"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=Tlc60a-_mp0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=6DAX0bjJcKk:85WpgjT80m8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=6DAX0bjJcKk:85WpgjT80m8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?i=6DAX0bjJcKk:85WpgjT80m8:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLRockstar/~4/6DAX0bjJcKk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2010/01/more-bing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thomaslarock.com/2010/01/more-bing/</feedburner:origLink></item>
		<item>
		<title>Presenting at Columbus SQL Server Users Group</title>
		<link>http://feedproxy.google.com/~r/SQLRockstar/~3/9fheoA3plds/</link>
		<comments>http://thomaslarock.com/2010/01/presenting-at-columbus-sql-server-users-group/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 15:25:53 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3539</guid>
		<description><![CDATA[Actually, it is more like I am presenting for the C-Bus UG, since I will not physically be at the Kid&#8217;s Battle in C-Bus when the talk is given. And the idea that kid&#8217;s are going to be fighting during my talk seems distracting, not to mention it makes C-Bus seem a little violent. So, I [...]]]></description>
			<content:encoded><![CDATA[<p>Actually, it is more like I am presenting <em>for</em> the C-Bus UG, since I will not physically be at the <a href="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=1160+Dublin+Rd,+Columbus,+OH+43215+(Battelle+For+Kids)&amp;sll=37.0625,-95.677068&amp;sspn=45.014453,84.550781&amp;ie=UTF8&amp;t=h&amp;z=16&amp;iwloc=A">Kid&#8217;s Battle</a> in C-Bus when the talk is given. And the idea that kid&#8217;s are going to be fighting during my talk seems distracting, not to mention it makes C-Bus seem a little violent. So, I hope my talk will bring peace to everyone if only for one night.</p>
<p>The title of the talk will be &#8220;DBA Survivor (or What to Expect When You Are Expecting to Be a DBA)&#8221;, and you can see more details <a href="http://columbus.sqlpass.org/">here</a>. The link for the LiveMeeting isn&#8217;t working right now, but I am sure once they are not distracted by all those screaming kids they will get it fixed so that it more resembles <a href="http://www.livemeeting.com/cc/usergroups/join?id=46S83H&amp;role=attend&amp;pw=n%3D8B9k%26%2BD">this link</a>.</p>
<p>As always, please&#8230;no wagering. And if you want to know more about <a href="http://www.amazon.com/gp/offer-listing/1430227877?ie=UTF8&amp;tag=sq0f-20&amp;linkCode=am2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1430227877">my book</a>, you can check out the <a href="http://dbasurvivor.com">DBA Survivor website</a> at <a href="http://dbasurvivor.com">http://dbasurvivor.com</a>.</p>
<p>If you have nothing else to do on February 11th set aside some time to learn how to survive life as a DBA and how you can thrive in your career. I&#8217;ll cover a lot of topics including how you get started on your first day as a DBA, how to get yourself organized, how to help manage expectations, and how to build relationships with others that will be key to your success.</p>
<p>Food and drinks will be provided, but not by me, and only for those physically in C-Bus that arrive on time.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=9fheoA3plds:B5dqFfNNxZ4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=9fheoA3plds:B5dqFfNNxZ4:Tlc60a-_mp0"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=Tlc60a-_mp0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=9fheoA3plds:B5dqFfNNxZ4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=9fheoA3plds:B5dqFfNNxZ4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?i=9fheoA3plds:B5dqFfNNxZ4:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLRockstar/~4/9fheoA3plds" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2010/01/presenting-at-columbus-sql-server-users-group/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://thomaslarock.com/2010/01/presenting-at-columbus-sql-server-users-group/</feedburner:origLink></item>
		<item>
		<title>Apple Tablet Price is Right</title>
		<link>http://feedproxy.google.com/~r/SQLRockstar/~3/geDVON1pwPs/</link>
		<comments>http://thomaslarock.com/2010/01/apple-tablet-price-is-right/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 14:48:41 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3545</guid>
		<description><![CDATA[Apple is about to launch a new product today and I thought we could have some fun guessing the initial price. Winner gets a copy of my upcoming book, DBA Survivor. The rules are very simple:

use the #tabletpriceisrightgame hashtag on Twitter, or leave a comment to this blog post
select a specific price. not a range [...]]]></description>
			<content:encoded><![CDATA[<p>Apple is about to launch a new product today and I thought we could have some fun guessing the initial price. Winner gets a copy of my upcoming book, <a href="http://dbasurvivor.com">DBA Survivor</a>. The rules are very simple:</p>
<ol>
<li>use the #tabletpriceisrightgame hashtag on Twitter, or leave a comment to this blog post</li>
<li>select a specific price. not a range of prices, an <em><span style="text-decoration: underline;">actual</span></em> price</li>
<li>winner is the one who comes closest <strong>without going over</strong></li>
<li>please select a unique price, otehrwise I will draw names to select one winner</li>
</ol>
<p>So far I have these entries:</p>
<ul>
<li>@caderoux $1</li>
<li>Chris $499</li>
<li>@crummel4 $598</li>
<li>@SQLChicken $599 plus your first born</li>
<li>@SQLKnight $666</li>
<li>@SQLBob $699</li>
<li>@jgardner04 $699</li>
<li>Betsy $750</li>
<li>@BrentO $797 for the base model, with a service agreement</li>
<li>@GratefulDBA $799</li>
<li>@CameronMergel $850</li>
<li>@wnylibrarian $895, case sold separately</li>
<li>@MladenPrajdic $899 (which is also my guess, but I will allow him to use it as well)</li>
<li>@tamaraclark $899 (a third guess for this price, apparently I wasn&#8217;t specific about guesses being unique)</li>
<li>@joechr309 $899.98</li>
<li>@Made2Mentor $900</li>
<li>@mikeSQL $901</li>
<li>@afernandez $999</li>
<li>@tdrepass $999</li>
<li>@Rougier $1099</li>
<li>@peschkaj $1199</li>
<li>@sqlinsaneo $1499</li>
<li>Debora $1657</li>
</ul>
<p>I had two other people make an attempt at a guess, but they are not specific enough to be valid entries at this time:</p>
<ul>
<li>@anthonydjames $899-$999</li>
<li>@GFritchey &#8220;at least&#8221; $1500</li>
</ul>
<p>I will ship a copy of <a href="http://dbasurvivor.com">my book</a>, once available, to the winner. Good luck!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=geDVON1pwPs:YoE87r2v0Xc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=geDVON1pwPs:YoE87r2v0Xc:Tlc60a-_mp0"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=Tlc60a-_mp0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=geDVON1pwPs:YoE87r2v0Xc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=geDVON1pwPs:YoE87r2v0Xc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?i=geDVON1pwPs:YoE87r2v0Xc:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLRockstar/~4/geDVON1pwPs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2010/01/apple-tablet-price-is-right/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		<feedburner:origLink>http://thomaslarock.com/2010/01/apple-tablet-price-is-right/</feedburner:origLink></item>
		<item>
		<title>Find Database Sizes With Operations Manager</title>
		<link>http://feedproxy.google.com/~r/SQLRockstar/~3/2EM8TOQpyeI/</link>
		<comments>http://thomaslarock.com/2010/01/find-database-sizes-with-operations-manager/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 12:23:50 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Operations Manager 2007]]></category>
		<category><![CDATA[SQLServerPedia Wiki]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=3517</guid>
		<description><![CDATA[I was asked last week if  knew a query that would return the size of the databases that have been discovered by Operations Manager. I went about digging through some old queries I put together and found the information that was requested.
Inside the OperationsManager database look for a view named MTV_Database. All discovered databases will [...]]]></description>
			<content:encoded><![CDATA[<p>I was asked last week if  knew a query that would return the size of the databases that have been discovered by Operations Manager. I went about digging through some old queries I put together and found the information that was requested.</p>
<p>Inside the OperationsManager database look for a view named MTV_Database. All discovered databases will be there. There should be a column for DatabaseSize, but the column will have a GUID at the end of the name.</p>
<p>Now, I forget where I found it, but a while back I came across one of the view definitions that helped me to return a lot of other information, such as SQL version. The view that has SQL version is named MTV_DBEngine, but in order to join the MTV_Database to the MTV_DBEngine I needed to add in a handful of relationship tables and filter on the BaseManagedTypeID. I was going mad trying to make everything work until I found that specific view definition and I don&#8217;t recall which one it is, but what I do have is the end result which I can share (your GUIDs will be different, I imagine):</p>
<p>SELECT *<br />
FROM [OperationsManager].[dbo].MT_Database T1<br />
LEFT JOIN [OperationsManager].[dbo].MT_Database_2 T2<br />
ON T1.BaseManagedEntityId = T2.BaseManagedEntityId<br />
LEFT JOIN [OperationsManager].[dbo].MT_Database_1 T3<br />
ON T1.BaseManagedEntityId = T3.BaseManagedEntityId<br />
LEFT JOIN [OperationsManager].[dbo].MT_Database_0 T4<br />
ON T1.BaseManagedEntityId = T4.BaseManagedEntityId<br />
LEFT JOIN [OperationsManager].[dbo].[Relationship] RT5<br />
ON (RT5.RelationshipTypeId = &#8216;328C1DCD-4AA5-9964-F3B6-0E607AE58416&#8242;<br />
AND RT5.TargetEntityId = T1.BaseManagedEntityId)<br />
LEFT JOIN [OperationsManager].[dbo].MTV_DBEngine T5<br />
ON RT5.SourceEntityId = T5.BaseManagedEntityId<br />
LEFT JOIN [OperationsManager].[dbo].[Relationship] RT6<br />
ON (RT6.RelationshipTypeId = &#8216;6284518A-90CC-FADD-E56B-26669E2A0A8F&#8217;<br />
AND RT6.TargetEntityId = T5.BaseManagedEntityId)<br />
LEFT JOIN [OperationsManager].[dbo].MTV_Computer T6<br />
ON RT6.SourceEntityId = T6.BaseManagedEntityId<br />
JOIN [OperationsManager].[dbo].BaseManagedEntity BME<br />
ON BME.BaseManagedEntityId = T1.BaseManagedEntityId<br />
WHERE BME.IsDeleted = 0<br />
AND BME.BaseManagedTypeId = &#8216;10C1C7F7-BA0F-5F9B-C74A-79A891170934&#8242;</p>
<p>I think what you want to do is first find the BaseManagedTypeId for the ‘Microsoft.SQLServer.Database’ entity (that is the one in my where clause). Not sure how I got those relationship GUIDs, I must have hunted for them manually at some point.</p>
<p>At any rate, the simplest answer is to query the MTV_Database view for the database size. Or you can modify some of the database state views to include the information, but I always like to know the T-SQL that is being done behind the scenes. It just makes me feel better knowing everything that is happening under the hood.</p>
<p>When you want to get more details about the instances, like version information, then you have to really dive into the relationships. The OpsMgr console can provide you with the information, but not always in the format you want, which means you may need to build your own T-SQL to get all the right details.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=2EM8TOQpyeI:0ld1d5NgcRo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=2EM8TOQpyeI:0ld1d5NgcRo:Tlc60a-_mp0"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=Tlc60a-_mp0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=2EM8TOQpyeI:0ld1d5NgcRo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLRockstar?a=2EM8TOQpyeI:0ld1d5NgcRo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/SQLRockstar?i=2EM8TOQpyeI:0ld1d5NgcRo:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLRockstar/~4/2EM8TOQpyeI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2010/01/find-database-sizes-with-operations-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://thomaslarock.com/2010/01/find-database-sizes-with-operations-manager/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.400 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-02-08 21:02:57 --><!-- Compression = gzip -->
