<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.mssqltips.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Chad Boyd</title><subtitle type="html">MSSQLTips - SQL Server Blog</subtitle><id>http://blogs.mssqltips.com/blogs/chadboyd/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.mssqltips.com/blogs/chadboyd/atom.aspx" /><generator uri="http://communityserver.org" version="3.1.20917.1142">Community Server</generator><updated>2008-02-22T14:41:00Z</updated><entry><title>Invoke-Nz - Powershell script similar to Nz VBA function</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/10/14/invoke-nz-powershell-script-similar-to-nz-vba-function.aspx" /><link rel="enclosure" type="application/octet-stream" length="4496" href="http://blogs.mssqltips.com/blogs/chadboyd/attachment/1972.ashx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/10/14/invoke-nz-powershell-script-similar-to-nz-vba-function.aspx</id><published>2008-10-14T14:33:00Z</published><updated>2008-10-14T14:33:00Z</updated><content type="html">I got a few pings about the Restore-SqlDb script requiring the Invoke-Nz script to execute - here it is. Similar functionality to that of the Nz function in VBA - basically pass along 2 values and the function will return the first value if it is present (i.e. non-null), otherwise the second (could also say it&amp;#39;s similar to the isnull() tsql function, or a coalesce with only 2 parameters). Sorry I missed this with the original Restore-SqlDb posting. Invoke-Nz.ps1 Thanks to everyone who reminded...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/10/14/invoke-nz-powershell-script-similar-to-nz-vba-function.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=1972" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="Powershell" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/Powershell/default.aspx" /></entry><entry><title>Restore-SqlDb - Automate a Database Restore (improved with Powershell)</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/10/12/restore-sqldb-automate-a-database-restore-improved-with-powershell.aspx" /><link rel="enclosure" type="application/base64" length="33708" href="http://blogs.mssqltips.com/blogs/chadboyd/attachment/1960.ashx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/10/12/restore-sqldb-automate-a-database-restore-improved-with-powershell.aspx</id><published>2008-10-13T04:01:00Z</published><updated>2008-10-13T04:01:00Z</updated><content type="html">UPDATE: This script requires the Invoke-TryCatch.ps1 and the newly posted Invoke-Nz.ps1 scripts as well - thanks to all who pinged me about the Inovke-Nz.ps1 being required. A while back I posted on Automating a Database Restore and it was quite a popular post, I also received multiple emails with requests for other features in the script such as allowing a restore to a different instance, extending support for SQL 2008 (if you try that script on a 2008 instance you&amp;#39;ll notice an error occurs...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/10/12/restore-sqldb-automate-a-database-restore-improved-with-powershell.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=1960" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="backup" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/backup/default.aspx" /><category term="Powershell" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/Powershell/default.aspx" /></entry><entry><title>Try/Catch/Finally with Powershell</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/10/04/try-catch-finally-with-powershell.aspx" /><link rel="enclosure" type="application/octet-stream" length="10591" href="http://blogs.mssqltips.com/blogs/chadboyd/attachment/1915.ashx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/10/04/try-catch-finally-with-powershell.aspx</id><published>2008-10-05T00:10:00Z</published><updated>2008-10-05T00:10:00Z</updated><content type="html">I ran across Adam Weigert&amp;#39;s posting/script that provides a PoSh script that allows try/catch/finally like behavior - very cool. I started using the script myself and found that as much as I loved it, I wanted to add some additional &amp;#39;features&amp;#39; to what it provides. I was looking for pipeline support (including the ability to throw &amp;#39;soft&amp;#39; errors in the pipeline that would allow the pipeline to continue processing), some optional verbose debugging/error related information (particularly...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/10/04/try-catch-finally-with-powershell.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=1915" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="Powershell" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/Powershell/default.aspx" /></entry><entry><title>Estimating Data Compression ratios for all...</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/09/22/estimating-data-compression-ratios-for-all.aspx" /><link rel="enclosure" type="application/octet-stream" length="11672" href="http://blogs.mssqltips.com/blogs/chadboyd/attachment/1858.ashx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/09/22/estimating-data-compression-ratios-for-all.aspx</id><published>2008-09-22T22:41:00Z</published><updated>2008-09-22T22:41:00Z</updated><content type="html">One of my favorite features with SQL 2008 has been Data and Backup compression (which I discuss in more detail technically here ) - this is not only because of the actual functionality it brings to the table, but also because of all the technical intricacies that it involves and the impact it can have on many other fun topics (fragmentation, storage, internals, etc.). Of course, the functionality is pretty cool too... One customer of mine was asking how they can get an idea of the level of compression...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/09/22/estimating-data-compression-ratios-for-all.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=1858" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="2008" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/2008/default.aspx" /><category term="tsql" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/tsql/default.aspx" /><category term="katmai" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/katmai/default.aspx" /><category term="compression" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/compression/default.aspx" /><category term="sql 2008" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/sql+2008/default.aspx" /></entry><entry><title>Automate a Database Restore</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/07/29/automate-a-database-restore.aspx" /><link rel="enclosure" type="application/octet-stream" length="38055" href="http://blogs.mssqltips.com/blogs/chadboyd/attachment/1525.ashx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/07/29/automate-a-database-restore.aspx</id><published>2008-07-30T01:19:00Z</published><updated>2008-07-30T01:19:00Z</updated><content type="html">NOTE: See an updated version of this functionality using Powershell and supporting some additional functionality here . It&amp;#39;s quite common to see automated/custom procedures for backing up a database/log - nearly everywhere I go companies have custom backup procedures and processes to handle backups, logging of backups, naming standards, locations, etc. However, it&amp;#39;s rare that I find processes/procedures in place to automate the restore of database/log backups - so rare in fact that I can...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/07/29/automate-a-database-restore.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=1525" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="backup" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/backup/default.aspx" /><category term="tsql" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/tsql/default.aspx" /></entry><entry><title>Installing Clustered SQL Servers - Outline, Checklists, Document Sheets</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/06/29/installing-clustered-sql-servers-outline-checklists-document-sheets.aspx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/06/29/installing-clustered-sql-servers-outline-checklists-document-sheets.aspx</id><published>2008-06-30T06:01:25Z</published><updated>2008-06-30T06:01:25Z</updated><content type="html">A high percentage of my interactions with clients revolve around clustering SQL Server in some manner or another - could be to review a high-availability solution, could be to stand up a new clustered instance of SQL, could be to troubleshoot a system that is having stability issues, etc. In all cases, I start with a set of checklists and informational-gathering sheets and tools to both review the existing state of the system, and also to understand the system we are working with - once we have all...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/06/29/installing-clustered-sql-servers-outline-checklists-document-sheets.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=1310" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="clustered" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/clustered/default.aspx" /><category term="SQL Installation" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/SQL+Installation/default.aspx" /></entry><entry><title>Katmai (Sql 2008) - Transaction Logging Enhancements</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/05/20/katmai-sql-2008-transaction-logging-enhancements.aspx" /><link rel="enclosure" type="application/octet-stream" length="1605" href="http://blogs.mssqltips.com/blogs/chadboyd/attachment/1029.ashx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/05/20/katmai-sql-2008-transaction-logging-enhancements.aspx</id><published>2008-05-21T06:36:00Z</published><updated>2008-05-21T06:36:00Z</updated><content type="html">Given some of the &amp;quot;larger&amp;quot; features being introduced with Sql 2008 which are getting lots of coverage and attention (understandably so), there are actually quite a few &amp;quot;smaller&amp;quot; features that are included which will provide a great deal of benefit to SQL Server users everywhere - one of those &amp;quot;smaller&amp;quot; features that hasn&amp;#39;t been getting as much attention is improvements made in the database engine for bulk-logging / minimal logging of standard INSERT INTO statements...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/05/20/katmai-sql-2008-transaction-logging-enhancements.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=1029" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="katmai" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/katmai/default.aspx" /><category term="sql 2008" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/sql+2008/default.aspx" /><category term="bulk loading" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/bulk+loading/default.aspx" /></entry><entry><title>SSD and SQL - Fragmentation Impact</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/04/07/ssd-and-sql-fragmentation-impact.aspx" /><link rel="enclosure" type="application/vnd.openxmlformats-officedocument.spre" length="33637" href="http://blogs.mssqltips.com/blogs/chadboyd/attachment/840.ashx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/04/07/ssd-and-sql-fragmentation-impact.aspx</id><published>2008-04-07T20:40:00Z</published><updated>2008-04-07T20:40:00Z</updated><content type="html">In the last post on Solid State and it&amp;#39;s impact on SQL Server operations , we looked at a variety of different IO patterns and sizes on multiple systems to see where and when SSD would help out and when it wouldn&amp;#39;t. If you read the post and analyzed the data, you could clearly see the huge gains Solid State provides with random read IO over traditional spindles - writing and large sequential reads seem to still favor traditional spindles. So, assuming you are in a system that performs lots...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/04/07/ssd-and-sql-fragmentation-impact.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=840" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="storage" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/storage/default.aspx" /><category term="ssd" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/ssd/default.aspx" /><category term="solid state" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/solid+state/default.aspx" /><category term="flash" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/flash/default.aspx" /></entry><entry><title>Partitioning Data for Query Performance - Where's the benefit?</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/19/partitioning-data-for-query-performance-where-s-the-benefit.aspx" /><link rel="enclosure" type="application/octet-stream" length="15238" href="http://blogs.mssqltips.com/blogs/chadboyd/attachment/752.ashx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/19/partitioning-data-for-query-performance-where-s-the-benefit.aspx</id><published>2008-03-19T20:08:00Z</published><updated>2008-03-19T20:08:00Z</updated><content type="html">I spend a lot of time interfacing with SQL engineers of all types (developers, dba&amp;#39;s, architects, ETL engineers, etc.) and something I hear very frequently is &amp;quot;I want to horizontally partition my data to improve my query response times to customers&amp;quot;. This usually makes me follow up the statement(s) with questions of my own such as &amp;quot;what types of queries are you trying to improve response times on by partitioning your data?&amp;quot; or &amp;quot;what systems are you thinking of employing...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/19/partitioning-data-for-query-performance-where-s-the-benefit.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=752" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="performance tuning" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/performance+tuning/default.aspx" /><category term="partitioning" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/partitioning/default.aspx" /></entry><entry><title>SSD and SQL - SQLIO performance</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/16/ssd-and-sql-sqlio-performance.aspx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/16/ssd-and-sql-sqlio-performance.aspx</id><published>2008-03-16T21:37:33Z</published><updated>2008-03-16T21:37:33Z</updated><content type="html">Let&amp;#39;s start the SSD blogs off with a comparison of the SQLIO tool running on my laptop and compare the results to some other traditional spindle based systems. First, let&amp;#39;s outline the systems we&amp;#39;ll be comparing throughout the SSD blogs: First, my laptop. This is a loaded Dell XPS M1330 laptop running Windows Vista Ultimate x64. Specs include a 2.2Ghz Intel Core2Duo T7500 processor (dual-core, 800MHz FSB, 4MB L2 cache), 4gb DDR2 SDRAM @ 667Mhz, and a single 64gb Solid State Drive (Samsung...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/16/ssd-and-sql-sqlio-performance.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=735" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="storage" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/storage/default.aspx" /><category term="ssd" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/ssd/default.aspx" /><category term="solid state" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/solid+state/default.aspx" /><category term="flash" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/flash/default.aspx" /></entry><entry><title>SSD and Me</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/12/ssd-and-me.aspx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/12/ssd-and-me.aspx</id><published>2008-03-13T00:15:00Z</published><updated>2008-03-13T00:15:00Z</updated><content type="html">I recently purchased 2 laptops with Solid State Drives in them (my loaded Dell XPS 1330 and my wife&amp;#39;s Apple MacBook Air ), and I have to say, I will never, ever again own a computer that doesn&amp;#39;t have a Solid State Drive in it (at least not until they make something even better). These suckers are great, well worth the money IMHO (of course, I am a techie and find huge value in having the latest and greatest of technology to work with, so that may impact things I&amp;#39;m sure). Of things to...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/12/ssd-and-me.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=722" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="storage" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/storage/default.aspx" /><category term="ssd" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/ssd/default.aspx" /><category term="solid state" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/solid+state/default.aspx" /><category term="flash" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/flash/default.aspx" /></entry><entry><title>Custom Index Defrag / Rebuild Procedures</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/09/custom-index-defrag-rebuild-procedures.aspx" /><link rel="enclosure" type="application/octet-stream" length="10319" href="http://blogs.mssqltips.com/blogs/chadboyd/attachment/709.ashx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/09/custom-index-defrag-rebuild-procedures.aspx</id><published>2008-03-09T15:10:00Z</published><updated>2008-03-09T15:10:00Z</updated><content type="html">I often get asked for custom procedures to help with index maintenance, including things such as reorganizing, rebuilding, stats updates, etc. There are quite a variety of these out there today (a simple google search will get you a bunch), and all have their pros/cons. The big thing I generally stress to customers when asked about this type of thing is to do what is best for their environment - a custom procedure that works perfectly for me in my environment(s) might be completely wrong for your...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/09/custom-index-defrag-rebuild-procedures.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=709" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="indexes" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/indexes/default.aspx" /><category term="tsql" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/tsql/default.aspx" /><category term="Fragmentation" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/Fragmentation/default.aspx" /></entry><entry><title>Fragmentation Station - Stop #8 - Hands On Experience</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/01/fragmentation-station-stop-8-hands-on-experience.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="59324" href="http://blogs.mssqltips.com/blogs/chadboyd/attachment/672.ashx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/01/fragmentation-station-stop-8-hands-on-experience.aspx</id><published>2008-03-01T19:34:00Z</published><updated>2008-03-01T19:34:00Z</updated><content type="html">In our final stop for the fragmentation series we&amp;#39;re going to walk through a complete script that will cover almost everything we&amp;#39;ve discussed in the series, including: New object creation and allocation (heaps, clustered, non-clustered indexes) Impact of parallel operations vs. serial, sort_in_tempdb, etc. Full scan, range scan, and singleton seek performance tests against cold and warm caches with: No fragmentation Logical fragmentation (unordered pages with high page density and low page...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/03/01/fragmentation-station-stop-8-hands-on-experience.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=672" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="storage" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/storage/default.aspx" /><category term="Fragmentation" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/Fragmentation/default.aspx" /><category term="internals" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/internals/default.aspx" /></entry><entry><title>Fragmentation Station - Stop #7 - How to address it</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/02/23/fragmentation-station-stop-7-how-to-address-it.aspx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/02/23/fragmentation-station-stop-7-how-to-address-it.aspx</id><published>2008-02-23T15:12:00Z</published><updated>2008-02-23T15:12:00Z</updated><content type="html">In our 2nd to last post in the Fragmentation series , we&amp;#39;ll discuss our options on addressing and removing/correcting fragmentation. In our next and final post in the series, we&amp;#39;ll end with a full-fledged SQL script that will walk you through all the different things we&amp;#39;ve talked about in the series to give you some up close and personal experience with what we&amp;#39;ve gone through. Once you&amp;#39;ve detected that you have fragmentation , understand what it impacts in your workload , and...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/02/23/fragmentation-station-stop-7-how-to-address-it.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=313" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="storage" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/storage/default.aspx" /><category term="Fragmentation" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/Fragmentation/default.aspx" /><category term="internals" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/internals/default.aspx" /></entry><entry><title>Fragmentation Station - Stop #6b - Custom Detection Procedure, Page Linkage</title><link rel="alternate" type="text/html" href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/02/22/fragmentation-station-stop-6b-custom-detection-procedure-page-linkage.aspx" /><link rel="enclosure" type="application/octet-stream" length="8584" href="http://blogs.mssqltips.com/blogs/chadboyd/attachment/312.ashx" /><id>http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/02/22/fragmentation-station-stop-6b-custom-detection-procedure-page-linkage.aspx</id><published>2008-02-22T21:41:00Z</published><updated>2008-02-22T21:41:00Z</updated><content type="html">In post #6 of the series, I mentioned that I often get asked for alternative methods of looking at fragmentation, a way to view the page chain or linkage, and ways to get insight into which pages are out of order in a given structure. There is nothing super graceful to be honest, but you can make use of a DBCC statement (DBCC IND()) to get page linkage and order data, then using some relatively complex querying against the data captured you can see some of this type of information. This post has...(&lt;a href="http://blogs.mssqltips.com/blogs/chadboyd/archive/2008/02/22/fragmentation-station-stop-6b-custom-detection-procedure-page-linkage.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.mssqltips.com/aggbug.aspx?PostID=312" width="1" height="1"&gt;</content><author><name>Chad Boyd</name><uri>http://blogs.mssqltips.com/members/Chad-Boyd.aspx</uri></author><category term="storage" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/storage/default.aspx" /><category term="Fragmentation" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/Fragmentation/default.aspx" /><category term="internals" scheme="http://blogs.mssqltips.com/blogs/chadboyd/archive/tags/internals/default.aspx" /></entry></feed>