<?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>SQL Server Sleuth &#187; escalation calls</title>
	<atom:link href="http://sqlserversleuth.com/tag/escalation-calls/feed/" rel="self" type="application/rss+xml" />
	<link>http://sqlserversleuth.com</link>
	<description>For DBAs that enjoy a good mystery</description>
	<lastBuildDate>Sat, 12 May 2012 15:43:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sqlserversleuth.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/a9ab64e4b3cc6d92ec2c225a7d6ea0bd?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>SQL Server Sleuth &#187; escalation calls</title>
		<link>http://sqlserversleuth.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sqlserversleuth.com/osd.xml" title="SQL Server Sleuth" />
	<atom:link rel='hub' href='http://sqlserversleuth.com/?pushpress=hub'/>
		<item>
		<title>The Presentations Won&#8217;t Be Posted Until After the PASS Summit</title>
		<link>http://sqlserversleuth.com/2009/10/31/the-presentations-wont-be-posted-until-after-the-pass-summit/</link>
		<comments>http://sqlserversleuth.com/2009/10/31/the-presentations-wont-be-posted-until-after-the-pass-summit/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 05:10:45 +0000</pubDate>
		<dc:creator>tnbarkhouse</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[escalation calls]]></category>
		<category><![CDATA[NTSSUG]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[speaking]]></category>
		<category><![CDATA[SQLDiag]]></category>
		<category><![CDATA[SQLSaturday]]></category>

		<guid isPermaLink="false">http://sqlserversleuth.com/?p=167</guid>
		<description><![CDATA[I&#8217;ve decided that the posting of my presentation materials (PowerPoint slide decks and sample code) will have to wait until I return from the 2009 PASS Community Summit. I apologize again for the delay. As I mentioned previously, I&#8217;ve been &#8230; <a href="http://sqlserversleuth.com/2009/10/31/the-presentations-wont-be-posted-until-after-the-pass-summit/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sqlserversleuth.com&#038;blog=6775699&#038;post=167&#038;subd=tnbarkhouse&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided that the posting of my presentation materials (PowerPoint slide decks and sample code) will have to wait until I return from the <a href="http://summit2009.sqlpass.org/" target="_blank">2009 PASS Community Summit</a>.  I apologize again for the delay.</p>
<p>As I <a href="/2009/10/21/the-delay-continues/" target="_blank">mentioned previously</a>, I&#8217;ve been adding to and improving the demonstrations for the <a href="/technical-presentations/#SQLDiag" target="_blank">SQLDiag</a> presentation.  I was satisfied with the code (in terms of functionality, it still needed polishing and testing) until last week, when I got an escalation call about end-user complaints of poor performance with a customer&#8217;s application.  This type of case calls for the techniques covered in my presentation.  I then realized that October has been a bit of a dry spell in terms of complex issues that merited these techniques.</p>
<p>I ended up seeing a number of opportunities to further automate the process, pleased with the dual benefit of 1.) helping to solve the issue for the customer and 2.) having more to share with my audiences.  For example, I finally created a PowerShell script that automatically extracts a single <a href="http://msdn.microsoft.com/en-us/library/ms162833.aspx" target="_blank">SQLDiag</a> data set from a <a href="http://7-Zip.org/" target="_blank">7-Zip</a> archive and loads it into <a href="http://pal.codeplex.com/" target="_blank">PAL</a> and <a href="http://sqlnexus.codeplex.com/" target="_blank">SQL Nexus</a>.  This saves an <span style="font-weight:bold;">immense</span> amount of time!  The downside is that I added a significant set of new scripts that have to be refined and tested (but they are absolutely worth it!).</p>
<p>I have been putting the release of the presentation materials above many other tasks (including blogging, participating on <a href="/2009/10/12/my-first-forum-contribution/" target="_blank">forums</a>, and many responsibilities in my personal life), which has really added to my stress level.  It&#8217;s time to reprioritize&#8230; I need to enjoy some down-time with my wife, tie up a few loose ends at work, and prepare for the PASS conference.  I&#8217;m sorry to postpone further, but on the other hand, the quality and quantity of deliverables will be much greater this way.  I&#8217;m sure that you&#8217;ll find it worth the wait!</p>
<p>Expect the presentation materials the week of November 9th.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tnbarkhouse.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tnbarkhouse.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tnbarkhouse.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tnbarkhouse.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tnbarkhouse.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tnbarkhouse.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tnbarkhouse.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tnbarkhouse.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tnbarkhouse.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tnbarkhouse.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tnbarkhouse.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tnbarkhouse.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tnbarkhouse.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tnbarkhouse.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sqlserversleuth.com&#038;blog=6775699&#038;post=167&#038;subd=tnbarkhouse&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sqlserversleuth.com/2009/10/31/the-presentations-wont-be-posted-until-after-the-pass-summit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a662186ae400e1e95ffca05d7b474fd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tnbarkhouse</media:title>
		</media:content>
	</item>
		<item>
		<title>A Brief Delay</title>
		<link>http://sqlserversleuth.com/2009/10/19/a-brief-delay/</link>
		<comments>http://sqlserversleuth.com/2009/10/19/a-brief-delay/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 03:20:46 +0000</pubDate>
		<dc:creator>tnbarkhouse</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[escalation calls]]></category>
		<category><![CDATA[NTSSUG]]></category>
		<category><![CDATA[speaking]]></category>
		<category><![CDATA[SQLDiag]]></category>
		<category><![CDATA[SQLSaturday]]></category>

		<guid isPermaLink="false">http://sqlserversleuth.com/?p=150</guid>
		<description><![CDATA[I was hoping to knock out a few tasks over the weekend: Send the slide decks and code for my SQLSaturday #25 presentations to Stuart Ainsworth (blog, Twitter) for posting on the SQLSaturday.com web site Post the slide deck for &#8230; <a href="http://sqlserversleuth.com/2009/10/19/a-brief-delay/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sqlserversleuth.com&#038;blog=6775699&#038;post=150&#038;subd=tnbarkhouse&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was hoping to knock out a few tasks over the weekend:</p>
<ul>
<li>Send the slide decks and code for my <a href="http://sqlsaturday.com/eventhome.aspx?eventid=26" target="_blank">SQLSaturday #25</a> presentations to Stuart Ainsworth (<a href="http://codegumbo.com/" target="_blank">blog</a>, <a href="http://twitter.com/stuarta" target="_blank">Twitter</a>) for posting on the <a href="http://sqlsaturday.com/" target="_blank">SQLSaturday.com</a> web site</li>
<li>Post the slide deck for <a href="/2009/10/12/speaking-at-the-october-gfwssug-and-ntssug-meetings/" target="_blank">last Thursday&#8217;s presentation</a> on the <a href="http://northtexas.sqlpass.org/" target="_blank">NTSSUG</a> web site</li>
<li>Continue refining my <a href="/technical-presentations/#SQLDiag" target="_blank">SQLDiag presentation</a> for this coming <a href="/2009/10/12/speaking-at-the-october-gfwssug-and-ntssug-meetings/" target="_blank">Wednesday</a></li>
<li>Catch up on some blogging, including an account of my experience at SQLSaturday #25</p>
</ul>
<p>I made some great progress on the SQLDiag presentation, but the other tasks had to give way to caring for my sick wife and fielding an inordinate number of escalation calls (it was my turn to be the <a href="http://www.bls.gov/oco/ocos268.htm" target="_blank">on-call</a> DBA, a duty that rotates to me every four weeks).</p>
<p>I haven&#8217;t forgotten these tasks&#8230; hopefully I can catch up tomorrow, since I have the day off from work.  Please bear with me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tnbarkhouse.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tnbarkhouse.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tnbarkhouse.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tnbarkhouse.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tnbarkhouse.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tnbarkhouse.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tnbarkhouse.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tnbarkhouse.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tnbarkhouse.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tnbarkhouse.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tnbarkhouse.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tnbarkhouse.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tnbarkhouse.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tnbarkhouse.wordpress.com/150/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sqlserversleuth.com&#038;blog=6775699&#038;post=150&#038;subd=tnbarkhouse&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sqlserversleuth.com/2009/10/19/a-brief-delay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a662186ae400e1e95ffca05d7b474fd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tnbarkhouse</media:title>
		</media:content>
	</item>
		<item>
		<title>Back from Hiatus</title>
		<link>http://sqlserversleuth.com/2009/10/02/back-from-hiatus/</link>
		<comments>http://sqlserversleuth.com/2009/10/02/back-from-hiatus/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 20:44:06 +0000</pubDate>
		<dc:creator>tnbarkhouse</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[escalation calls]]></category>
		<category><![CDATA[NTSSUG]]></category>
		<category><![CDATA[speaking]]></category>
		<category><![CDATA[SQLSaturday]]></category>

		<guid isPermaLink="false">http://sqlserversleuth.com/?p=78</guid>
		<description><![CDATA[It has been two months since my last blog post. I was tremendously busy in August and September; the months seem to have passed so quickly! I have a lot to discuss from this period, including: SQLSaturday #17 A grueling &#8230; <a href="http://sqlserversleuth.com/2009/10/02/back-from-hiatus/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sqlserversleuth.com&#038;blog=6775699&#038;post=78&#038;subd=tnbarkhouse&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It has been two months since my last blog post.  I was tremendously busy in August and September; the months seem to have passed so quickly!  I have a lot to discuss from this period, including:</p>
<ul>
<li><a href="http://sqlsaturday.com/eventhome.aspx?eventid=21" target="_blank">SQLSaturday #17</a></li>
<li>A grueling upgrade project for one of our larger customers (hereafter referred to as &#8220;Project Asculum&#8221;)</li>
<li>A disaster with a customer&#8217;s environment one weekend while I was on-call (hereafter referred to as &#8220;Project Gordian Knot&#8221;)</li>
<li>The <a href="http://northtexas.sqlpass.org/" target="_blank">user group</a></li>
<li>The effort to bring a <a href="http://sqlsaturday.com/" target="_blank">SQLSaturday</a> event to North Texas</li>
<li>My upcoming speaking engagements</li>
<li>Helping to retain a customer on the brink of leaving</li>
<li>A vacation of sorts</li>
</ul>
<p>It&#8217;s time to get this blog going!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tnbarkhouse.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tnbarkhouse.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tnbarkhouse.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tnbarkhouse.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tnbarkhouse.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tnbarkhouse.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tnbarkhouse.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tnbarkhouse.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tnbarkhouse.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tnbarkhouse.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tnbarkhouse.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tnbarkhouse.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tnbarkhouse.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tnbarkhouse.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sqlserversleuth.com&#038;blog=6775699&#038;post=78&#038;subd=tnbarkhouse&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sqlserversleuth.com/2009/10/02/back-from-hiatus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a662186ae400e1e95ffca05d7b474fd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tnbarkhouse</media:title>
		</media:content>
	</item>
		<item>
		<title>A solution of my very own</title>
		<link>http://sqlserversleuth.com/2009/04/13/a-solution-of-my-very-own/</link>
		<comments>http://sqlserversleuth.com/2009/04/13/a-solution-of-my-very-own/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 21:20:31 +0000</pubDate>
		<dc:creator>tnbarkhouse</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[escalation calls]]></category>
		<category><![CDATA[pitfalls]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://tnbarkhouse.wordpress.com/?p=13</guid>
		<description><![CDATA[Typically, when I&#8217;m faced with a SQL Server problem, I perform research until I discover a solution. I have many sources for research&#8230; here are a few (and the order that I typically follow) for troubleshooting specific error codes and &#8230; <a href="http://sqlserversleuth.com/2009/04/13/a-solution-of-my-very-own/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sqlserversleuth.com&#038;blog=6775699&#038;post=13&#038;subd=tnbarkhouse&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Typically, when I&#8217;m faced with a SQL Server problem, I perform research until I discover a solution.  I have many sources for research&#8230; here are a few (and the order that I typically follow) for troubleshooting specific error codes and messages:</p>
<ol>
<li><a href="http://msdn.microsoft.com/en-us/library/aa260433(SQL.80).aspx" target="_blank">[master].[dbo].[sysmessages]</a> (SQL Server 2000) or <a href="http://msdn.microsoft.com/en-us/library/ms187382.aspx" target="_blank">[master].[sys].[messages]</a> (SQL Server 2005 and later)</li>
<li>The <a href="http://support.microsoft.com/" target="_blank">Microsoft Knowledge Base</a></li>
<li>Books Online: <a href="http://msdn.microsoft.com/en-us/library/aa256841(SQL.80).aspx" target="_blank">SQL Server 2000</a>, <a href="http://msdn.microsoft.com/en-us/library/ms166019(SQL.90).aspx" target="_blank">SQL Server 2005</a>, or <a href="http://msdn.microsoft.com/en-us/library/ms130214.aspx" target="_blank">SQL Server 2008</a></li>
<li><a href="http://www.google.com/" target="_blank">Search engine</a></li>
<li><a href="http://groups.google.com/" target="_blank">Newsgroups</a> and forums</li>
<li>Any of several colleagues</li>
</ol>
<p>Regardless of the source, I submit query after query and constantly refine my search terms.  After sifting through enough results I will have the answer.  Sometimes it&#8217;s presented to me in complete form, other times I must synthesize the solution from several partial answers.  I have been remarkably successful as a DBA just from honing my research skills.</p>
<p>As my knowledge of SQL Server deepens, there have been those rare occasions in which I come up with an answer of my own.  An escalation call on Saturday led to such an occurrence.</p>
<p><span style="font-style:italic;">NOTE: This escalation call dealt with a SQL Server 2000 instance, so that is the version that I&#8217;ll be targeting with the various links.</span></p>
<p>A customer had rebuilt <span style="font-weight:bold;">all</span> of the indexes in a ~300 gigabyte database and then they were surprised when the data files grew.  One of the data files had doubled in size but was only using half of the space.  This was leading to free space alerts on the volume hosting a few data files (the alert threshold was 15% and the growth resulted in only 8% free space on the drive).  The customer requested that we shrink the files.</p>
<p>I&#8217;m not going to get into the many reasons that free space in a data file is beneficial or the many <a href="http://sqlserverpedia.com/wiki/Shrinking_Databases" target="_blank">issues</a> with shrinking data files.</p>
<p>I decided to start by running <a href="http://msdn.microsoft.com/en-us/library/aa258824(SQL.80).aspx" target="_blank">DBCC SHRINKFILE</a> with the TRUNCATEONLY argument.  I received error <a href="http://msdn.microsoft.com/en-us/library/aa937589(SQL.80).aspx" target="_blank">3140</a>: &#8220;Could not adjust the space allocation for file &#8216;%ls&#8217;.&#8221;</p>
<p>As usual, I began to research the error message using the above-mentioned resources.  I found many people asking about the issue, but the best <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;254253" target="_blank">answer</a> applied only to SQL Server 7.0.</p>
<p>I&#8217;m not sure why, but I decided to stop researching and try to figure it out myself.  Since the error message relates to space allocation, I decided to run <a href="http://msdn.microsoft.com/en-us/library/aa258809(SQL.80).aspx" target="_blank">DBCC CHECKALLOC</a>.  The command finished quite quickly with &#8220;CHECKALLOC found 0 allocation errors and 0 consistency errors in database &#8216;RedactedDatabaseName&#8217;.&#8221; at the end of the output.  I considered running the full-blown <a href="http://msdn.microsoft.com/en-us/library/aa258278(SQL.80).aspx" target="_blank">DBCC CHECKDB</a> when I had an idea&#8230; what if the problem was a variation on the SQL Server 7.0 <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;254253" target="_blank">bug</a> that was still present in SQL Server 2000?  Since the known bug related to index allocation discrepancies, I wondered if running <a href="http://msdn.microsoft.com/en-us/library/aa258283(SQL.80).aspx" target="_blank">DBCC UPDATEUSAGE</a> would help.  Other than the somewhat trivial server resources that it would take to report and correct inaccuracies in the <a href="http://msdn.microsoft.com/en-us/library/aa260413(SQL.80).aspx" target="_blank">[master].[dbo].[sysindexes]</a> table, it couldn&#8217;t hurt, right?  So I gave it a try.  DBCC UPDATEUSAGE took eight minutes and twenty-one seconds to run and made 238 corrections.  A subsequent execution of the DBCC SHRINKFILE command (with the TRUNCATEONLY argument) finished in six seconds and returned 5.72 gigabytes to the file system.  My hunch paid off.</p>
<p>It was my own understanding of indexes and experience with the DBCC UPDATEUSAGE command that ultimately provided the solution to this problem!  It&#8217;s so gratifying when answers come as much from me as any other source&#8211;a situation that grows more common all the time.</p>
<p>As far as the escalation call, I wrote an email to the customer and laid out five reasons not to shrink the file any further.  The customer agreed and the disk space threshold is being changed from 15% down to 10% (which is perfectly reasonable in this case).</p>
<p>Finally, two <a href="http://en.wikipedia.org/wiki/Public_service_announcement" target="_blank">PSAs</a>:</p>
<ul>
<li>Please consult an experienced database professional before implementing widespread index maintenance.  Index maintenance is <span style="font-weight:bold;">very important</span> but it is also costly and can lead to disk space issues (data file and transaction log growth).  Improper <a href="http://msdn.microsoft.com/en-us/library/aa933139(SQL.80).aspx" target="_blank">fill factor</a> values for your workload may actually make performance worse.</li>
<li>Please consult an experienced database professional for database file capacity planning.  In a well designed/managed system autogrow should not occur (being a <a href="http://sqlserverpedia.com/blog/database-design/i-keep-reading-about-the-dangers-autogrow-but-can-i-really-size-the-database-accurately-enough-to-disable-it/" target="_blank">fail-safe mechanism</a> only) and files should not be shrunk.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tnbarkhouse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tnbarkhouse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tnbarkhouse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tnbarkhouse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tnbarkhouse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tnbarkhouse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tnbarkhouse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tnbarkhouse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tnbarkhouse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tnbarkhouse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tnbarkhouse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tnbarkhouse.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tnbarkhouse.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tnbarkhouse.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sqlserversleuth.com&#038;blog=6775699&#038;post=13&#038;subd=tnbarkhouse&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sqlserversleuth.com/2009/04/13/a-solution-of-my-very-own/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a662186ae400e1e95ffca05d7b474fd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tnbarkhouse</media:title>
		</media:content>
	</item>
	</channel>
</rss>
