<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Bob Duffy's Blobby Blog : Disks</title><link>http://blogs.msdn.com/boduff/archive/tags/Disks/default.aspx</link><description>Tags: Disks</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Using a SAN to Initialize Replication</title><link>http://blogs.msdn.com/boduff/archive/2009/05/16/using-a-san-to-initialize-replication.aspx</link><pubDate>Sat, 16 May 2009 12:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9622159</guid><dc:creator>boduff</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/boduff/comments/9622159.aspx</comments><wfw:commentRss>http://blogs.msdn.com/boduff/commentrss.aspx?PostID=9622159</wfw:commentRss><description>&lt;P&gt;I've chatted to a few customers about the possibnility of using a SAN based snapshot to initialise&amp;nbsp;transactional replication.&lt;/P&gt;
&lt;P&gt;This&amp;nbsp;can be fantastic when you are using a replica to provide "near real time" reporting. Up until now, documentation has been a bit light on the ground on this apporoach, and people have been cautious to try it.&amp;nbsp; The results can really save a lot of time, such as getting a 17 TB replicated solution fully restored in a couple of hours! &lt;/P&gt;
&lt;P&gt;My&amp;nbsp;fellow MCM, Benjamin Wright-Jones in conjunction with the SQLCAT team has written a technical article based on his experience gettign this to work &lt;A href="http://sqlcat.com/technicalnotes/archive/2009/05/04/initializing-a-transactional-replication-subscriber-from-an-array-based-snapshot.aspx"&gt;http://sqlcat.com/technicalnotes/archive/2009/05/04/initializing-a-transactional-replication-subscriber-from-an-array-based-snapshot.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This gives step by step instructons on the procedure. Great stuff!&lt;/P&gt;
&lt;P&gt;I think that in a short space of time anyone doing replication with a VLDB and SAN will consider this approach. Partly for technical reasons&amp;nbsp;and party political. I mean you've just paid a fortune for that SAN -&amp;nbsp;put it to work &amp;nbsp;;-)&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9622159" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/boduff/archive/tags/SQL/default.aspx">SQL</category><category domain="http://blogs.msdn.com/boduff/archive/tags/Disks/default.aspx">Disks</category></item><item><title>Improving SQL Disk Performance #2 Windows Stripe Size</title><link>http://blogs.msdn.com/boduff/archive/2008/01/26/improving-sql-disk-performance-2-windows-stripe-size.aspx</link><pubDate>Sat, 26 Jan 2008 23:42:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7259699</guid><dc:creator>boduff</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/boduff/comments/7259699.aspx</comments><wfw:commentRss>http://blogs.msdn.com/boduff/commentrss.aspx?PostID=7259699</wfw:commentRss><description>&lt;p&gt;There are some urban legends around the Windows stripe size that you should set for SQL Server. I have seen recommendations of 64k for both data and log internally at Microsoft by some heavy hitting data Dudes, so that is good enough for me ;-)&lt;/p&gt;  &lt;p&gt;Generally a Storage Area Network will have a 64k block size anyway - so I like to match the size of the windows stripe to the block size of the underlying disk subsystem.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;How to Change the Windows Strip Size&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This can only be selected when you format the disk. Also know as &amp;quot;Allocation Unit Size&amp;quot;. beware as the default is only 4k.&lt;/p&gt;  &lt;p&gt;One thing to be aware of is that NTFS compression is not supported with a block size of 64. But no one uses that with SQL Server - right !!&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;How to Query the Stripe Size?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;fsutil fsinfo ntfsinfo F:&lt;/p&gt;  &lt;p&gt;&lt;font color="#800000"&gt;Sample output shows 4k windows format stripe size&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;NTFS Volume Serial Number : 0xe660d46a60d442cb   &lt;br /&gt;Number Sectors : 0x00000000010ea04f    &lt;br /&gt;Total Clusters : 0x000000000021d409    &lt;br /&gt;Free Clusters : 0x00000000000f222a    &lt;br /&gt;Total Reserved : 0x0000000000003550    &lt;br /&gt;Bytes Per Sector : 512    &lt;br /&gt;&lt;font color="#804040"&gt;Bytes Per Cluster : 4096&lt;/font&gt;    &lt;br /&gt;Bytes Per FileRecord Segment : 1024    &lt;br /&gt;Clusters Per FileRecord Segment : 0    &lt;br /&gt;Mft Valid Data Length : 0x0000000003eab000    &lt;br /&gt;Mft Start Lcn : 0x0000000000000004    &lt;br /&gt;Mft2 Start Lcn : 0x000000000010ea04    &lt;br /&gt;Mft Zone Start : 0x0000000000003ea0    &lt;br /&gt;Mft Zone End : 0x0000000000004700&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7259699" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/boduff/archive/tags/SQL/default.aspx">SQL</category><category domain="http://blogs.msdn.com/boduff/archive/tags/Disks/default.aspx">Disks</category></item><item><title>Improving SQL Disk Performance #1 Partition Alignment</title><link>http://blogs.msdn.com/boduff/archive/2008/01/26/improving-sql-disk-performance-1-partition-alignment.aspx</link><pubDate>Sat, 26 Jan 2008 23:31:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7259621</guid><dc:creator>boduff</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.msdn.com/boduff/comments/7259621.aspx</comments><wfw:commentRss>http://blogs.msdn.com/boduff/commentrss.aspx?PostID=7259621</wfw:commentRss><description>&lt;p&gt;There is a great article that you should read before configuring a disk subsystem for SQL Server. &lt;a title="http://www.microsoft.com/technet/prodtechnol/sql/bestpractice/pdpliobp.mspx" href="http://www.microsoft.com/technet/prodtechnol/sql/bestpractice/pdpliobp.mspx"&gt;Predeployment I/O Best Practices&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;As mentioned, one of the common pitfalls is not ensuring that the offset of the first block is &amp;quot;64k&amp;quot; or a multiple thereof. &lt;/p&gt;  &lt;p&gt;Longhorn Server and Vista resolve this issue by using am offset of 1024. if you are using windows 2003 and this is incorrectly configured you could be loosing 40% plus of your disk i/o!&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;How to check partition offset (vbs script)&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#808080"&gt;strComputer = &amp;quot;.&amp;quot;      &lt;br /&gt;Set objWMIService = GetObject(&amp;quot;winmgmts:\\&amp;quot; &amp;amp; strComputer &amp;amp; &amp;quot;\root\CIMV2&amp;quot;) Set colItems = objWMIService.ExecQuery( _&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;quot;SELECT * FROM Win32_DiskPartition&amp;quot;,,48) &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#808080"&gt;For Each objItem in colItems&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font color="#808080"&gt;Wscript.Echo &amp;quot;Disk: &amp;quot; &amp;amp; objItem.DiskIndex &amp;amp; &amp;quot;&amp;#160; Partition: &amp;quot; &amp;amp; objItem.Index &amp;amp; &amp;quot;&amp;#160; StartingOffset: &amp;quot; &amp;amp; objItem.StartingOffset/1024 &amp;amp; &amp;quot;KB&amp;quot;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font color="#808080"&gt;Wscript.Echo &lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font color="#808080"&gt;Next&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000000"&gt;you can also use diskpart -i&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;How to fix an incorrect offset:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;If you have Windows 2003 SP1m the diskpart.exe command has an extra parameter /align that can be used to ensure that the partition is aligned. See &lt;a title="http://technet2.microsoft.com/windowsserver/en/library/ca099518-dde5-4eac-a1f1-38eff6e3e5091033.mspx?mfr=true" href="http://technet2.microsoft.com/windowsserver/en/library/ca099518-dde5-4eac-a1f1-38eff6e3e5091033.mspx?mfr=true"&gt;http://technet2.microsoft.com/windowsserver/en/library/ca099518-dde5-4eac-a1f1-38eff6e3e5091033.mspx?mfr=true&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7259621" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/boduff/archive/tags/SQL/default.aspx">SQL</category><category domain="http://blogs.msdn.com/boduff/archive/tags/Disks/default.aspx">Disks</category></item><item><title>The Humble Desktop Reaches a Terra</title><link>http://blogs.msdn.com/boduff/archive/2007/05/16/the-humble-desktop-reaches-a-terra.aspx</link><pubDate>Wed, 16 May 2007 13:55:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2670354</guid><dc:creator>boduff</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/boduff/comments/2670354.aspx</comments><wfw:commentRss>http://blogs.msdn.com/boduff/commentrss.aspx?PostID=2670354</wfw:commentRss><description>&lt;p&gt;Hitachi have released a 1TB SATA II drive. What is more impressive than the size is the fact that according to Toms Hardware Guide it benchmarks as well as the famous Raptor drives. One of which I have lovingly in my development box at home, having replaced the SCSI system completely with SATA.&lt;/p&gt; &lt;p&gt;I'd be very interested to see how many IO's 4 of these&amp;nbsp;striped give SQL Server. Could be an option for the budget conscious, or at the least for scratch space.&amp;nbsp;Build your multi terrabyte storage for under 5k ;-)&lt;/p&gt; &lt;p&gt;I'm off to buy a few for Home Media Centre.&lt;/p&gt; &lt;p&gt;&lt;a title="http://www.komplett.ie/k/ki.aspx?sku=335460" href="http://www.komplett.ie/k/ki.aspx?sku=335460"&gt;http://www.komplett.ie/k/ki.aspx?sku=335460&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2670354" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/boduff/archive/tags/Disks/default.aspx">Disks</category></item><item><title>Flash - aha Saviour of the Database</title><link>http://blogs.msdn.com/boduff/archive/2007/05/16/flash-aha-saviour-of-the-database.aspx</link><pubDate>Wed, 16 May 2007 13:44:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2670227</guid><dc:creator>boduff</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/boduff/comments/2670227.aspx</comments><wfw:commentRss>http://blogs.msdn.com/boduff/commentrss.aspx?PostID=2670227</wfw:commentRss><description>&lt;p&gt;A new wave of tecnology is about to hit enterpise SQL SAN's. The humble flash disk scaled up to 1TB. In theory this gives incredibiliy low&amp;nbsp;IO latency&amp;nbsp;and eliminates the descrepancies between random/sequential IO and slowness due to a disk filling up!&lt;/p&gt; &lt;p&gt;The RamSAN from Texas Memory Systems claims&amp;nbsp;1TB of Solid State Storage with 3.2 million IOPS! &lt;a title="http://www.superssd.com/products/ramsan-400/" href="http://www.superssd.com/products/ramsan-400/"&gt;http://www.superssd.com/products/ramsan-400/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Expect High end SQL Server systems to use this for tempdb and high hitting areas like the ReportServerTemp database or ETL staging disks soon.&lt;/p&gt; &lt;p&gt;I can't wait so I'm tryin to get hold of this baby for my trusty Dell 820 laptop with 64 bit SQL Server on it. &lt;a href="http://www.reghardware.co.uk/2007/04/03/transcend_touts_expresscard_disk/"&gt;http://www.reghardware.co.uk/2007/04/03/transcend_touts_expresscard_disk/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;These solid state disks are also great for increasing Windows Vista Performance with the new "Ready Boost" feature&lt;/p&gt; &lt;p&gt;&lt;a title="http://www.microsoft.com/windows/products/windowsvista/features/details/readyboost.mspx" href="http://www.microsoft.com/windows/products/windowsvista/features/details/readyboost.mspx"&gt;http://www.microsoft.com/windows/products/windowsvista/features/details/readyboost.mspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2670227" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/boduff/archive/tags/Disks/default.aspx">Disks</category></item></channel></rss>