<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Server with Mr. Denny &#187; Microsoft CSS</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/sql-server/tag/microsoft-css/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/sql-server</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 19:39:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Fragmentation may cause corruption</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/fragmentation-may-cause-corruption/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/fragmentation-may-cause-corruption/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 14:00:11 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Microsoft CSS]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/fragmentation-may-cause-corruption/</guid>
		<description><![CDATA[Let me start this off by saying that I chose the title of this blog post very carefully.  You&#8217;ll note that it says &#8220;fragmentation may cause corruption&#8221; not that it will cause corruption, so before you go saying &#8220;Denny says that if you have any fragmentation of the database it&#8217;ll become corrupt&#8221; be sure to [...]]]></description>
				<content:encoded><![CDATA[<blockquote><p>Let me start this off by saying that I chose the title of this blog post very carefully.  You&#8217;ll note that it says &#8220;fragmentation may cause corruption&#8221; not that it will cause corruption, so before you go saying &#8220;Denny says that if you have any fragmentation of the database it&#8217;ll become corrupt&#8221; be sure to read the entire blog post.</p></blockquote>
<p>I recently ran across a very interesting Microsoft knowledge base article titled &#8220;<a href="http://support.microsoft.com/kb/967351">A heavily fragmented file in an NTFS volume may not grow beyond a certain size</a>&#8220;.  The basic jist of this article is that if you have files, specifically large files (like oh say database files) which are VERY heavily fragmented you may get error messages back from the OS saying that there was a problem.  If you are running a Vista or newer Kernel (Windows Server 2008 and newer) you&#8217;ll see Error 665 (The requested operation could not be completed due to a file system limitation).  If you are running a kernel older than Vista (Windows 2003 R2 or older) you will see Error 1450 (insufficient system resources exist to complete the requested service).</p>
<p>The reason for this is that when a file is fragmented the NTFS file system needs more space than expected to save the location of the file allocations.  Information about the location of the allocations are stored within file records by the file system.  When there are multiple file records for a file the file system uses something called an ATTRIBUTE_LIST to store information about the file records.  The problem comes into play when we run out of ATTRIBUTE_LIST structures for the specific file.</p>
<p>There is no way to figure out if (or when) you are going to hit the error message.  The reason is that there is no way to figure this out is that it would require knowing the sizes of the fragments and knowing how these fragments are begin described within the file tables and the ATTRIBUTE_LISTs.</p>
<p>There doesn&#8217;t appear to be any real workaround for sparse files (which SQL Server users for DBCC and snapshots).  So if you start seeing these error messages your best bet will probably be to defrag the disk so that when SQL Server creates a sparse file the file isn&#8217;t fragmented.  Backing up the database and restoring it may help as well as the disk would no longer be fragmented.  In either case a call to CSS would probably be in order.  In any case this is just another good reason to pre-allocate your files so that all your free space on the disk is at the end, and not scattered through out the disk.</p>
<p>Denny</p>
<p style="text-align: center"><a href="http://sqlexcursions.com/napa-2011-sign-up"><img class="aligncenter size-full wp-image-1819" src="http://cdn.ttgtmedia.com/ITKE/uploads/blogs.dir/20/files/2011/10/2012-napa-banner.jpg" alt="" width="500" height="61" /></a></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/fragmentation-may-cause-corruption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If you change the default instances port number, you may not be able to connect</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/if-you-change-the-default-instances-port-number-you-may-not-be-able-to-connect/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/if-you-change-the-default-instances-port-number-you-may-not-be-able-to-connect/#comments</comments>
		<pubDate>Thu, 06 May 2010 11:00:27 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Microsoft CSS]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=1021</guid>
		<description><![CDATA[Something that some companies like to do is to change the port number that the default instance is listening under as a security precaution.  However this has a habit of stopping anyone from connecting to the default instance without knowing the port number. This is because the default instance doesn&#8217;t register itself with the SQL [...]]]></description>
				<content:encoded><![CDATA[<p>Something that some companies like to do is to change the port number that the default instance is listening under as a security precaution.  However this has a habit of stopping anyone from connecting to the default instance without knowing the port number.</p>
<p>This is because the default instance doesn&#8217;t register itself with the SQL Browser when it starts, so you can no longer simply just connect to the default instance when named instances will work just fine.  The fix from CSS is to simply change the port back to TCP 1433.  The reason for this is that changing the port number doesn&#8217;t do a lot to secure your SQL Server as a quick port scan will show an attacker which port the SQL Server is listening on.  That or they&#8217;ll simply check out the web.config and get the port number from there.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/if-you-change-the-default-instances-port-number-you-may-not-be-able-to-connect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server Standard Edition getting Lock Pages in Memory</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/sql-server-standard-edition-getting-lock-pages-in-memory/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/sql-server-standard-edition-getting-lock-pages-in-memory/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 05:29:20 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Bob Ward]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Lock Pages]]></category>
		<category><![CDATA[Microsoft CSS]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/sql-server-standard-edition-getting-lock-pages-in-memory/</guid>
		<description><![CDATA[Microsoft SQL Server 2005 and 2008 Standard edition will be getting the Lock Pages in Memory feature that SQL Server Enterprise Edition has had starting in SQL Server 2005.  This was announced by Bob Ward via the CSS Blog in his post &#8220;SQL Server, Locked Pages, and Standard SKU…&#8220;.  Per Bob&#8217;s post a CU will [...]]]></description>
				<content:encoded><![CDATA[<p>Microsoft SQL Server 2005 and 2008 Standard edition will be getting the Lock Pages in Memory feature that SQL Server Enterprise Edition has had starting in SQL Server 2005.  This was announced by Bob Ward via the <a href="http://blogs.msdn.com/psssql/archive/2009/04/24/sql-server-locked-pages-and-standard-sku.aspx" target="_blank">CSS Blog</a> in his post &#8220;<a href="http://blogs.msdn.com/psssql/archive/2009/04/24/sql-server-locked-pages-and-standard-sku.aspx" target="_blank">SQL Server, Locked Pages, and Standard SKU…</a>&#8220;.  Per Bob&#8217;s post a CU will be released for SQL 2005 SP3 and SQL 2008 SP1 which will allow for a trace flag to be used to turn this feature on.</p>
<p>On behalf of the users I&#8217;d like to thank Bob and the rest of the SQL Server team for being able to get this into the product.</p>
<p>On behalf of the developer team, I emplore you to not turn this on for no reason.  Only use this feature once you understand what this feature does and in the correct places.</p>
<p>The Locked Pages flag bascially tells the SQL Server that if it is told to flush RAM to disk to ignore it.  If the setting is enabled then SQL doesn&#8217;t flush to disk.  If you find that your SQL Server is flushing to disk, don&#8217;t just enable the flag and move on.  I emplore you to contact CSS and figure out why SQL is being told to flush to disk.  This is the only way the bug will be fixed.  Once the issue has been reported to Microsoft and they have the information they need enable the flag until the bug is fixed.  Then install the patch to fix the bug, disable the flag and you&#8217;ll be fine.</p>
<p>Because of the fact that this is how bugs are found and fixed I hope that this is a CSS only CU which will require that users contact CSS before they can get the fix.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/sql-server-standard-edition-getting-lock-pages-in-memory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL 2008 Clusters require treaking to make SQL Dumpter work</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/sql-2008-clusters-require-treaking-to-make-sql-dumpter-work/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/sql-2008-clusters-require-treaking-to-make-sql-dumpter-work/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 19:45:50 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Microsoft CSS]]></category>
		<category><![CDATA[SQL Dumper]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/sql-2008-clusters-require-treaking-to-make-sql-dumpter-work/</guid>
		<description><![CDATA[If you don&#8217;t already read the CSS teams blog, I suggest that you do.  A little while ago they posted a blog post about how the SQL Dumper utility wouldn&#8217;t work in a SQL Server 2008 Clustered Installation. This should be considdered mandatory reading for anyone with a SQL Server 2008 install in a cluster. [...]]]></description>
				<content:encoded><![CDATA[<p>If you don&#8217;t already read the <a href="http://blogs.msdn.com/psssql/" target="_blank">CSS teams blog</a>, I suggest that you do.  A little while ago they posted a blog post about how the <a href="http://blogs.msdn.com/psssql/archive/2009/03/30/sqldumper-unable-to-generate-mdmp-files-in-sql-server-2008-failover-clusters.aspx" target="_blank">SQL Dumper utility wouldn&#8217;t work in a SQL Server 2008 Clustered Installation</a>.</p>
<p>This should be considdered mandatory reading for anyone with a SQL Server 2008 install in a cluster.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/sql-2008-clusters-require-treaking-to-make-sql-dumpter-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing SQL Server 2005 SP3 or SQL Server 2008 on XP Prep SP3 can cause Bug Check</title>
		<link>http://itknowledgeexchange.techtarget.com/sql-server/installing-sql-server-2005-sp3-or-sql-server-2008-on-xp-prep-sp3-can-cause-bug-check/</link>
		<comments>http://itknowledgeexchange.techtarget.com/sql-server/installing-sql-server-2005-sp3-or-sql-server-2008-on-xp-prep-sp3-can-cause-bug-check/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 23:27:48 +0000</pubDate>
		<dc:creator>Denny Cherry</dc:creator>
				<category><![CDATA[Bug Check]]></category>
		<category><![CDATA[Microsoft CSS]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/sql-server/?p=316</guid>
		<description><![CDATA[The SQL Server CSS team has just posted a blog post saying that it you install SQL Server 2005 SP3 or SQL Server 2008 on a Windows XP Machine which is pre SP 3 you can get a Bug Check (Blue Screen). If you are running Windows XP I highly recommend that you read this [...]]]></description>
				<content:encoded><![CDATA[<p>The<a href="http://blogs.msdn.com/psssql/default.aspx" target="_blank"> SQL Server CSS</a> team has just posted a <a href="http://blogs.msdn.com/psssql/archive/2009/01/07/installing-sql-server-2005-sp3-or-sql-server-2008-on-builds-prior-to-xp-sp3-can-lead-to-bug-check-0xf4-blue-screen-critical-process-termination.aspx" target="_blank">blog post</a> saying that it you install SQL Server 2005 SP3 or SQL Server 2008 on a Windows XP Machine which is pre SP 3 you can get a Bug Check (Blue Screen).</p>
<p>If you are running Windows XP I highly recommend that you read this before installing SQL 2005 SP3 or SQL 2008 on your machine.</p>
<p>Denny</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/sql-server/installing-sql-server-2005-sp3-or-sql-server-2008-on-xp-prep-sp3-can-cause-bug-check/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
