<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>The Lone DBA</title>
	<atom:link href="http://thelonedba.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thelonedba.wordpress.com</link>
	<description>SQL Server odds and ends</description>
	<lastBuildDate>Tue, 24 Jan 2012 15:23:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='thelonedba.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>The Lone DBA</title>
		<link>http://thelonedba.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://thelonedba.wordpress.com/osd.xml" title="The Lone DBA" />
	<atom:link rel='hub' href='http://thelonedba.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Waitresource Key</title>
		<link>http://thelonedba.wordpress.com/2012/01/24/waitresource-key/</link>
		<comments>http://thelonedba.wordpress.com/2012/01/24/waitresource-key/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 15:23:38 +0000</pubDate>
		<dc:creator>thomasrushton</dc:creator>
				<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://thelonedba.wordpress.com/?p=730</guid>
		<description><![CDATA[I was watching a server this morning, making sure that there was nothing untoward going on, and I caught sight of a LCK_M_S waittype with a very long number in the Resource column: KEY: 26:72057594819903488 (6b0068a71fb9). I watched a bit &#8230; <a href="http://thelonedba.wordpress.com/2012/01/24/waitresource-key/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=730&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was watching a server this morning, making sure that there was nothing untoward going on, and I caught sight of a LCK_M_S waittype with a very long number in the Resource column:</p>
<pre>KEY: 26:72057594819903488 (6b0068a71fb9).</pre>
<p>I watched a bit longer, and every time that LCK_M_S waittype came up, it was associated with the same KEY value.  But what does that value represent?</p>
<p>Well, the 26 is the database ID.  But what about that big number?  According to the MS KB article (KB 224453) on &#8220;<a title="KB 224453" href="http://support.microsoft.com/kb/224453/" target="_blank">Understanding and resolving SQL Server blocking problems</a>&#8220;, that is something called a hobt_id (or &#8220;hash value for index key&#8221;).  The good news is that it&#8217;s simple to find out what that refers to.  Simply run the following query:</p>
<pre>SELECT * FROM sys.partitions
WHERE hobt_id = &lt;&lt;long number&gt;&gt;</pre>
<p>Here we have the object ID and index ID that are causing issues.</p>
<p>DBCC doesn&#8217;t throw up any issues; the indexes are OK; the table itself is small(ish) &#8211; approx 30k rows.  I think all that was happening was that that particular table was getting hammered during a bulk upload.</p>
<br />Filed under: <a href='http://thelonedba.wordpress.com/category/sqlserverpedia-syndication/'>SQLServerPedia Syndication</a> Tagged: <a href='http://thelonedba.wordpress.com/tag/performance/'>Performance</a>, <a href='http://thelonedba.wordpress.com/tag/sql-server-2005/'>SQL Server 2005</a>, <a href='http://thelonedba.wordpress.com/tag/sql-server-2008/'>SQL Server 2008</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thelonedba.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thelonedba.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thelonedba.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thelonedba.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thelonedba.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thelonedba.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thelonedba.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thelonedba.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thelonedba.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thelonedba.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thelonedba.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thelonedba.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thelonedba.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thelonedba.wordpress.com/730/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=730&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thelonedba.wordpress.com/2012/01/24/waitresource-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68f3945bf478970197d593c700ed353f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasrushton</media:title>
		</media:content>
	</item>
		<item>
		<title>2011 in review</title>
		<link>http://thelonedba.wordpress.com/2012/01/01/2011-in-review/</link>
		<comments>http://thelonedba.wordpress.com/2012/01/01/2011-in-review/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 09:04:23 +0000</pubDate>
		<dc:creator>thomasrushton</dc:creator>
				<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://thelonedba.wordpress.com/?p=728</guid>
		<description><![CDATA[The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog. Here&#8217;s an excerpt: A New York City subway train holds 1,200 people. This blog was viewed about 5,300 times in 2011. If it were a NYC subway &#8230; <a href="http://thelonedba.wordpress.com/2012/01/01/2011-in-review/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=728&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.</p>
<div style="background:url('/wp-content/mu-plugins/annual-reports/img/emailteaser.jpg') no-repeat center center;height:300px;"></div>
<p>Here&#8217;s an excerpt:</p>
<blockquote><p>A New York City subway train holds 1,200 people. This blog was viewed about <strong>5,300</strong> times in 2011. If it were a NYC subway train, it would take about 4 trips to carry that many people.</p></blockquote>
<p><a href="/2011/annual-report/">Click here to see the complete report.</a></p>
<br />Filed under: <a href='http://thelonedba.wordpress.com/category/sqlserverpedia-syndication/'>SQLServerPedia Syndication</a> Tagged: <a href='http://thelonedba.wordpress.com/tag/wordpress/'>WordPress</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thelonedba.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thelonedba.wordpress.com/728/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thelonedba.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thelonedba.wordpress.com/728/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thelonedba.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thelonedba.wordpress.com/728/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thelonedba.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thelonedba.wordpress.com/728/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thelonedba.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thelonedba.wordpress.com/728/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thelonedba.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thelonedba.wordpress.com/728/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thelonedba.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thelonedba.wordpress.com/728/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=728&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thelonedba.wordpress.com/2012/01/01/2011-in-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68f3945bf478970197d593c700ed353f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasrushton</media:title>
		</media:content>
	</item>
		<item>
		<title>Non-Production Servers &#8211; SIMPLE recovery?</title>
		<link>http://thelonedba.wordpress.com/2011/12/22/non-production-servers-simple-recovery/</link>
		<comments>http://thelonedba.wordpress.com/2011/12/22/non-production-servers-simple-recovery/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 20:56:49 +0000</pubDate>
		<dc:creator>thomasrushton</dc:creator>
				<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://thelonedba.wordpress.com/?p=709</guid>
		<description><![CDATA[Speaking of putting databases into SIMPLE recovery mode&#8230; This post is based on what I use on non-production (eg for QA, or UAT) replicas of production environments &#8211; the sort of thing where you need the data, but don&#8217;t need &#8230; <a href="http://thelonedba.wordpress.com/2011/12/22/non-production-servers-simple-recovery/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=709&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Speaking of <a href="http://thelonedba.wordpress.com/2011/11/01/adventures-with-dbcc-and-database-upgrades/">putting databases into SIMPLE recovery mode</a>&#8230;</p>
<p>This post is based on what I use on non-production (eg for QA, or UAT) replicas of production environments &#8211; the sort of thing where you need the data, but don&#8217;t need to maintain it or do backups.</p>
<p>If you have to set up this sort of environment regularly, then the chances are that you&#8217;re doing it by restoring database backups from production.  These databases will almost certainly be in &#8220;FULL&#8221; recovery so you are able to recover in the event of a disaster.  (You *are* remembering to backup your transaction logs, right?) If you leave a database in &#8220;FULL&#8221; recovery, but don&#8217;t schedule a regular transaction log backup, then you will find that the transaction log grows.  And grows.  And eats your hard disk (I&#8217;m assuming that you&#8217;ve kept the disk space tight on these environments, because your storage guys won&#8217;t give you enough storage to directly match production&#8230;  mine didn&#8217;t.)</p>
<p>If you build this environment by restoring databases from production, as well as restoring the data, you&#8217;re also restoring the database settings from within the database, and one of those is the <a title="SQL Server Recovery Models" href="http://msdn.microsoft.com/en-us/library/ms189275.aspx" target="_blank">recovery model</a>. Which is most likely to be &#8220;FULL&#8221; recovery.</p>
<p>So what I do is implement a scheduled job on each of these servers to run the following little bit of SQL every night:</p>
<p><code>declare @SQL varchar(max)<br />
SET @SQL=''<br />
SELECT @SQL = @SQL + 'alter database [' + name + '] SET RECOVERY SIMPLE'<br />
        + char(13) + char(10)<br />
FROM sys.databases<br />
WHERE recovery_model_desc &lt;&gt; 'SIMPLE'<br />
EXEC (@SQL)</code></p>
<p>A few features worth mentioning:</p>
<p>(1) change the <code>varchar(max)</code> to <code>varchar(8000)</code> for SQL Server 2000 &#8211; this should be enough, unless you&#8217;ve got a *huge* number of databases to deal with.  Anyway, <strong>why</strong> are you still running SQL Server 2000?</p>
<p>(2) Rather than looping through every database with a CURSOR or a WHILE loop, we&#8217;re using a single SELECT statement to build up a string containing the appropriate commands.</p>
<p>(3) we&#8217;re only looking at the databases that aren&#8217;t already in SIMPLE recovery, so we won&#8217;t get error messages for trying to set master or tempdb to SIMPLE.</p>
<p>(4) If you have strangely-named databases (eg anything with a &#8220;-&#8221; or a space), you&#8217;ll probably need the square brackets shown above</p>
<p>(5) Note also that the EXEC command has the @SQL parameter in parentheses. This is a classic &#8220;Gotcha&#8221; brought about by <a title="EXEC in SQL Server - MSDN" href="http://msdn.microsoft.com/en-us/library/ms188332.aspx" target="_blank">EXEC</a> having two sets of syntaxes &#8211; without parentheses (for calling a stored procedure), or with parentheses (for passing a string to be executed). If you get that wrong and omit the parentheses from the Exec (@SQL) line, then you&#8217;ll see an error message such as this:</p>
<p><code style="color:red;">Msg 203, Level 16, State 2, Line 10<br />
The name 'alter database [DBName1] SET RECOVERY SIMPLE<br />
alter database [DBName2] SET RECOVERY SIMPLE<br />
' is not a valid identifier.</code></p>
<p>Job done. One less thing to worry about (or should that be &#8220;one fewer thing (or things) to worry about&#8221;? Damn. Now I&#8217;m worrying about that instead&#8230;)</p>
<br />Filed under: <a href='http://thelonedba.wordpress.com/category/sqlserverpedia-syndication/'>SQLServerPedia Syndication</a> Tagged: <a href='http://thelonedba.wordpress.com/tag/backup/'>Backup</a>, <a href='http://thelonedba.wordpress.com/tag/maintenance/'>Maintenance</a>, <a href='http://thelonedba.wordpress.com/tag/t-sql/'>T-SQL</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thelonedba.wordpress.com/709/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thelonedba.wordpress.com/709/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thelonedba.wordpress.com/709/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thelonedba.wordpress.com/709/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thelonedba.wordpress.com/709/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thelonedba.wordpress.com/709/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thelonedba.wordpress.com/709/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thelonedba.wordpress.com/709/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thelonedba.wordpress.com/709/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thelonedba.wordpress.com/709/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thelonedba.wordpress.com/709/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thelonedba.wordpress.com/709/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thelonedba.wordpress.com/709/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thelonedba.wordpress.com/709/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=709&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thelonedba.wordpress.com/2011/12/22/non-production-servers-simple-recovery/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68f3945bf478970197d593c700ed353f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasrushton</media:title>
		</media:content>
	</item>
		<item>
		<title>Red Gate &#8211; SQL Index Manager &#8211; Beta</title>
		<link>http://thelonedba.wordpress.com/2011/12/16/red-gate-sql-index-manager-beta/</link>
		<comments>http://thelonedba.wordpress.com/2011/12/16/red-gate-sql-index-manager-beta/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 14:30:25 +0000</pubDate>
		<dc:creator>thomasrushton</dc:creator>
				<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Indexing]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[red-gate]]></category>

		<guid isPermaLink="false">http://thelonedba.wordpress.com/?p=698</guid>
		<description><![CDATA[Once again, those lovely chaps at Red Gate have come up with a new tool for the DBA &#8211; SQL Index Manager, and Grant &#8220;Scary&#8221; Fritchey (blog&#124;twitter) has even done a video about it on YouTube. So, let&#8217;s download it &#8230; <a href="http://thelonedba.wordpress.com/2011/12/16/red-gate-sql-index-manager-beta/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=698&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.red-gate.com"><img class="alignright" title="Red Gate" src="http://www.red-gate.com/assets/images/common/logo.png?v=2" alt="Red Gate logo" width="180" height="78" /></a>Once again, those lovely chaps at <a title="Red Gate" href="http://www.red-gate.com/" target="_blank">Red Gate</a> have come up with a new tool for the DBA &#8211; <a title="SQL Index Manager by Red Gate" href="http://www.red-gate.com/products/dba/sql-index-manager/" target="_blank">SQL Index Manager</a>, and Grant &#8220;Scary&#8221; Fritchey (<a title="ScaryDBA's blog" href="http://www.scarydba.com/" target="_blank">blog</a>|<a title="Grant on Twitter" href="http://twitter.com/#!/gfritchey" target="_blank">twitter</a>) has even done a <a title="Grant's video on SQL Index Manager" href="http://www.youtube.com/watch?v=Hm8UGedEQDw" target="_blank">video</a> about it on YouTube.</p>
<p>So, let&#8217;s download it and fire it up.</p>
<p><a href="http://thelonedba.files.wordpress.com/2011/12/redgate-index-manager-loading.png"><img class="aligncenter size-full wp-image-699" title="Redgate Index manager loading" src="http://thelonedba.files.wordpress.com/2011/12/redgate-index-manager-loading.png?w=640&#038;h=362" alt="" width="640" height="362" /></a>I&#8217;ve obscured the name of the server I&#8217;m connecting to&#8230;</p>
<p>Shortly after starting the tool, it has analyzed all the databases on that server to which I have access, and returns the results:</p>
<p><a href="http://thelonedba.files.wordpress.com/2011/12/redgate-index-manager-results.png"><img class="aligncenter size-full wp-image-700" title="Redgate Index manager results" src="http://thelonedba.files.wordpress.com/2011/12/redgate-index-manager-results.png?w=640&#038;h=362" alt="" width="640" height="362" /></a></p>
<p>As you can see, there are two options for action &#8211; <a title="Rebuild vs Reorganize - Microsoft TechNet" href="http://technet.microsoft.com/en-us/library/ms189858.aspx" target="_blank">&#8220;Rebuild&#8221; or &#8220;Reorganize&#8221;</a>.  Click on those problems that you would like to fix, and hit the &#8220;Fix Indexes&#8221; button.  This gives you the option to run the recommended actions immediately, or will give you the SQL script so you can run it as &amp; when you want.  If you click &#8220;Fix Now&#8221;, it&#8217;ll take you to the results grid where you can see what&#8217;s going on.</p>
<p>And that&#8217;s it &#8211; nice and easy.</p>
<p>However&#8230;</p>
<p>As it stands, there are no options to change behaviour (eg by setting up your own thresholds, or just selecting one database to scan).  As such, this feels either like an early Beta, or a tool that is aimed more at the &#8220;accidental&#8221; or new DBA.</p>
<p>The thing that I find confusing is also the &#8220;Index fragmentation %&#8221; &#8211; I would (personally) have assumed that a higher number is indicative of a more fragmented index, but apparently this tool thinks otherwise.  Checking the TechNet documentation linked above indicates that MS seems to be on my side&#8230;</p>
<p>There are a few other behavioural hiccups that need addressing, and I&#8217;ve sent a little list to send back to Red Gate.  You can help too &#8211; download the free beta, play with it, and use the &#8220;Give feedback&#8221; button to, erm, give feedback via email.</p>
<p>And now to see if it&#8217;ll play nicely with SQL Server 2000&#8230; I may be some time&#8230;Game over rather quickly. Heigh ho.</p>
<p><a href="http://thelonedba.files.wordpress.com/2011/12/redgate-index-manager-vs-sql2000.png"><img class="alignnone size-full wp-image-701" title="Redgate Index Manager vs SQL2000" src="http://thelonedba.files.wordpress.com/2011/12/redgate-index-manager-vs-sql2000.png?w=640" alt=""   /></a></p>
<p>Bother.</p>
<br />Filed under: <a href='http://thelonedba.wordpress.com/category/sqlserverpedia-syndication/'>SQLServerPedia Syndication</a> Tagged: <a href='http://thelonedba.wordpress.com/tag/indexing/'>Indexing</a>, <a href='http://thelonedba.wordpress.com/tag/maintenance/'>Maintenance</a>, <a href='http://thelonedba.wordpress.com/tag/red-gate/'>red-gate</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thelonedba.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thelonedba.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thelonedba.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thelonedba.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thelonedba.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thelonedba.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thelonedba.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thelonedba.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thelonedba.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thelonedba.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thelonedba.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thelonedba.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thelonedba.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thelonedba.wordpress.com/698/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=698&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thelonedba.wordpress.com/2011/12/16/red-gate-sql-index-manager-beta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68f3945bf478970197d593c700ed353f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasrushton</media:title>
		</media:content>

		<media:content url="http://www.red-gate.com/assets/images/common/logo.png?v=2" medium="image">
			<media:title type="html">Red Gate</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/12/redgate-index-manager-loading.png" medium="image">
			<media:title type="html">Redgate Index manager loading</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/12/redgate-index-manager-results.png" medium="image">
			<media:title type="html">Redgate Index manager results</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/12/redgate-index-manager-vs-sql2000.png" medium="image">
			<media:title type="html">Redgate Index Manager vs SQL2000</media:title>
		</media:content>
	</item>
		<item>
		<title>My Library vs Technology &#8211; The KindleDX</title>
		<link>http://thelonedba.wordpress.com/2011/11/28/my-library-vs-technology-the-kindledx/</link>
		<comments>http://thelonedba.wordpress.com/2011/11/28/my-library-vs-technology-the-kindledx/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 22:21:26 +0000</pubDate>
		<dc:creator>thomasrushton</dc:creator>
				<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Kindle]]></category>
		<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://thelonedba.wordpress.com/?p=687</guid>
		<description><![CDATA[As you may be aware from elsewhere on these pages, I carry a large box of books from office to office; the collection has recently outgrown its box, and I&#8217;ve been wondering about Going Digital. I&#8217;ve tried a couple of &#8230; <a href="http://thelonedba.wordpress.com/2011/11/28/my-library-vs-technology-the-kindledx/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=687&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_445" class="wp-caption alignright" style="width: 250px"><a href="http://thelonedba.wordpress.com/sql-server-bookshelf/"><img class=" wp-image-445  " title="SQL Bookshelf" src="http://thelonedba.files.wordpress.com/2010/12/sqlbookshelf.jpg?w=240&#038;h=143" alt="" width="240" height="143" /></a><p class="wp-caption-text">That photo was taken six months ago - I&#039;ve bought a few more books since then.</p></div>
<p>As you may be aware from <a title="SQL Server Bookshelf" href="http://thelonedba.wordpress.com/sql-server-bookshelf/">elsewhere on these pages</a>, I carry a large box of books from office to office; the collection has recently outgrown its box, and I&#8217;ve been wondering about Going Digital.</p>
<p>I&#8217;ve tried a couple of eReaders at conferences and in the office, without being convinced &#8211; the small screen size has just never seemed big enough for technical books. However, the Kindle DX did catch my eye as being a possible device. But, oh my, the price. US$360 + shipping + import taxes.</p>
<p>And then. Thanksgiving.</p>
<p>I was suckered by Amazon&#8217;s &#8220;Black Friday&#8221; sale, and got the Kindle DX at significant money off. Still not cheap, though. It arrived today (very quick &#8211; can&#8217;t imagine ParcelForce managing to ship anything fragile unharmed several thousand miles over a holiday weekend). I spent a few minutes downloading all the books I could get my hands on from the <a title="Red Gate Bookstore" href="http://www.red-gate.com/our-company/about/book-store/" target="redgate">Red Gate bookstore</a>, and I also dropped a few bucks in the Apress pot during their sale of eBooks, and picked up those books named in the SQL Server MCM reading list, as recommended by Gavin Payne (<a title="Gavin's blog" href="http://gavinpayneuk.com/" target="_blank">blog</a>|<a title="Gavin on Twitter" href="http://twitter.com/#!/gavinpayneuk" target="_blank">twitter</a>) and Mark Broadbent (<a title="Mark's blog" href="http://tenbulls.co.uk/" target="_blank">blog</a>|<a title="Mark on Twitter" href="http://twitter.com/#!/retracement" target="_blank">twitter</a>).</p>
<p>First impressions: this is good. The DX arrived pre-registered to my Amazon account. Unfortunately, my Amazon.com account rather than the .co.uk one, but that took all of a minute to fix, and at that point, it picked up my Kindle archive (from when I had been trying out the software on my Android phone&#8230;)</p>
<p>Plugging the Kindle in to charge wasn&#8217;t quite so impressive &#8211; the cable feels a bit flimsy; it&#8217;s a standard USB cable, so don&#8217;t bother buying the separate charger. But that&#8217;s the only gripe from the quality / feel perspective. There is other weirdness when you change page, where there seems to be a couple of inversions &#8211; black becoming white, and vice versa &#8211; before the new page settles down. It only takes a moment, and isn&#8217;t limited to page changes in PDFs &#8211; it seems to happen whenever there&#8217;s a full-page refresh, such as moving between pages of the book index, or navigating the settings.</p>
<p>The Kindle appears on the PC as another external hard drive, with about 3.3GB free space. Should be enough for a few books&#8230;  And, while you can set up categories within your Kindle library, it doesn&#8217;t appear to be possible to drop new documents straight into the category.  (Note that I haven&#8217;t yet tried dropping documents into a separate directory within the documents directory, but the Kindle documentation isn&#8217;t encouraging &#8211; I guess that&#8217;s the flip side of being able to maintain collections across multiple devices.)</p>
<div id="attachment_693" class="wp-caption alignright" style="width: 189px"><a href="http://thelonedba.files.wordpress.com/2011/11/imag0497.jpg"><img class="size-medium wp-image-693" title="Kindle DX in action" src="http://thelonedba.files.wordpress.com/2011/11/imag0497.jpg?w=179&#038;h=300" alt="" width="179" height="300" /></a><p class="wp-caption-text">Very bad photo - I apologise - but all text is readable without difficulty - trust me!</p></div>
<p>So you can see a very bad comparison, check page 8 of <a href="http://www.red-gate.com/our-company/about/book-store/sql-server-statistics" target="redgate">Schmeling&#8217;s &#8220;SQL Server Statistics&#8221;</a>, from the Red Gate bookstore. This is very easy to read on the DX&#8217;s screen (but the photo doesn&#8217;t do it justice &#8211; cheapo camera on the phone&#8230;). The only slight problems I have is reading all of the code samples, such as on p7, where the magenta &amp; red colours don&#8217;t survive the translation to grey shades very well. It is readable, but you wouldn&#8217;t want to copy-type at speed.</p>
<p>In summary: The Kindle DX experience is almost all good &#8211; so far. Big screen makes for readable diagrams within the body of the text.  Easy to use.  Now all I have to do is keep it away from a certain small boy&#8217;s sticky fingers&#8230;</p>
<br />Filed under: <a href='http://thelonedba.wordpress.com/category/sqlserverpedia-syndication/'>SQLServerPedia Syndication</a> Tagged: <a href='http://thelonedba.wordpress.com/tag/books/'>Books</a>, <a href='http://thelonedba.wordpress.com/tag/kindle/'>Kindle</a>, <a href='http://thelonedba.wordpress.com/tag/library/'>Library</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thelonedba.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thelonedba.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thelonedba.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thelonedba.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thelonedba.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thelonedba.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thelonedba.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thelonedba.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thelonedba.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thelonedba.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thelonedba.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thelonedba.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thelonedba.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thelonedba.wordpress.com/687/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=687&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thelonedba.wordpress.com/2011/11/28/my-library-vs-technology-the-kindledx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68f3945bf478970197d593c700ed353f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasrushton</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2010/12/sqlbookshelf.jpg?w=300" medium="image">
			<media:title type="html">SQL Bookshelf</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/11/imag0497.jpg?w=179" medium="image">
			<media:title type="html">Kindle DX in action</media:title>
		</media:content>
	</item>
		<item>
		<title>How long before that backup completes?</title>
		<link>http://thelonedba.wordpress.com/2011/11/23/how-long-before-that-backup-completes/</link>
		<comments>http://thelonedba.wordpress.com/2011/11/23/how-long-before-that-backup-completes/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 09:02:45 +0000</pubDate>
		<dc:creator>thomasrushton</dc:creator>
				<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[DMV]]></category>
		<category><![CDATA[MSDB]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://thelonedba.wordpress.com/?p=664</guid>
		<description><![CDATA[An early start this morning, as I need to back up a big reporting database before the guys at work start running some heavy optimisation process to rationalise and compress the data.  However, I don&#8217;t necessarily know how long the &#8230; <a href="http://thelonedba.wordpress.com/2011/11/23/how-long-before-that-backup-completes/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=664&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>An early start this morning, as I need to back up a big reporting database before the guys at work start running some heavy optimisation process to rationalise and compress the data.  However, I don&#8217;t necessarily know how long the backup is going to take.</p>
<h2>Previous Performance&#8230;</h2>
<p>It&#8217;s relatively straightforward to see how long a scheduled task has taken in the past &#8211; take a look at the <a href="http://msdn.microsoft.com/en-us/library/ms174997.aspx" target="MSDN"><code>sysjobhistory</code></a> table in the <code>MSDB</code> database.  That is, after all, what the SQL Server Management Studio Job History section of the Log File Viewer GUI does.  A simple query here would be:</p>
<pre>SELECT
    step_id,
    step_name,
    run_status,
    run_date,
    run_time,
    run_duration
FROM
    sysjobhistory
WHERE
    job_id = (
                SELECT job_id
                FROM sysjobs
                WHERE name = 'User Databases - Full Backup') -- change this to match your job name
ORDER BY
    run_date,
    run_time,
    step_id</pre>
<p>The above query brings back the following results (edited for brevity):<br />
<a href="http://thelonedba.files.wordpress.com/2011/11/backuphistory1.png"><img src="http://thelonedba.files.wordpress.com/2011/11/backuphistory1.png?w=640" alt="" title="Backup History"   class="alignnone size-full wp-image-671" /></a><br />
Note that the <code>run_date</code>, <code>run_time</code> and <code>run_duration</code> fields are integer representations of the actual date.  The <code>run_date</code> field is giving us an eight digit number with the date the job step started as yyyymmdd; <code>run_time</code> field is a six digit number (you&#8217;ll have to imagine the leading zero(s) if it&#8217;s only showing fewer than six digits) with the time at which the job step started as hhmmss; <code>run_duration</code> is encoded similar to <code>run_time</code>.  Not helpful for doing any meaningful maths on without slicing &amp; dicing first.  And I have no idea what the <code>run_duration</code> field looks like if a job runs for longer than a day, and the <a href="http://msdn.microsoft.com/en-us/library/ms174997.aspx" target="MSDN">MSDN page referenced above</a> likewise seems to think it&#8217;s not an option&#8230;</p>
<p>[Incidentally, Jonathan "FatherJack" Allen (<a href="http://www.simple-talk.com/community/blogs/jonathanallen/" target="simpletalk">blog</a>|<a href="http://www.twitter.com/fatherjack" target="twitter">twitter</a>) has raised a <a href="https://connect.microsoft.com/SQLServer/feedback/details/687492/change-datatype-in-sysjobshistory" target="_blank">Connect item with Microsoft</a> to try to get them to change this...  Please vote for it!]</p>
<p>Results here indicate that the Backup Databases step takes anywhere between 38:54 and 40:02.  The thing to bear in mind here is that your backup job may also include a step to verify the backup.  Mine does.  And that the backup step may be backing up multiple databases &#8211; in this case, I&#8217;m backing up 17 databases, only one of which is of any significant size. </p>
<p>If you&#8217;re only interested in the backup time, then you could also take a look at a previous backup file.  (You can see that the database I&#8217;m looking at is pretty much static, given the size of the differential backups.)</p>
<p><a href="http://thelonedba.files.wordpress.com/2011/11/backupfiles.png"><img src="http://thelonedba.files.wordpress.com/2011/11/backupfiles.png?w=640&#038;h=206" alt="" title="Backup Files" width="640" height="206" class="alignnone size-full wp-image-667" /></a><br />
<small><small><small>Disclaimer: there is a regular backup job, honest!  It&#8217;s just I&#8217;ve had to do a few extras recently&#8230;</small></small></small></p>
<p>Here, we can see that the difference between the file creation date and the file modified date (ie the time at which the backup was completed) is between 33 and 34 minutes.</p>
<h2>&#8230;Is No Guarantee Of Future Performance</h2>
<p>Of course, none of these &#8220;guesstimates&#8221; may be available to you.  Or the dataset could have changed significantly since the last full backup.  What do we do then?</p>
<p>We can query the <a href="http://msdn.microsoft.com/en-us/library/ms177648.aspx" target="MSDN"><code>sys.dm_exec_requests</code></a> DMV.  Go on &#8211; take a look.  You&#8217;ll see a lot of useful information about what queries are running and the most recent query for a spid that&#8217;s not currently running anything.  What I&#8217;m interested in, however, is running a query like this:</p>
<pre>SELECT
    start_time,
    percent_complete,
    estimated_completion_time,
    DATEADD(ms, estimated_completion_time, GETDATE()) AS ETA,
    GETDATE() AS Current_DateTime,
    command,
    DB_NAME(database_id) AS Database_Name
FROM
    sys.dm_exec_requests
WHERE
    command LIKE 'BACKUP%'</pre>
<p>Here, I&#8217;m getting information about all <code>BACKUP</code> statements currently running.  Most of what I&#8217;m selecting is self-explanatory, except be aware that the <code>estimated_completion_time</code> field is a millisecond countdown of the time remaining, so I&#8217;m adding that to the current system date/time (which I&#8217;m also showing, in case you&#8217;re not in the same timezone as your server).  The DMV also provides the database ID rather than the database name&#8230;  but that&#8217;s easy to fix with that cal to the <code>DB_NAME()</code> function.  I&#8217;m lucky in that the backup software (Quest &#8211; see below) I&#8217;m using does seem to switch to the database being backed up.</p>
<p>The query above gives us the following:<br />
<a href="http://thelonedba.files.wordpress.com/2011/11/backupremainingtime1.png"><img src="http://thelonedba.files.wordpress.com/2011/11/backupremainingtime1.png?w=640&#038;h=72" alt="" title="Backup Remaining Time - half way" width="640" height="72" class="alignnone size-full wp-image-675" /></a><br />
As you can see, the ETA does hunt around a bit<br />
<a href="http://thelonedba.files.wordpress.com/2011/11/backupremainingtime2.png"><img src="http://thelonedba.files.wordpress.com/2011/11/backupremainingtime2.png?w=640&#038;h=78" alt="" title="Backup Remaining Time - Nearly there" width="640" height="78" class="alignnone size-full wp-image-676" /></a><br />
but is pretty accurate in the later stages<br />
<a href="http://thelonedba.files.wordpress.com/2011/11/backupremainingtime3.png"><img src="http://thelonedba.files.wordpress.com/2011/11/backupremainingtime3.png?w=640&#038;h=81" alt="" title="Backup Remaining Time - So Close" width="640" height="81" class="alignnone size-full wp-image-677" /></a></p>
<h2>Background Information</h2>
<p>If you think these figures are slower than they might be, then you&#8217;re right.  I&#8217;m backing up a 240(ish)GB database using <a href="http://www.quest.com/litespeed-for-sql-server/" target="Quest">Quest Software&#8217;s LiteSpeed for SQL Server</a>, with maximum compression and encryption.  The backup is simultaneously being written out to another datacenter.  The server is not new and the disk layout is, erm, &#8220;sub-optimal&#8221;.</p>
<p>The size of data being backed up?  Well, the database&#8217;s MDF is around 240GB; there&#8217;s about 140GB of actual data and 100GB of slack space (the optimisation process does some weird things).  And, as you can see in the screenshot from Windows Explorer earlier on in this post, that&#8217;s being backed up to a 10GB file.</p>
<h2>Job done</h2>
<p>&#8230;back to work.</p>
<br />Filed under: <a href='http://thelonedba.wordpress.com/category/sqlserverpedia-syndication/'>SQLServerPedia Syndication</a> Tagged: <a href='http://thelonedba.wordpress.com/tag/backup/'>Backup</a>, <a href='http://thelonedba.wordpress.com/tag/dmv/'>DMV</a>, <a href='http://thelonedba.wordpress.com/tag/msdb/'>MSDB</a>, <a href='http://thelonedba.wordpress.com/tag/t-sql/'>T-SQL</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thelonedba.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thelonedba.wordpress.com/664/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thelonedba.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thelonedba.wordpress.com/664/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thelonedba.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thelonedba.wordpress.com/664/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thelonedba.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thelonedba.wordpress.com/664/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thelonedba.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thelonedba.wordpress.com/664/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thelonedba.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thelonedba.wordpress.com/664/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thelonedba.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thelonedba.wordpress.com/664/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=664&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thelonedba.wordpress.com/2011/11/23/how-long-before-that-backup-completes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68f3945bf478970197d593c700ed353f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasrushton</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/11/backuphistory1.png" medium="image">
			<media:title type="html">Backup History</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/11/backupfiles.png" medium="image">
			<media:title type="html">Backup Files</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/11/backupremainingtime1.png" medium="image">
			<media:title type="html">Backup Remaining Time - half way</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/11/backupremainingtime2.png" medium="image">
			<media:title type="html">Backup Remaining Time - Nearly there</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/11/backupremainingtime3.png" medium="image">
			<media:title type="html">Backup Remaining Time - So Close</media:title>
		</media:content>
	</item>
		<item>
		<title>Terry Pratchett on Disaster Recovery</title>
		<link>http://thelonedba.wordpress.com/2011/11/13/terry-pratchett-on-disaster-recovery/</link>
		<comments>http://thelonedba.wordpress.com/2011/11/13/terry-pratchett-on-disaster-recovery/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 19:36:20 +0000</pubDate>
		<dc:creator>thomasrushton</dc:creator>
				<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Disaster Recovery]]></category>
		<category><![CDATA[IT Management]]></category>

		<guid isPermaLink="false">http://thelonedba.wordpress.com/?p=653</guid>
		<description><![CDATA[Cast your minds back to T-SQL Tuesday 19, on the subject of Disaster Recovery. In one of my two posts, I said Practice makes perfect. But even when you’ve practised DR until you’re blue in the face, there’s always something &#8230; <a href="http://thelonedba.wordpress.com/2011/11/13/terry-pratchett-on-disaster-recovery/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=653&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Cast your minds back to<a title="T-SQL Tuesday 19 Invitation" href="http://www.allenkinsel.com/archive/2011/06/invitation-for-t-sql-tuesday-19-disasters-recovery/" target="_blank"> T-SQL Tuesday 19</a>, on the subject of Disaster Recovery. In <a href="http://thelonedba.wordpress.com/2011/06/14/t-sql-tuesday-19-dr-all-done-really/" target="_blank">one of my two posts</a>, I said</p>
<blockquote><p>Practice makes perfect. But even when you’ve practised DR until you’re blue in the face, there’s always something missing compared with reality – and that’s the disaster itself, and the psychological &amp; physiological impacts of working under that kind of stress.</p></blockquote>
<p><a href="http://www.play.com/Search.html?searchtype=allproducts&amp;searchsource=0&amp;searchstring=terry+pratchett+thief+of+time"><img class="alignright" title="Thief of Time cover, Play.com" src="http://p.playserver1.com/ProductImages/6/0/8/6/6/1/2/2166806_180x180_1.jpg" alt="Thief of Time, Terry Pratchett, on Play.com" width="180" height="180" /></a>I&#8217;d seen that line before, somewhere &#8211; and, last night, I finally found it. It is from Terry Pratchett&#8217;s book &#8220;<a title="Terry Pratchett, Thief of Time, on Amazon" href="http://www.amazon.co.uk/Thief-Time-Sir-Terry-Pratchett/dp/0552148407" target="_blank">Thief of Time</a>&#8220;, pp160-1 in the edition I have, and the text is as follows:</p>
<blockquote><p>&#8216;I really must respectfully protest, your reverence,&#8217; said the acolyte. &#8216;We have practised for just such an emergency as—&#8217;</p>
<p>&#8216;Yeah, I know all about practising procedures for emergencies,&#8217; said Lu-Tze. &#8216;And there&#8217;s always something missing.&#8217;</p>
<p>&#8216;Ricidulous! We take great pains to—&#8217;</p>
<p>&#8216;You always leave out the damn emergency.&#8217;</p></blockquote>
<p>And Lu-Tze is correct. The emergency itself causes all sorts of changes of behaviour &#8211; a DR exercise will typically be attended only by those involved in putting stuff back together, nice and quiet, and you can get on with it. A real DR situation, however, is a very different kettle of fish. You&#8217;ll have management breathing down your neck. You&#8217;ll have their management, the Ops management, probably Financial Directors, CEOs, all sorts of people with &#8220;Chief&#8221; or &#8220;Executive&#8221; or &#8220;Manager/Management&#8221; in their job titles, who don&#8217;t understand a damn thing about what&#8217;s going on, but they all want to know, like a bunch of six-year-olds in the back of the car, &#8220;are we there yet?&#8221;. And this is where the mark of a good boss is &#8211; can he keep them away from you so you can concentrate on getting things back together (good), or not (bad). And this is also partly down to how good *you* are &#8211; can you provide enough information back to the boss to say what&#8217;s going on, how long it&#8217;s going to be (approximately), and what else is to be done (again, with time estimates)?</p>
<p>In other words, when the solids are hitting the aircon, can you rapidly put together a project plan with sufficient level of detail to keep your boss and his management colleagues happy? And provide checkpoint reports?</p>
<br />Filed under: <a href='http://thelonedba.wordpress.com/category/sqlserverpedia-syndication/'>SQLServerPedia Syndication</a> Tagged: <a href='http://thelonedba.wordpress.com/tag/disaster-recovery/'>Disaster Recovery</a>, <a href='http://thelonedba.wordpress.com/tag/it-management/'>IT Management</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thelonedba.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thelonedba.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thelonedba.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thelonedba.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thelonedba.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thelonedba.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thelonedba.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thelonedba.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thelonedba.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thelonedba.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thelonedba.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thelonedba.wordpress.com/653/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thelonedba.wordpress.com/653/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thelonedba.wordpress.com/653/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=653&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thelonedba.wordpress.com/2011/11/13/terry-pratchett-on-disaster-recovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68f3945bf478970197d593c700ed353f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasrushton</media:title>
		</media:content>

		<media:content url="http://p.playserver1.com/ProductImages/6/0/8/6/6/1/2/2166806_180x180_1.jpg" medium="image">
			<media:title type="html">Thief of Time cover, Play.com</media:title>
		</media:content>
	</item>
		<item>
		<title>T-SQL Tuesday #024 &#8211; Prox &amp; Funx &#8211; Maintenance / Release Tip</title>
		<link>http://thelonedba.wordpress.com/2011/11/08/t-sql-tuesday-024-prox-funx-maintenance-release-tip/</link>
		<comments>http://thelonedba.wordpress.com/2011/11/08/t-sql-tuesday-024-prox-funx-maintenance-release-tip/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 20:46:45 +0000</pubDate>
		<dc:creator>thomasrushton</dc:creator>
				<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[T-SQL Tuesday]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://thelonedba.wordpress.com/?p=649</guid>
		<description><![CDATA[T-SQL Tuesday is a monthly SQL Server blogging event.  One of us sets a topic for the month&#8217;s event, and we all have a week in which to write a blog post that fits that topic.  This month&#8217;s event is &#8230; <a href="http://thelonedba.wordpress.com/2011/11/08/t-sql-tuesday-024-prox-funx-maintenance-release-tip/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=649&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://sqlserverpedia.com/blog/sql-server-bloggers/invitation-for-t-sql-tuesday-024-prox-%E2%80%98n%E2%80%99-funx/"><img class="alignright size-full wp-image-264" title="TSQL2sDay150x150" src="http://thelonedba.files.wordpress.com/2011/01/tsql2sday150x150.jpg?w=640" alt=""   /></a>T-SQL Tuesday is a monthly SQL Server blogging event.  One of us sets a topic for the month&#8217;s event, and we all have a week in which to write a blog post that fits that topic.  This month&#8217;s event is hosted by Brad Schulz (<a title="Brad's blog" href="http://bradsruminations.blogspot.com/search/label/Syndicated" target="_blank">blog</a>), and he&#8217;s chosen the subject of Procedures &amp; Functions.</p>
<h2>A Quick Maintenance / Implementation Tip</h2>
<p>A quick tip for something to do when building release scripts.</p>
<p>If you&#8217;re not sure about whether an object exists, and need to make sure that the right version is provided, then your release script might start out with a test to see if the object exists, and to drop it if it does, then create the replacement:</p>
<p><code>IF NOT (OBJECT_ID('dbo.foo') IS NULL) THEN DROP PROCEDURE foo END<br />
CREATE PROCEDURE foo ...</code></p>
<p>This isn&#8217;t particularly friendly to running applications, may well cause issues with dependent objects, and you&#8217;ll have to be very careful to get the permissions right. </p>
<p>However, if you check to see if the object exists, and if it doesn&#8217;t then create a stub which can then be modified by your release script, these issues (mostly) go away.</p>
<p><code>IF OBJECT_ID('dbo.foo') IS NULL THEN<br />
EXEC ('CREATE PROCEDURE dbo.foo AS RETURN 0')<br />
GO<br />
ALTER PROCEDURE dbo.foo ...</code></p>
<p>OK, so it&#8217;s a bit more effort, but it does mean that you won&#8217;t lose permissions information.  And the headaches that fixing that sort of thing can cause makes it well worth the effort.</p>
<p>Of course, for bonus points, you should put the <code>GRANT</code> statement at the end of your release script anyway, just in case you are creating the object from scratch&#8230;</p>
<br />Filed under: <a href='http://thelonedba.wordpress.com/category/sqlserverpedia-syndication/'>SQLServerPedia Syndication</a>, <a href='http://thelonedba.wordpress.com/category/t-sql-tuesday/'>T-SQL Tuesday</a> Tagged: <a href='http://thelonedba.wordpress.com/tag/maintenance/'>Maintenance</a>, <a href='http://thelonedba.wordpress.com/tag/programming/'>Programming</a>, <a href='http://thelonedba.wordpress.com/tag/t-sql/'>T-SQL</a>, <a href='http://thelonedba.wordpress.com/tag/t-sql-tuesday/'>T-SQL Tuesday</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thelonedba.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thelonedba.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thelonedba.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thelonedba.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thelonedba.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thelonedba.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thelonedba.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thelonedba.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thelonedba.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thelonedba.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thelonedba.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thelonedba.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thelonedba.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thelonedba.wordpress.com/649/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=649&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thelonedba.wordpress.com/2011/11/08/t-sql-tuesday-024-prox-funx-maintenance-release-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68f3945bf478970197d593c700ed353f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasrushton</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/01/tsql2sday150x150.jpg" medium="image">
			<media:title type="html">TSQL2sDay150x150</media:title>
		</media:content>
	</item>
		<item>
		<title>T-SQL Tuesday #024 &#8211; Prox &#8216;n&#8217; Funx (Procedures &amp; Functions)</title>
		<link>http://thelonedba.wordpress.com/2011/11/08/t-sql-tuesday-024-prox-n-funx-procedures-functions/</link>
		<comments>http://thelonedba.wordpress.com/2011/11/08/t-sql-tuesday-024-prox-n-funx-procedures-functions/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 20:14:07 +0000</pubDate>
		<dc:creator>thomasrushton</dc:creator>
				<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[T-SQL Tuesday]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://thelonedba.wordpress.com/?p=643</guid>
		<description><![CDATA[T-SQL Tuesday is a monthly SQL Server blogging event.  One of us sets a topic for the month&#8217;s event, and we all have a week in which to write a blog post that fits that topic.  This month&#8217;s event is &#8230; <a href="http://thelonedba.wordpress.com/2011/11/08/t-sql-tuesday-024-prox-n-funx-procedures-functions/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=643&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://sqlserverpedia.com/blog/sql-server-bloggers/invitation-for-t-sql-tuesday-024-prox-%E2%80%98n%E2%80%99-funx/"><img class="alignright size-full wp-image-264" title="TSQL2sDay150x150" src="http://thelonedba.files.wordpress.com/2011/01/tsql2sday150x150.jpg?w=640" alt=""   /></a>T-SQL Tuesday is a monthly SQL Server blogging event.  One of us sets a topic for the month&#8217;s event, and we all have a week in which to write a blog post that fits that topic.  This month&#8217;s event is hosted by Brad Schulz (<a title="Brad's blog" href="http://bradsruminations.blogspot.com/search/label/Syndicated" target="_blank">blog</a>), and he&#8217;s chosen the subject of Procedures &amp; Functions.</p>
<h2>Should I?</h2>
<p>I recently saw a Tweet on the #sqlhelp tag asking &#8220;What advantages do Stored Procedures have in MSSQL? Should I learn to use them?&#8221;<br />
<a href="http://twitter.com/#!/mas1683/status/131068950212653057"><img class="aligncenter size-full wp-image-644" title="ShouldILearnSPs" src="http://thelonedba.files.wordpress.com/2011/11/shouldilearnsps.png?w=640" alt="Original Tweet"   /></a></p>
<p>My answer &#8211; Yes.  Hell yes.</p>
<h2>Why Should I?</h2>
<p>This is harder (for me) to articulate. Some reasons that come to my mind include:</p>
<h3>Less network traffic</h3>
<p>Consider a busy firm with a case management system. To build the case handlers&#8217; views of what&#8217;s what involves a complex set of SQL queries. Now, should these be held at the client side, and sent to the server one at a time, or batched up and sent (and executed) all at once? And isn&#8217;t it easier for the programmer / maintainer of the codebase to see a call to <code>exec GetUserCaseLoad @UserID=foo</code> rather than the masses of code?</p>
<h3>Maintainability</h3>
<p>While we&#8217;re on the subject of maintenance, imagine that you&#8217;re working in an environment where the code is used in many applications. Would you find it easier to change the stored procedure, or to find all instances of that code in your application base?</p>
<h3>Consistency of Operation</h3>
<p>This is an important area &#8211; if you&#8217;ve got many applications accessing the same data, then it can be helpful to ensure that this is always accessed in the same way. This can significantly reduce the risk of deadlocks.</p>
<h2>Yeah, but&#8230;</h2>
<p>Look, I know I don&#8217;t make a particularly good argument here in favour of it.  <a href="http://www.google.co.uk/search?&amp;q=stored+procedure+benefit" title="Google for Stored Procedure Benefit" target="_blank">There&#8217;s loads of stuff out there, and I suggest you read it</a>.  There&#8217;s even some stuff advocating not to bother.</p>
<p>Have a look.  If you want to know if it really will make a difference, there&#8217;s only one way to find out &#8211; benchmark performance of your ad-hoc SQL in its application, then replace with a SP and re-benchmark.</p>
<br />Filed under: <a href='http://thelonedba.wordpress.com/category/sqlserverpedia-syndication/'>SQLServerPedia Syndication</a>, <a href='http://thelonedba.wordpress.com/category/t-sql-tuesday/'>T-SQL Tuesday</a> Tagged: <a href='http://thelonedba.wordpress.com/tag/programming/'>Programming</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thelonedba.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thelonedba.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thelonedba.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thelonedba.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thelonedba.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thelonedba.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thelonedba.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thelonedba.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thelonedba.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thelonedba.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thelonedba.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thelonedba.wordpress.com/643/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thelonedba.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thelonedba.wordpress.com/643/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=643&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thelonedba.wordpress.com/2011/11/08/t-sql-tuesday-024-prox-n-funx-procedures-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68f3945bf478970197d593c700ed353f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasrushton</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/01/tsql2sday150x150.jpg" medium="image">
			<media:title type="html">TSQL2sDay150x150</media:title>
		</media:content>

		<media:content url="http://thelonedba.files.wordpress.com/2011/11/shouldilearnsps.png" medium="image">
			<media:title type="html">ShouldILearnSPs</media:title>
		</media:content>
	</item>
		<item>
		<title>Meme Monday: What #SQLFamily means to me</title>
		<link>http://thelonedba.wordpress.com/2011/11/07/meme-monday-what-sqlfamily-means-to-me/</link>
		<comments>http://thelonedba.wordpress.com/2011/11/07/meme-monday-what-sqlfamily-means-to-me/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 18:15:53 +0000</pubDate>
		<dc:creator>thomasrushton</dc:creator>
				<category><![CDATA[Meme Monday]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Career]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Professional Networking]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://thelonedba.wordpress.com/?p=629</guid>
		<description><![CDATA[It&#8217;s the first Monday of the Month, and Thomas &#8220;Rockstar DBA&#8221; LaRock (blog&#124;twitter) has set us SQL Server DBAs a topic for today&#8217;s blog posts across the SQL Server community.  This time, he put out the call for posts about &#8230; <a href="http://thelonedba.wordpress.com/2011/11/07/meme-monday-what-sqlfamily-means-to-me/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=629&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s the first Monday of the Month, and Thomas &#8220;Rockstar DBA&#8221; LaRock (<a title="Thomas &quot;SQL Rockstar&quot; LaRock's blog" href="http://www.thomaslarock.com/" target="_blank">blog</a>|<a title="Thomas LaRock's Twitter Feed" href="http://twitter.com/SQLRockstar" target="_blank">twitter</a>) has set us SQL Server DBAs a topic for today&#8217;s blog posts across the SQL Server community.  This time, he <a title="Theme" href="http://thomaslarock.com/2011/11/meme-monday-for-november/" target="_blank">put out the call for posts about SQL Family</a>.</p>
<p>The <a title="#SQLFamily on Twitter" href="http://twitter.com/#!/search/%23SQLFamily" target="_blank">#SQLFamily Twitter hashtag</a> hasn&#8217;t got a long glorious history, but the SQL Server community has &#8211; and this is what the #SQLFamily is about.  It&#8217;s a very friendly group of people, eager to accept new members and mentor them, help out with their problems on the various Q&amp;A sites such as <a title="Ask SQL Server Central.com" href="http://ask.sqlservercentral.com" target="_blank">http://Ask.SQLServerCentral.com</a>, <a title="Stack Exchange for DBAs" href="http://dba.stackexchange.com" target="_blank">http://dba.stackexchange.com</a>, and forum sites such as <a title="SQL Server Central Forums" href="http://www.sqlservercentral.com/forums/" target="_blank">SQL Server Central</a>.  And there&#8217;s always a bunch of us keeping half an eye on the <a title="SQL Help on Twitter" href="http://twitter.com/#!/search/%23sqlhelp" target="_blank">Twitter #SQLHelp</a> hashtag, and we&#8217;re trying that in <a title="#sqlhelp in Google+" href="https://plus.google.com/u/0/s/%23sqlhelp" target="_blank">Google+</a> too.</p>
<p>As well as the various electronic hang-outs, you&#8217;ll find branches of the family physically hanging out in different places &#8211; at conferences such as <a title="SQL Bits - *the* conference for SQL Server in the UK" href="http://www.sqlbits.com" target="_blank">SQLBits in the UK</a>, <a title="PASS - The Professional Association for SQL Server" href="http://www.sqlpass.org/" target="_blank">PASS</a> in the US, and at various user groups across the world.  And everyone&#8217;s so friendly and helpful.</p>
<p>Like family members, we&#8217;re prepared to travel to help each other out &#8211; even to the point of interrupting a family holiday to go to a user group meeting.  Or is that just me?  In the UK, it&#8217;s not unknown for people to travel 100+ miles after work to get to a <a title="UK SQL Server User Groups" href="http://www.sqlserverfaq.com" target="_blank">user group meeting</a> &#8211; and I know that one&#8217;s not just me!</p>
<p>Like a real family, though, we don&#8217;t tolerate those who seek to attack us, or put us down.  We have recently seen one Twittish Twitterer try attacking one of Da Family, and he found he bit off more than he could chew.  Within a very short space of time, the #SQLFamily had circled the wagons and mounted a defence.  Jorge &#8220;SQLChicken&#8221; Segarra (<a title="SQL Chicken's blog" href="http://sqlchicken.com/" target="_blank">blog</a>|<a title="SQL Chicken on Twitter" href="http://www.twitter.com/SQLChicken" target="_blank">twitter</a>) has a <a title="SQL Chicken's blog post about the SQL Community" href="http://sqlchicken.com/2011/10/we-are-community/" target="_blank">description of what went on</a>.  (Yes, his post is about &#8220;SQL Community&#8221;, but the community does feel like a family to many of us.)  Unfortunately, there have been other incidents.</p>
<p>(Sorry, interrupted by a member of my #SQLFamily who wants career advice &#8211; from me!  I&#8217;ve not been in this part of the game as long as he has, so he should know what to do, but apparently this thing works both ways&#8230;  I hope things work out for him.)</p>
<p>Where was I?  Oh yes.</p>
<p>But #SQLFamily isn&#8217;t just about those out there.  It&#8217;s also about the guys you work with, your colleagues on a day-to-day project-by-project basis.  You do what you can to help them get better, to deliver the best projects you can, and hope that they do the same for you.  In this way, you gradually build up your own network of colleagues and associates, and you&#8217;ll know who to go to when you need help; similarly, they&#8217;ll come to you when they need help.  I&#8217;ve long been convinced that part of the way to get ahead is &#8220;who you know&#8221; rather than &#8220;what you know&#8221;, and this has been proved right.  (Cheers, J.  And N.  I&#8217;m sure we&#8217;ll be in touch again!)</p>
<p>In short, you look after the family, they&#8217;ll look after you.</p>
<p>And now I&#8217;ve managed to earworm myself with <a title="Mama Morton, Chicago, Let me Google that for you." href="http://www.google.co.uk/search?aq=f&amp;gcx=w&amp;sourceid=chrome&amp;ie=UTF-8&amp;q=mama+morton+chicago" target="_blank">Mama Morton&#8217;s song from Chicago</a>.  I need help.  Or curry.  Or both.</p>
<br />Filed under: <a href='http://thelonedba.wordpress.com/category/meme-monday/'>Meme Monday</a>, <a href='http://thelonedba.wordpress.com/category/sqlserverpedia-syndication/'>SQLServerPedia Syndication</a> Tagged: <a href='http://thelonedba.wordpress.com/tag/career/'>Career</a>, <a href='http://thelonedba.wordpress.com/tag/community/'>Community</a>, <a href='http://thelonedba.wordpress.com/tag/meme-monday/'>Meme Monday</a>, <a href='http://thelonedba.wordpress.com/tag/people/'>People</a>, <a href='http://thelonedba.wordpress.com/tag/professional-networking/'>Professional Networking</a>, <a href='http://thelonedba.wordpress.com/tag/training/'>Training</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thelonedba.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thelonedba.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thelonedba.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thelonedba.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thelonedba.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thelonedba.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thelonedba.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thelonedba.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thelonedba.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thelonedba.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thelonedba.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thelonedba.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thelonedba.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thelonedba.wordpress.com/629/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thelonedba.wordpress.com&amp;blog=13338276&amp;post=629&amp;subd=thelonedba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thelonedba.wordpress.com/2011/11/07/meme-monday-what-sqlfamily-means-to-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/68f3945bf478970197d593c700ed353f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomasrushton</media:title>
		</media:content>
	</item>
	</channel>
</rss>
