<?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; Uncategorized</title>
	<atom:link href="http://thomaslarock.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://thomaslarock.com</link>
	<description></description>
	<lastBuildDate>Wed, 23 May 2012 14:15:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Meme Monday for April</title>
		<link>http://thomaslarock.com/2012/04/meme-monday-for-april/</link>
		<comments>http://thomaslarock.com/2012/04/meme-monday-for-april/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 13:10:37 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=8421</guid>
		<description><![CDATA[I know it is a week late. Let&#8217;s just agree that I have been busy with other things. For those that are unaware, Meme Monday is where I assign a writing assignment for those that need to be given a topic to write about in order to help you blog more often. With Meme Monday posts you don&#8217;t [...]<p><p></p>
<a href="http://thomaslarock.com/2012/04/meme-monday-for-april/">Meme Monday for April</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://thomaslarock.com/2012/04/meme-monday-for-april/screen-shot-2012-04-04-at-9-01-12-am/" rel="attachment wp-att-8422"><img class="alignleft size-full wp-image-8422" title="Screen shot 2012-04-04 at 9.01.12 AM" src="http://thomaslarock.com/wp-content/uploads/2012/04/Screen-shot-2012-04-04-at-9.01.12-AM.png?9d7bd4" alt="Meme Monday for April" width="292" height="78" /></a>I know it is a week late. Let&#8217;s just agree that I have been busy with other things. For those that are unaware, Meme Monday is where I assign a writing assignment for those that need to be given a topic to write about in order to help you blog more often. With Meme Monday posts you don&#8217;t need to tag others, you don&#8217;t need to link back to this post, and you don&#8217;t have to wait to be tagged. Just start writing!</p>
<p>Here is your assignment for next week:</p>
<p>SQLCLR: Good? Or Evil?</p>
<p>Give an example of how you have used CLR, or seen CLR used well, or not so well. Tell us why you may have decided to not use CLR at all.</p>
<p>The issue I had with CLR is that when a developer would build a CLR object (say, a stored procedure) and then complain about lousy performance on the database side, we couldn&#8217;t see the code that was in the assembly. And we didn&#8217;t have access to the source code (because we weren&#8217;t developers), so we would have to walk over to the developers cube to look at the .NET code in order to try to decipher what was being done. This made performance tuning and troubleshooting rather difficult, if not impossible.</p>
<p>I still remember being at the MTC in Waltham and the Microsoft folks many years ago telling me about how wonderful CLR was going to be and my asking the simple question &#8220;yeah, so how do I help tune code and queries I can&#8217;t see?&#8221; The look on their faces was priceless. &#8220;You could get a refactoring tool&#8230;I guess&#8230;.we don&#8217;t know&#8230;why would you need to see it? It will execute just fine.&#8221;</p>
<p>Yeah. Just fine. Until it doesn&#8217;t run just fine. And then you need to fix it like a mechanic performing a tune-up in the dark with both hands behind their back.</p>
<p>Despite all of that I find CLR to be &#8220;mostly good&#8221;. I try to tell developers to use CLR any time they would be thinking of creating a .DLL for something. If whatever you are doing doesn&#8217;t need a .DLL, or an extended stored procedure, then you don&#8217;t need to be thinking about creating a CLR.</p>
<p>&nbsp;</p>
<p><p></p>
<a href="http://thomaslarock.com/2012/04/meme-monday-for-april/">Meme Monday for April</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
</p>
<div class="shr-publisher-8421"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/04/meme-monday-for-april/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>What Happened Here?</title>
		<link>http://thomaslarock.com/2012/03/what-happened-here/</link>
		<comments>http://thomaslarock.com/2012/03/what-happened-here/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 18:28:29 +0000</pubDate>
		<dc:creator>sqlrockstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[PAL]]></category>
		<category><![CDATA[performance tuning]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://thomaslarock.com/?p=8191</guid>
		<description><![CDATA[Last week I posted a puzzle of sorts. I showed you a handful of graphs from PAL and asked if anyone could determine what had happened. Out of all the comments that were left only a handful of people seemed to be on the right track, or showed a methodology in their thinking that should [...]<p><p></p>
<a href="http://thomaslarock.com/2012/03/what-happened-here/">What Happened Here?</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
</p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Last week I <a title="Why Is My Server Running Slow?" href="http://thomaslarock.com/2012/03/why-is-my-server-running-slow/" target="_blank">posted a puzzle of sorts</a>. I showed you a handful of graphs from PAL and asked if anyone could determine what had happened. Out of all the comments that were left only a handful of people seemed to be on the right track, or showed a methodology in their thinking that should have gotten them to the same conclusion.</p>
<p>The answer to the scenario last week is this: Someone ran a SELECT statement, and that statement needed to read pages from disk into memory, which flushed all the existing pages out.</p>
<p>There was no issue with hardware, there was no magic knob to turn to make performance better, or to have prevented any end user from running such a statement. The answer wasn&#8217;t complex, either. Just one user, running a valid query that needed to pull in a lot of data.</p>
<p>Sometimes, as a DBA, all you can do is educate. You are not always able to press a button to make problems go away completely.</p>
<p>Here is another one for you today. Can anyone explain what is happening here, and what actions a DBA would take when presented with these details&#8230;or if any action should be taken?</p>
<div id="attachment_8195" class="wp-caption alignleft" style="width: 677px"><a href="http://thomaslarock.com/2012/03/what-happened-here/pal_cps/" rel="attachment wp-att-8195"><img class="size-full wp-image-8195" title="pal_cps" src="http://thomaslarock.com/wp-content/uploads/2012/03/pal_cps.png?9d7bd4" alt="SQL Server: Buffer Manager/Checkpoint Pages/sec" width="667" height="588" /></a><p class="wp-caption-text">Checkpoint pages/sec</p></div>
<div id="attachment_8194" class="wp-caption alignleft" style="width: 677px"><a href="http://thomaslarock.com/2012/03/what-happened-here/pal_lps/" rel="attachment wp-att-8194"><img class=" wp-image-8194 " title="pal_lps" src="http://thomaslarock.com/wp-content/uploads/2012/03/pal_lps.png?9d7bd4" alt="SQL Server: Buffer Manager/Lazy Writes/sec" width="667" height="588" /></a><p class="wp-caption-text">Lazy Writes/sec</p></div>
<div id="attachment_8193" class="wp-caption alignleft" style="width: 677px"><a href="http://thomaslarock.com/2012/03/what-happened-here/pal_pws/" rel="attachment wp-att-8193"><img class=" wp-image-8193 " title="pal_pws" src="http://thomaslarock.com/wp-content/uploads/2012/03/pal_pws.png?9d7bd4" alt="SQL Server: Buffer Manager/Page Writes/sec" width="667" height="588" /></a><p class="wp-caption-text">Page Writes/sec</p></div>
<p>Leave your thoughts and answers in the comments, I would love to hear what you believe is happening to my server.</p>
<p><p></p>
<a href="http://thomaslarock.com/2012/03/what-happened-here/">What Happened Here?</a> is a post from: <a href="http://thomaslarock.com">SQLRockstar | Thomas LaRock</a>
<p></p>
</p>
<div class="shr-publisher-8191"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://thomaslarock.com/2012/03/what-happened-here/feed/</wfw:commentRss>
		<slash:comments>4</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 10/12 queries in 0.002 seconds using disk: basic
Object Caching 725/725 objects using disk: basic

Served from: thomaslarock.com @ 2012-05-23 10:54:14 -->
