<?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>SQLServerPedia &#187; Database Design</title>
	<atom:link href="http://sqlserverpedia.com/blog/category/database-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://sqlserverpedia.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 02 Sep 2010 21:26:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Build a Solid Foundation</title>
		<link>http://sqlserverpedia.com/blog/database-design/build-a-solid-foundation/</link>
		<comments>http://sqlserverpedia.com/blog/database-design/build-a-solid-foundation/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 14:16:00 +0000</pubDate>
		<dc:creator>David Dye</dc:creator>
				<category><![CDATA[Database Design]]></category>
		<category><![CDATA[SQL Server Bloggers]]></category>

		<guid isPermaLink="false">tag:blogger.com,1999:blog-5509905597053241818.post-4932466466359269014</guid>
		<description><![CDATA[While walking to a training center I found this building under construction and was immediately inspired to write a post on proper database design and best practices. During the walk back to the hotel I picked up a copy of SQL Server MVP Deep Dives and...]]></description>
			<content:encoded><![CDATA[While walking to a training center I found this building under construction and was immediately inspired to write a post on proper database design and best practices.<br /><a href="http://lh4.ggpht.com/_HI_lqToAyMo/TDXdqFvOxYI/AAAAAAAAAMo/D8IeMJglRiY/s1600-h/IMG00067-20100630-1742%5B3%5D.jpg"><img alt="IMG00067-20100630-1742" border="0" height="205" src="http://lh4.ggpht.com/_HI_lqToAyMo/TDXdq6Yr4LI/AAAAAAAAAMs/Fnl1KUO0NbE/IMG00067-20100630-1742_thumb%5B10%5D.jpg?imgmax=800" style="border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="IMG00067-20100630-1742" width="244" /></a> <br />During the walk back to the hotel I picked up a copy of <a href="http://www.amazon.com/SQL-Server-MVP-Deep-Dives/dp/1935182048#_"><span style="color: blue;">SQL Server MVP Deep Dives</span></a> and decided to read a couple of chapters before I dove into this post.&nbsp; After finishing the first two chapters, <br /><em>chapter 1 Louis and Paul’s 10 key relational database design ideas</em> by <a href="http://sqlblog.com/blogs/paul_nielsen/"><span style="color: blue;">Paul Nielsen</span></a> and <a href="http://sqlblog.com/blogs/louis_davidson/default.aspx"><span style="color: blue;">Louis Davidson</span></a><br /><em>chapter 2 SQL Server tools for maintaining data integrity by <a href="http://sqlblog.com/blogs/louis_davidson/default.aspx"><span style="color: blue;">Louis Davidson</span></a></em><br />I discovered that this topic was covered far more completely and eloquently than I could possibly hope to accomplish in a single post.<br />If you are asking yourself, “<em>Why post this?”</em>&nbsp; The answer is simple… <strong>KEWL PICTURE!!</strong>&nbsp; This post is not meant to be a marketing scheme, but I found the book well worth the price.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5509905597053241818-4932466466359269014?l=sqlsafety.blogspot.com' alt='' /></div><img src="http://feeds.feedburner.com/~r/SqlSafety/~4/YmXacnM8G0w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlserverpedia.com/blog/database-design/build-a-solid-foundation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Method For Testing Database Design</title>
		<link>http://sqlserverpedia.com/blog/database-design/a-method-for-testing-database-design/</link>
		<comments>http://sqlserverpedia.com/blog/database-design/a-method-for-testing-database-design/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 12:00:47 +0000</pubDate>
		<dc:creator>Michael Swart</dc:creator>
				<category><![CDATA[Database Design]]></category>
		<category><![CDATA[SQL Server Bloggers]]></category>

		<guid isPermaLink="false">http://michaeljswart.com/?p=721</guid>
		<description><![CDATA[How do Database Designers test their designs out? I think I've come up with something that I've found useful.]]></description>
			<content:encoded><![CDATA[<p><em><span style="font-style: normal;">So for testing, </span><strong>DBAs</strong></em> have their SQLIO, performance monitor and a host of other monitoring tools. It helps them gauge how well hardware and networks are holding up.</p>
<p>And also for testing, us<em> <strong>Database Developers</strong></em> have SQL Server DMVs, Server Traces other tools. It helps gauge how often and how hard hitting queries are. Pointing to missing indexes, stats, or maybe a query or sproc in need of a rewrite.</p>
<p>But how do <em><strong>Database Designers</strong></em> test their designs out? I think I&#8217;ve come up with something that I&#8217;ve found useful. It tests one DB design rule of thumb that I&#8217;ve always gone by.</p>
<h3><strong>The DB-Design Rule of Thumb</strong></h3>
<blockquote><p><em>Databases should only store data that follows your business rules.</em></p></blockquote>
<p>Well duh! But what I mean to say is that a database should <em>not </em>be allowed to store data that <em>doesn&#8217;t</em> follow business rules right? In other words you should never overhear anyone say &#8220;That bug is due to bad data in the database.&#8221;</p>
<p>It&#8217;s that rule-of-thumb that I&#8217;m I want to test here.</p>
<p><strong>So here&#8217;s what you do:</strong></p>
<ul>
<li>Find your favorite <a href="http://www.google.com/search?q=database+test+data+generator">database test data generator</a></li>
<li>Point it at your favorite development database. (Operational tables only, skip the static data tables).</li>
<li>Load that database with as much data as you can.</li>
<li>Use the app (in my case a web site)</li>
<li>Debug the crazy stuff but (and here&#8217;s the crazy part) <em>as db design bugs!</em></li>
</ul>
<p>Don&#8217;t think of these bugs as problems on your way to a nice test database. <em>They&#8217;re opportunities to improve your database design! </em>Let me explain it the way the kids do on the internet:</p>
<div id="attachment_726" class="wp-caption aligncenter" style="width: 341px"><img class="size-full wp-image-726" title="Fact! These photos weren't taken for this post." src="http://michaeljswart.com/wp-content/uploads/2010/06/DB.png" alt="Fact! These photos weren't taken for this post." width="331" height="601" /><p class="wp-caption-text">Realizing the glass is half full.</p></div>
<p><em> </em>The crazy stuff is really helpful in pointing out what your database will allow but shouldn&#8217;t allow. The stuff that can be debugged usually falls under two categories:</p>
<ol>
<li>Actual application exceptions.</li>
<li>App behavior that makes you go hmmm*</li>
</ol>
<p><strong>Bonus:</strong><br />
This method actually works <em>best</em> on applications that have been around a while. I tried this method out on a large old application (considered very mature in terms of software age) and in the first ten minutes I found a missing foreign key and two missing constraints and a large number of columns that should not allow nulls.</p>
<p><strong>Bonus #2:</strong><br />
This isn&#8217;t SQL Server specific, but works for any well normalized (or nearly normalized)  RDBMS.</p>
<p><strong>Caveat:</strong><br />
First of all. Everyone should know that I consider myself more of a database developer. I&#8217;m competent at database design, but I&#8217;m kind of wading into territory normally occupied by Louis Davidson (<a href="http://twitter.com/drsql">Twitter</a>|<a href="http://drsql.org/default.aspx">Blog</a>) or Karen Lopez (<a href="http://twitter.com/datachick">Twitter</a>|<a href="http://www.infoadvisors.com/Home/tabid/36/BlogID/1/Default.aspx">Blog</a>).  If either of them weigh in here, or anywhere for that matter, listen to them.</p>
<p>Cheers, Let me know if you found any of this useful at all. I&#8217;d like to see what mileage others get.</p>
<p><em>* &#8212; BTW, anyone else miss the nineties yet?</em></p>
<img src="http://feeds.feedburner.com/~r/MichaelSwart/~4/PYK91dLc1EQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://sqlserverpedia.com/blog/database-design/a-method-for-testing-database-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bitemporal Data</title>
		<link>http://sqlserverpedia.com/blog/database-design/bitemporal-data/</link>
		<comments>http://sqlserverpedia.com/blog/database-design/bitemporal-data/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 14:12:50 +0000</pubDate>
		<dc:creator>Kevin Kline</dc:creator>
				<category><![CDATA[Database Design]]></category>
		<category><![CDATA[Transact-SQL (T-SQL)]]></category>

		<guid isPermaLink="false">http://sqlserverpedia.com/blog/?p=6850</guid>
		<description><![CDATA[Any IT pro with more than a year or two of experience will have faced the challenges of version control for an application, but what if you have to implement version control for data?
The most common way to tackle this problem is implementing something called &#8220;bitemporal data&#8221;. Under this method, each row in a table [...]]]></description>
			<content:encoded><![CDATA[<p>Any IT pro with more than a year or two of experience will have faced the challenges of version control for an application, but what if you have to implement version control for data?</p>
<p>The most common way to tackle this problem is implementing something called &#8220;bitemporal data&#8221;. Under this method, each row in a table includes the current valid time and the transaction time. Since two distinct time values are stored, we get the term bitemporal.</p>
<p>A great place to start is <a title="Adam Machanic's Blog" href="http://sqlblog.com/blogs/adam_machanic/default.aspx" target="_blank">Adam Machanic</a>&#8217;s excellent article at http://www.simple-talk.com/sql/t-sql-programming/a-primer-on-managing-data-bitemporally/. In addition, I encourage you to check out Adam&#8217;s book &#8220;<a title="Expert SQL Server 2005 Development" href="http://www.apress.com/book/view/9781590597293" target="_blank">Expert SQL Server 2005 Development</a>&#8221; at http://www.apress.com/book/view/9781590597293.</p>
<p>In addition, <a title="Dejan Sarka's Blog" href="http://blogs.solidq.com/EN/dsarka/default.aspx" target="_blank">Dejan Sarka</a> pointed out that you can get a very comprehensive information on supporting temporal data from a book entitled &#8220;<a title="Developing Time-Oriented Database Applications" href="http://www.cs.arizona.edu/~rts/publications.html" target="_blank">Developing Time-Oriented Database Applications in SQL</a>&#8221; by Richard T. Snodgrass. Mr. Snodgrass was so kind to publish the book in PDF format and make it available for free download at http://www.cs.arizona.edu/~rts/publications.html. (Note that the book is quite old now (year 1999), so the T-SQL code does not include any SQL Server 2005 or 2008 enhancements. But the basic SQL is still solid.</p>
<p>Cheers!</p>
<p>-Kevin</p>
<p>kekline @ twitter</p>
<p>P.S. Check out my new site &#8211; http://kevinekline.com</p>




	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fbitemporal-data%2F&amp;title=Bitemporal%20Data&amp;bodytext=Any%20IT%20pro%20with%20more%20than%20a%20year%20or%20two%20of%20experience%20will%20have%20faced%20the%20challenges%20of%20version%20control%20for%20an%20application%2C%20but%20what%20if%20you%20have%20to%20implement%20version%20control%20for%20data%3F%0D%0A%0D%0AThe%20most%20common%20way%20to%20tackle%20this%20problem%20is%20implementing%20some" title="Digg"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fbitemporal-data%2F&amp;title=Bitemporal%20Data&amp;notes=Any%20IT%20pro%20with%20more%20than%20a%20year%20or%20two%20of%20experience%20will%20have%20faced%20the%20challenges%20of%20version%20control%20for%20an%20application%2C%20but%20what%20if%20you%20have%20to%20implement%20version%20control%20for%20data%3F%0D%0A%0D%0AThe%20most%20common%20way%20to%20tackle%20this%20problem%20is%20implementing%20some" title="del.icio.us"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fbitemporal-data%2F&amp;title=Bitemporal%20Data" title="DZone"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fbitemporal-data%2F&amp;title=Bitemporal%20Data" title="DotNetKicks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fbitemporal-data%2F&amp;title=Bitemporal%20Data&amp;annotation=Any%20IT%20pro%20with%20more%20than%20a%20year%20or%20two%20of%20experience%20will%20have%20faced%20the%20challenges%20of%20version%20control%20for%20an%20application%2C%20but%20what%20if%20you%20have%20to%20implement%20version%20control%20for%20data%3F%0D%0A%0D%0AThe%20most%20common%20way%20to%20tackle%20this%20problem%20is%20implementing%20some" title="Google Bookmarks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fbitemporal-data%2F&amp;title=Bitemporal%20Data&amp;body=Any%20IT%20pro%20with%20more%20than%20a%20year%20or%20two%20of%20experience%20will%20have%20faced%20the%20challenges%20of%20version%20control%20for%20an%20application%2C%20but%20what%20if%20you%20have%20to%20implement%20version%20control%20for%20data%3F%0D%0A%0D%0AThe%20most%20common%20way%20to%20tackle%20this%20problem%20is%20implementing%20some" title="Ping.fm"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fbitemporal-data%2F&amp;title=Bitemporal%20Data" title="Reddit"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fbitemporal-data%2F&amp;title=Bitemporal%20Data" title="StumbleUpon"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="" title="TwitThis"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://sqlserverpedia.com/blog/database-design/bitemporal-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server VLDB Partitioning Tutorial</title>
		<link>http://sqlserverpedia.com/blog/database-design/sql-server-vldb-partitioning-tutorial/</link>
		<comments>http://sqlserverpedia.com/blog/database-design/sql-server-vldb-partitioning-tutorial/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 14:30:56 +0000</pubDate>
		<dc:creator>Brent Ozar</dc:creator>
				<category><![CDATA[Database Design]]></category>
		<category><![CDATA[Podcasts]]></category>
		<category><![CDATA[partitioning]]></category>
		<category><![CDATA[vldb]]></category>

		<guid isPermaLink="false">http://sqlserverpedia.com/blog/?p=6357</guid>
		<description><![CDATA[Tables with hundreds of millions of rows or billions of rows need a way to manage that data easier.  SQL Server 2005 introduced partitioning, and it&#8217;s been improved ever since.  Learn about how to implement it in this ten-minute training video.
For more about SQL Server table partitioning and other VLDB tips, check out our Very [...]]]></description>
			<content:encoded><![CDATA[<p>Tables with hundreds of millions of rows or billions of rows need a way to manage that data easier.  SQL Server 2005 introduced partitioning, and it&#8217;s been improved ever since.  Learn about how to implement it in this ten-minute training video.</p>
[See post to watch Flash video]
<p>For more about SQL Server table partitioning and other VLDB tips, <a href="http://sqlserverpedia.com/wiki/Very_Large_Databases_(VLDBs)">check out our Very Large Databases wiki article</a>.</p>
<h3>Subscribing or Downloading the Podcast</h3>
<p>If you have an MP3 player or a portable video player and you want to download our videos automatically, you can subscribe to our podcast feeds here:</p>
<ul>
<li><a href="http://feeds.feedburner.com/SqlserverpediaSqlServerTutorialPodcastMP4">MP4 (Apple) Video Feed</a></li>
<li><a href="http://feeds.feedburner.com/SqlserverpediaSqlServerTutorialPodcastWMV">WMV (Microsoft) Video Feed</a></li>
<li><a href="http://feeds.feedburner.com/SqlserverpediaSqlServerTutorialPodcastMP3">MP3 Audio-Only Feed</a></li>
<li><a href="zune://subscribe/?SQLServerPedia%20Video=http://feeds.feedburner.com/SqlserverpediaSqlServerTutorialPodcastMP4">Zune One-Click Subscribe for Video</a></li>
<li><a href="zune://subscribe/?SQLServerPedia%20Audio=http://feeds.feedburner.com/SqlserverpediaSqlServerTutorialPodcastMP3">Zune One-Click Subscribe for MP3</a></li>
</ul>
<p>You can also download this video to watch it later:</p>
<ul>
<li><a href="http://tutorials.sqlserverpedia.com/SQLServerPedia-20090706-Partitioning.mp4">MP4 (Apple) Video Download</a></li>
<li><a href="http://tutorials.sqlserverpedia.com/SQLServerPedia-20090706-Partitioning.wmv">WMV (Microsoft) Video Download</a></li>
<li><a href="http://tutorials.sqlserverpedia.com/SQLServerPedia-20090706-Partitioning.mp3">MP3 Audio-Only Download</a></li>
</ul>




	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fsql-server-vldb-partitioning-tutorial%2F&amp;title=SQL%20Server%20VLDB%20Partitioning%20Tutorial&amp;bodytext=Tables%20with%20hundreds%20of%20millions%20of%20rows%20or%20billions%20of%20rows%20need%20a%20way%20to%20manage%20that%20data%20easier.%C2%A0%20SQL%20Server%202005%20introduced%20partitioning%2C%20and%20it%27s%20been%20improved%20ever%20since.%C2%A0%20Learn%20about%20how%20to%20implement%20it%20in%20this%20ten-minute%20training%20video.%0D%0A%0D%0A" title="Digg"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fsql-server-vldb-partitioning-tutorial%2F&amp;title=SQL%20Server%20VLDB%20Partitioning%20Tutorial&amp;notes=Tables%20with%20hundreds%20of%20millions%20of%20rows%20or%20billions%20of%20rows%20need%20a%20way%20to%20manage%20that%20data%20easier.%C2%A0%20SQL%20Server%202005%20introduced%20partitioning%2C%20and%20it%27s%20been%20improved%20ever%20since.%C2%A0%20Learn%20about%20how%20to%20implement%20it%20in%20this%20ten-minute%20training%20video.%0D%0A%0D%0A" title="del.icio.us"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fsql-server-vldb-partitioning-tutorial%2F&amp;title=SQL%20Server%20VLDB%20Partitioning%20Tutorial" title="DZone"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fsql-server-vldb-partitioning-tutorial%2F&amp;title=SQL%20Server%20VLDB%20Partitioning%20Tutorial" title="DotNetKicks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fsql-server-vldb-partitioning-tutorial%2F&amp;title=SQL%20Server%20VLDB%20Partitioning%20Tutorial&amp;annotation=Tables%20with%20hundreds%20of%20millions%20of%20rows%20or%20billions%20of%20rows%20need%20a%20way%20to%20manage%20that%20data%20easier.%C2%A0%20SQL%20Server%202005%20introduced%20partitioning%2C%20and%20it%27s%20been%20improved%20ever%20since.%C2%A0%20Learn%20about%20how%20to%20implement%20it%20in%20this%20ten-minute%20training%20video.%0D%0A%0D%0A" title="Google Bookmarks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fsql-server-vldb-partitioning-tutorial%2F&amp;title=SQL%20Server%20VLDB%20Partitioning%20Tutorial&amp;body=Tables%20with%20hundreds%20of%20millions%20of%20rows%20or%20billions%20of%20rows%20need%20a%20way%20to%20manage%20that%20data%20easier.%C2%A0%20SQL%20Server%202005%20introduced%20partitioning%2C%20and%20it%27s%20been%20improved%20ever%20since.%C2%A0%20Learn%20about%20how%20to%20implement%20it%20in%20this%20ten-minute%20training%20video.%0D%0A%0D%0A" title="Ping.fm"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fsql-server-vldb-partitioning-tutorial%2F&amp;title=SQL%20Server%20VLDB%20Partitioning%20Tutorial" title="Reddit"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fsql-server-vldb-partitioning-tutorial%2F&amp;title=SQL%20Server%20VLDB%20Partitioning%20Tutorial" title="StumbleUpon"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="" title="TwitThis"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://sqlserverpedia.com/blog/database-design/sql-server-vldb-partitioning-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://tutorials.sqlserverpedia.com/SQLServerPedia-20090706-Partitioning.mp4" length="29961333" type="video/mp4" />
<enclosure url="http://tutorials.sqlserverpedia.com/SQLServerPedia-20090706-Partitioning.mp3" length="4983453" type="audio/mpeg" />
<enclosure url="http://tutorials.sqlserverpedia.com/SQLServerPedia-20090706-Partitioning.wmv" length="17699521" type="video/x-ms-wmv" />
		</item>
		<item>
		<title>The SQL Doctor Is In</title>
		<link>http://sqlserverpedia.com/blog/database-design/the-sql-doctor-is-in/</link>
		<comments>http://sqlserverpedia.com/blog/database-design/the-sql-doctor-is-in/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 19:13:18 +0000</pubDate>
		<dc:creator>Thomas LaRock</dc:creator>
				<category><![CDATA[Database Design]]></category>
		<category><![CDATA[SQL Server Bloggers]]></category>

		<guid isPermaLink="false">http://sqlbatman.com/?p=1737</guid>
		<description><![CDATA[Denis Gobo dropped me an email the other day to mention that I should have included a book (Pro SQL Server 2008 Relational Database Design and Implementation) by Louis Davidson et al., in my Technical Library. No question this is a must read for anyone interested in database design  and since Denis also offered a book [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/denisgobo" >Denis Gobo</a> dropped me an email the other day to mention that I should have included a book (Pro SQL Server 2008 Relational Database Design and Implementation) by Louis Davidson et al., in my <a href="http://sqlbatman.com/book-reviews/" >Technical Library</a>. No question this is a must read for anyone interested in database design  and since Denis also offered a <a href="http://blogs.lessthandot.com/index.php/WebDev/WebDesignGraphicsStyling/review-of-pro-sql-server-2008-relational" >book review</a> it made it real easy to get this added quickly.</p>
<p>I have known Louis for about five years now, and known of Louis for even longer. I still remember listening to an interview he did for <a href="http://www.sqldownunder.com/Default.aspx" >SQLDownUnder</a> a few years back (<a href="http://www.sqldownunder.com/PreviousShows/tabid/98/Default.aspx" >number twelve on this page</a>). Listen for the part where he says one of top errors in database design is &#8220;people not listening to me&#8221;. When I heard that podcast while jogging I knew I could learn a lot from him.</p>
<p>Truthfully I want to have a shelf dedicated to database design, but the widget needs at least six books so I have some reading to do before I can comfortably recommend others. I need two or three more, so if you have a book to recommend just drop me an email.</p>
]]></content:encoded>
			<wfw:commentRss>http://sqlserverpedia.com/blog/database-design/the-sql-doctor-is-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can I encrypt my database?</title>
		<link>http://sqlserverpedia.com/blog/sql-server-backup-and-restore/how-can-i-encrypt-my-database/</link>
		<comments>http://sqlserverpedia.com/blog/sql-server-backup-and-restore/how-can-i-encrypt-my-database/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 17:34:39 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Database Design]]></category>
		<category><![CDATA[SQL Server Backup and Restore]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[SQL Server Security]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://sqlserverpedia.com/blog/uncategorized/how-can-i-encrypt-my-database/</guid>
		<description><![CDATA[This is a very general question that someone could certainly write a book on but I&#8217;ll go at answering it by providing a few options and explaining the pro&#8217;s and con&#8217;s of each solution.&#160; The following list is by no means comprehensive.
The first question you need to ask yourself before going on this journey is [...]]]></description>
			<content:encoded><![CDATA[<p>This is a very general question that someone could certainly write a book on but I&#8217;ll go at answering it by providing a few options and explaining the pro&#8217;s and con&#8217;s of each solution.&nbsp; The following list is by no means comprehensive.</p>
<p>The first question you need to ask yourself before going on this journey is where does the encryption need to occur and who are you protecting the data from.&nbsp; These two questions will drive the amount of effort and complexity required in building a solution.</p>
<p>1)&nbsp; In database encryption.&nbsp; The database is encrypted in the database and is viewable to no-one unless they have access to the encryption key.&nbsp; The data could be encrypted at the application level by first running the data through an encryption algorithm before inserting into the database or the data can be encrypted using SQL Server 2005&#8217;s column level encryption or SQL Server 2008&#8217;s transparent data encryption.&nbsp; Using in database encryption is the most secure option in that it can be leveraged to protect sensitive data from anyone that gains access to the database engine itself (whether valid or invalid access) however it has significant performance and scalability caveats.&nbsp; Encrypting at the application level basically ensures that SQL Server will not be able properly index the data and therefore query perofmance may be dreadful with large data sets.&nbsp; Leveraging column level encryption or TDE also will introduce query processing overhead and adversely affects the performance of your queries but not to the same extent.&nbsp;&nbsp; Another drawback of In Database encrption is that it renders backup compression (whether through SQL Server 2008 or a third party backup product or winzip) obsolete.&nbsp; Encrypted data is not compressible, therefore the size of your encrypted database will roughly equal the size of your backup files regardless of the compression technology used.</p>
<p>2)&nbsp; If you do not need to secure data inside of the database but want to secure data once it leaves the database, a good solution would be to leverage a third party backup solution such as <a href="http://www.quest.com/litespeed">LiteSpeed</a>.&nbsp; These solutions will compress and also encrypt backup data in memory so that it is secured as soon as it leaves the database.&nbsp; This is an attractive option to companies that store backups on network devices and are worried about internal or external users gaining access to network resources and therefore having direct access to backup files.&nbsp; If you think that native backup files are secured, try opening a small database backup file in notepad.&nbsp; You will see that all of the data is stored in plain text.&nbsp; If you have a copy of pubs lying around from the SQL 2000 days you can back it up, open the backup file in notepad, search for &#8220;Smith&#8221; and you will see Smith&#8217;s social security number right there.&nbsp; This method of database encryption will not secure the data in the database, so anyone who gains database access has free reign on your data, but thats what DBA&#8217;s are for right???</p>
<p>3)&nbsp; A third option, and the last that we will discuss here, is to leverage encryption at the tape level.&nbsp; Most organizations take their disk based backups and eventually migrate them to tape, where the backups files are then encrypted and eventually moved to offsite storage.&nbsp; This should be a bare minimum for any SQL Server as once a tape leaves offsite anything could happen to it.&nbsp; There have been many major news stories recently discussing companies that have had backup tapes lost or stolen and without leveraging at a minimum the tape systems encryption, that data is available to anyone that may &#8220;find&#8221; a backup tape.&nbsp; Tape level encryption does nothing to protect the database info inside of the database or the backup data inside of a companies network, but it does protect the data once it is transported offsite.&nbsp; The nice advantage of this as well as the previous option is that they impose no overhead on standard database workload, they simply may add some overhead to your backup time depending on the level of encyption that you are performing.</p>
<p>Hopefully this brief rundown of database encryption options has given you enough info to get started decideing which implentation strategy is best for you, and as always if you have any further questions, feel free to submit them.</p>




	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fsql-server-backup-and-restore%2Fhow-can-i-encrypt-my-database%2F&amp;title=How%20can%20I%20encrypt%20my%20database%3F&amp;bodytext=This%20is%20a%20very%20general%20question%20that%20someone%20could%20certainly%20write%20a%20book%20on%20but%20I%27ll%20go%20at%20answering%20it%20by%20providing%20a%20few%20options%20and%20explaining%20the%20pro%27s%20and%20con%27s%20of%20each%20solution.%26nbsp%3B%20The%20following%20list%20is%20by%20no%20means%20comprehensive.%0A%0AThe%20first" title="Digg"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fsql-server-backup-and-restore%2Fhow-can-i-encrypt-my-database%2F&amp;title=How%20can%20I%20encrypt%20my%20database%3F&amp;notes=This%20is%20a%20very%20general%20question%20that%20someone%20could%20certainly%20write%20a%20book%20on%20but%20I%27ll%20go%20at%20answering%20it%20by%20providing%20a%20few%20options%20and%20explaining%20the%20pro%27s%20and%20con%27s%20of%20each%20solution.%26nbsp%3B%20The%20following%20list%20is%20by%20no%20means%20comprehensive.%0A%0AThe%20first" title="del.icio.us"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fsql-server-backup-and-restore%2Fhow-can-i-encrypt-my-database%2F&amp;title=How%20can%20I%20encrypt%20my%20database%3F" title="DZone"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fsql-server-backup-and-restore%2Fhow-can-i-encrypt-my-database%2F&amp;title=How%20can%20I%20encrypt%20my%20database%3F" title="DotNetKicks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fsql-server-backup-and-restore%2Fhow-can-i-encrypt-my-database%2F&amp;title=How%20can%20I%20encrypt%20my%20database%3F&amp;annotation=This%20is%20a%20very%20general%20question%20that%20someone%20could%20certainly%20write%20a%20book%20on%20but%20I%27ll%20go%20at%20answering%20it%20by%20providing%20a%20few%20options%20and%20explaining%20the%20pro%27s%20and%20con%27s%20of%20each%20solution.%26nbsp%3B%20The%20following%20list%20is%20by%20no%20means%20comprehensive.%0A%0AThe%20first" title="Google Bookmarks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fsql-server-backup-and-restore%2Fhow-can-i-encrypt-my-database%2F&amp;title=How%20can%20I%20encrypt%20my%20database%3F&amp;body=This%20is%20a%20very%20general%20question%20that%20someone%20could%20certainly%20write%20a%20book%20on%20but%20I%27ll%20go%20at%20answering%20it%20by%20providing%20a%20few%20options%20and%20explaining%20the%20pro%27s%20and%20con%27s%20of%20each%20solution.%26nbsp%3B%20The%20following%20list%20is%20by%20no%20means%20comprehensive.%0A%0AThe%20first" title="Ping.fm"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fsql-server-backup-and-restore%2Fhow-can-i-encrypt-my-database%2F&amp;title=How%20can%20I%20encrypt%20my%20database%3F" title="Reddit"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fsql-server-backup-and-restore%2Fhow-can-i-encrypt-my-database%2F&amp;title=How%20can%20I%20encrypt%20my%20database%3F" title="StumbleUpon"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="" title="TwitThis"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://sqlserverpedia.com/blog/sql-server-backup-and-restore/how-can-i-encrypt-my-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple filegroups: yay or nay?</title>
		<link>http://sqlserverpedia.com/blog/database-design/multiple-filegroups-yay-or-nay/</link>
		<comments>http://sqlserverpedia.com/blog/database-design/multiple-filegroups-yay-or-nay/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 15:34:10 +0000</pubDate>
		<dc:creator>Brent Ozar</dc:creator>
				<category><![CDATA[Database Design]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[filegroups]]></category>

		<guid isPermaLink="false">http://sqlserverpedia.com/blog/?p=400</guid>
		<description><![CDATA[Stephanie wrote in with two questions:

Is there a gain in getting 2 LDF (log) files for one database?  My opinion is no, because log file access is sequential, so no performance gain can be obtained and this will complicate maintenance.
Is there a gain in separating the data &#38; indexes onto 2 specific filegroups?  My opinion [...]]]></description>
			<content:encoded><![CDATA[<p>Stephanie wrote in with two questions:</p>
<ol>
<li><em>Is there a gain in getting 2 LDF (log) files for one database?  My opinion is no, because log file access is sequential, so no performance gain can be obtained and this will complicate maintenance.</em></li>
<li><em>Is there a gain in separating the data &amp; indexes onto 2 specific filegroups?  My opinion is no, because the way SQL Server handles indexes (as opposed to Oracle) does not help if you split them from the data.</em></li>
</ol>
<p>First things first, multiple log files &#8211; I agree that you don&#8217;t want to do two LDF files for a single database unless there&#8217;s special circumstances.  At one shop, we had a pre-grown full-size log file for each database (with autogrow turned off), but we kept an &#8220;emergency&#8221; log file for each database on an empty drive.  The &#8220;emergency&#8221; log files were 1mb, and set to autogrow.  If a database completely ran out of log space in its normal pre-grown log files, then it would start using that &#8220;emergency&#8221; log file and growing it.  That was better than stopping the database completely, and gave us enough time to kill transactions and roll things back.</p>
<p>That certainly wasn&#8217;t a best practice, and it didn&#8217;t buy us any performance, but we had to do it based on the unpredictable nature of those applications and the way they would sometimes load huge amounts of data in a single transaction.  In that case, multiple LDF files served a purpose.  (When our Microsoft contact found out what we were doing, they hit the roof and told us to just go buy enough disk to be done with it, and the business guys finally decided to shell out the dough.)</p>
<p>Adding a second file adds complexity, like you said, and the same holds true whether it&#8217;s a log file or a data file, which segues into your second question.  Adding a second data file for indexes adds more design overhead &#8211; suddenly the DBA has to pay attention with where they&#8217;re placing objects.</p>
<p>In the days of my youth (ahh, for the sweet days of 2004), I liked this idea for my 1tb data warehouse because I could rebuild indexes faster with less impact on the end users.  Now that I&#8217;m old (okay, maybe just older) and SQL Server 2005 Enterprise Edition lets us rebuild most indexes online, I don&#8217;t bother with that anymore.</p>
<p>Plus, when I started managing storage area networks, I had a different reason.  Storage is getting faster and faster every year, but DBAs aren&#8217;t getting any more hours in their day.  Keeping data and indexes on different filegroups requires careful attention during development.  All it takes is one knucklehead adding an index without paying attention, and bam, you&#8217;ve got indexes on the data filegroup.  That means you have to introduce a new task into your daily/weekly/monthly routine: running a query to identify which objects are on which filegroups.</p>
<p>What a pain.</p>
<p>I&#8217;ve struggled with finding and hiring good DBAs, and if I have a choice between making my database 5% faster or making my DBAs 5% faster, I choose that latter option.  I can get 5% more storage performance by adding a few more drive spindles, but it&#8217;s harder &#8211; and more expensive &#8211; to get 5% more good DBA time.</p>
<p>On the other hand, if I was in a shop where my DBAs had plenty of time (or worked for peanuts, whate, then I would take a sandbox system, set it up the same way as production, and do performance benchmarking to see how much of a difference a separate index filegroup made on my exact hardware, storage and application.</p>
<p>You&#8217;re asking me, though, so I bet you don&#8217;t have the time to do that research either.  In that case, keep it simple!</p>




	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fmultiple-filegroups-yay-or-nay%2F&amp;title=Multiple%20filegroups%3A%20yay%20or%20nay%3F&amp;bodytext=Stephanie%20wrote%20in%20with%20two%20questions%3A%0D%0A%0D%0A%09Is%20there%20a%20gain%20in%20getting%202%20LDF%20%28log%29%20files%20for%20one%20database%3F%C2%A0%20My%20opinion%20is%20no%2C%20because%20log%20file%20access%20is%20sequential%2C%20so%20no%20performance%20gain%20can%20be%20obtained%20and%20this%20will%20complicate%20maintenance.%0D%0A%09Is%20the" title="Digg"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fmultiple-filegroups-yay-or-nay%2F&amp;title=Multiple%20filegroups%3A%20yay%20or%20nay%3F&amp;notes=Stephanie%20wrote%20in%20with%20two%20questions%3A%0D%0A%0D%0A%09Is%20there%20a%20gain%20in%20getting%202%20LDF%20%28log%29%20files%20for%20one%20database%3F%C2%A0%20My%20opinion%20is%20no%2C%20because%20log%20file%20access%20is%20sequential%2C%20so%20no%20performance%20gain%20can%20be%20obtained%20and%20this%20will%20complicate%20maintenance.%0D%0A%09Is%20the" title="del.icio.us"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fmultiple-filegroups-yay-or-nay%2F&amp;title=Multiple%20filegroups%3A%20yay%20or%20nay%3F" title="DZone"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fmultiple-filegroups-yay-or-nay%2F&amp;title=Multiple%20filegroups%3A%20yay%20or%20nay%3F" title="DotNetKicks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fmultiple-filegroups-yay-or-nay%2F&amp;title=Multiple%20filegroups%3A%20yay%20or%20nay%3F&amp;annotation=Stephanie%20wrote%20in%20with%20two%20questions%3A%0D%0A%0D%0A%09Is%20there%20a%20gain%20in%20getting%202%20LDF%20%28log%29%20files%20for%20one%20database%3F%C2%A0%20My%20opinion%20is%20no%2C%20because%20log%20file%20access%20is%20sequential%2C%20so%20no%20performance%20gain%20can%20be%20obtained%20and%20this%20will%20complicate%20maintenance.%0D%0A%09Is%20the" title="Google Bookmarks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fmultiple-filegroups-yay-or-nay%2F&amp;title=Multiple%20filegroups%3A%20yay%20or%20nay%3F&amp;body=Stephanie%20wrote%20in%20with%20two%20questions%3A%0D%0A%0D%0A%09Is%20there%20a%20gain%20in%20getting%202%20LDF%20%28log%29%20files%20for%20one%20database%3F%C2%A0%20My%20opinion%20is%20no%2C%20because%20log%20file%20access%20is%20sequential%2C%20so%20no%20performance%20gain%20can%20be%20obtained%20and%20this%20will%20complicate%20maintenance.%0D%0A%09Is%20the" title="Ping.fm"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fmultiple-filegroups-yay-or-nay%2F&amp;title=Multiple%20filegroups%3A%20yay%20or%20nay%3F" title="Reddit"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fmultiple-filegroups-yay-or-nay%2F&amp;title=Multiple%20filegroups%3A%20yay%20or%20nay%3F" title="StumbleUpon"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="" title="TwitThis"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://sqlserverpedia.com/blog/database-design/multiple-filegroups-yay-or-nay/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Can SELECT Statements Cause Blocking to Occur in SQL Server?</title>
		<link>http://sqlserverpedia.com/blog/database-design/can-select-statements-cause-blocking-to-occur-in-sql-server/</link>
		<comments>http://sqlserverpedia.com/blog/database-design/can-select-statements-cause-blocking-to-occur-in-sql-server/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 17:00:42 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Database Design]]></category>
		<category><![CDATA[SQL Server Engine Internals]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[SQL Server Tutorial]]></category>
		<category><![CDATA[Transact-SQL (T-SQL)]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQLServer 2000; SQL Server 2005; Blocking; Locking]]></category>

		<guid isPermaLink="false">http://sqlserverpedia.com/blog/uncategorized/can-select-statements-cause-blocking-to-occur-in-sql-server/</guid>
		<description><![CDATA[The following question was posed to me during a call today and its one that I&#8217;ve heard quite a bit so I figured it warranted a blog post.
The answer is, absolutely!&#160; SELECT statements acquire a shared lock on the tables being accessed.&#160; This shared lock will not affect other SELECT statements hitting the same table, [...]]]></description>
			<content:encoded><![CDATA[<p>The following question was posed to me during a call today and its one that I&#8217;ve heard quite a bit so I figured it warranted a blog post.</p>
<p>The answer is, absolutely!&nbsp; SELECT statements acquire a shared lock on the tables being accessed.&nbsp; This shared lock will not affect other SELECT statements hitting the same table, but if someone tries to modify data in the table (via an UPDATE statement for example), the UPDATE statement will be blocked.&nbsp; When analyzing locks using sp_lock the (S) symbol indicates a shared lock is on an object.</p>
<p>This default behavior can be modified by using one of many query hints.&nbsp; Using the NOLOCK hint on a SELECT statement will force SQL Server to read data from the table without creating a shared lock on it.&nbsp; When using this hint, you run the risk of reading uncommited data from the database but in cases where reading data with 100% accuracy is not required, NOLOCK can dramatically reduce blocking and improve the performance of your SELECT queries.&nbsp; Another option is to use the READ UNCOMMITED isolation level when running your transactions, which conceptually does the same thing.</p>
<p>One additional caveat about both methods.&nbsp; If your SELECT statement is running, and it expects to read a page that has been deleted by a transaction that is currently executing, SQL Server may deadlock this transaction.&nbsp; There is an interresting post on this topic that can be found <a href="http://blogs.msdn.com/craigfr/archive/2007/06/12/query-failure-with-read-uncommitted.aspx">here</a>.</p>




	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fcan-select-statements-cause-blocking-to-occur-in-sql-server%2F&amp;title=Can%20SELECT%20Statements%20Cause%20Blocking%20to%20Occur%20in%20SQL%20Server%3F&amp;bodytext=The%20following%20question%20was%20posed%20to%20me%20during%20a%20call%20today%20and%20its%20one%20that%20I%27ve%20heard%20quite%20a%20bit%20so%20I%20figured%20it%20warranted%20a%20blog%20post.%0A%0AThe%20answer%20is%2C%20absolutely%21%26nbsp%3B%20SELECT%20statements%20acquire%20a%20shared%20lock%20on%20the%20tables%20being%20accessed.%26nbsp%3B%20Th" title="Digg"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fcan-select-statements-cause-blocking-to-occur-in-sql-server%2F&amp;title=Can%20SELECT%20Statements%20Cause%20Blocking%20to%20Occur%20in%20SQL%20Server%3F&amp;notes=The%20following%20question%20was%20posed%20to%20me%20during%20a%20call%20today%20and%20its%20one%20that%20I%27ve%20heard%20quite%20a%20bit%20so%20I%20figured%20it%20warranted%20a%20blog%20post.%0A%0AThe%20answer%20is%2C%20absolutely%21%26nbsp%3B%20SELECT%20statements%20acquire%20a%20shared%20lock%20on%20the%20tables%20being%20accessed.%26nbsp%3B%20Th" title="del.icio.us"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fcan-select-statements-cause-blocking-to-occur-in-sql-server%2F&amp;title=Can%20SELECT%20Statements%20Cause%20Blocking%20to%20Occur%20in%20SQL%20Server%3F" title="DZone"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fcan-select-statements-cause-blocking-to-occur-in-sql-server%2F&amp;title=Can%20SELECT%20Statements%20Cause%20Blocking%20to%20Occur%20in%20SQL%20Server%3F" title="DotNetKicks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fcan-select-statements-cause-blocking-to-occur-in-sql-server%2F&amp;title=Can%20SELECT%20Statements%20Cause%20Blocking%20to%20Occur%20in%20SQL%20Server%3F&amp;annotation=The%20following%20question%20was%20posed%20to%20me%20during%20a%20call%20today%20and%20its%20one%20that%20I%27ve%20heard%20quite%20a%20bit%20so%20I%20figured%20it%20warranted%20a%20blog%20post.%0A%0AThe%20answer%20is%2C%20absolutely%21%26nbsp%3B%20SELECT%20statements%20acquire%20a%20shared%20lock%20on%20the%20tables%20being%20accessed.%26nbsp%3B%20Th" title="Google Bookmarks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fcan-select-statements-cause-blocking-to-occur-in-sql-server%2F&amp;title=Can%20SELECT%20Statements%20Cause%20Blocking%20to%20Occur%20in%20SQL%20Server%3F&amp;body=The%20following%20question%20was%20posed%20to%20me%20during%20a%20call%20today%20and%20its%20one%20that%20I%27ve%20heard%20quite%20a%20bit%20so%20I%20figured%20it%20warranted%20a%20blog%20post.%0A%0AThe%20answer%20is%2C%20absolutely%21%26nbsp%3B%20SELECT%20statements%20acquire%20a%20shared%20lock%20on%20the%20tables%20being%20accessed.%26nbsp%3B%20Th" title="Ping.fm"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fcan-select-statements-cause-blocking-to-occur-in-sql-server%2F&amp;title=Can%20SELECT%20Statements%20Cause%20Blocking%20to%20Occur%20in%20SQL%20Server%3F" title="Reddit"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fcan-select-statements-cause-blocking-to-occur-in-sql-server%2F&amp;title=Can%20SELECT%20Statements%20Cause%20Blocking%20to%20Occur%20in%20SQL%20Server%3F" title="StumbleUpon"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="" title="TwitThis"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://sqlserverpedia.com/blog/database-design/can-select-statements-cause-blocking-to-occur-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error Message: Ad hoc update to system catalogs is not supported.</title>
		<link>http://sqlserverpedia.com/blog/database-design/error-message-ad-hoc-update-to-system-catalogs-is-not-supported/</link>
		<comments>http://sqlserverpedia.com/blog/database-design/error-message-ad-hoc-update-to-system-catalogs-is-not-supported/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 13:26:40 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Database Design]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server Engine Internals]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[Transact-SQL (T-SQL)]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[sp_configure]]></category>
		<category><![CDATA[SQL Server 2000]]></category>

		<guid isPermaLink="false">http://sqlserverpedia.com/blog/uncategorized/error-message-ad-hoc-update-to-system-catalogs-is-not-supported/</guid>
		<description><![CDATA[I ran into an interresting situation today while working with a customer and thought it worthwhile to blog on the subject since my internet searching proved lengthy on the subject.  While trying to run a RECONFIGURE statement after making an sp_configure change I received the following message:
Msg 5808, Level 16, State 1, Line 2
Ad hoc [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into an interresting situation today while working with a customer and thought it worthwhile to blog on the subject since my internet searching proved lengthy on the subject.  While trying to run a RECONFIGURE statement after making an sp_configure change I received the following message:</p>
<p><span style="color: #ff0000;">Msg 5808, Level 16, State 1, Line 2<br />
Ad hoc update to system catalogs is not supported.</span></p>
<p><span style="color: #000000;">I&#8217;m running on SQL Server 2005 SP2+ so my first thought was&#8230; obviously, but I&#8217;m not trying to update system catalogs, I&#8217;m trying to make an sp_configure change.  After doing some digging I found that the culript was the sp_configure &#8216;allow updates&#8217; parameter.  This configuration in SQL Server 2000 allowed or dissalowed direct system table updates.  In SQL Server 2005, this configuration item still exists but it is obsolete since direct access to system tables in always prohibited.  While the configuration item is obsolete, having it set to 1 in SQL Server 2005 requires you to run the RECONFIGURE statement using WITH OVERRIDE, otherwise you will get the message above. </span></p>
<p>If you ever see the message above when trying to run RECONFIGURE you will either need to run RECONFIGURE WITH OVERRIDE, or first run:</p>
<p>EXEC sp_configure &#8216;allow updates&#8217;, 0<br />
RECONFIGURE</p>
<p>I find it confusing that an &#8220;obsolete&#8221; configuration parameter can have an effect on instance behavior, but oh well.  I&#8217;d love to hear comments if anyone has any insight into this or similar issues.</p>
<p>Thanks to Jasper Smith, who posted <a href="http://www.sqlnewsgroups.net/group/microsoft.public.sqlserver.server/topic23407.aspx">here</a> and pointed me in the right direction.</p>




	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Ferror-message-ad-hoc-update-to-system-catalogs-is-not-supported%2F&amp;title=Error%20Message%3A%20Ad%20hoc%20update%20to%20system%20catalogs%20is%20not%20supported.&amp;bodytext=I%20ran%20into%20an%20interresting%20situation%20today%20while%20working%20with%20a%20customer%20and%20thought%20it%20worthwhile%20to%20blog%20on%20the%20subject%20since%20my%20internet%20searching%20proved%20lengthy%20on%20the%20subject.%C2%A0%20While%20trying%20to%20run%20a%20RECONFIGURE%20statement%20after%20making%20an%20sp_conf" title="Digg"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Ferror-message-ad-hoc-update-to-system-catalogs-is-not-supported%2F&amp;title=Error%20Message%3A%20Ad%20hoc%20update%20to%20system%20catalogs%20is%20not%20supported.&amp;notes=I%20ran%20into%20an%20interresting%20situation%20today%20while%20working%20with%20a%20customer%20and%20thought%20it%20worthwhile%20to%20blog%20on%20the%20subject%20since%20my%20internet%20searching%20proved%20lengthy%20on%20the%20subject.%C2%A0%20While%20trying%20to%20run%20a%20RECONFIGURE%20statement%20after%20making%20an%20sp_conf" title="del.icio.us"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Ferror-message-ad-hoc-update-to-system-catalogs-is-not-supported%2F&amp;title=Error%20Message%3A%20Ad%20hoc%20update%20to%20system%20catalogs%20is%20not%20supported." title="DZone"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Ferror-message-ad-hoc-update-to-system-catalogs-is-not-supported%2F&amp;title=Error%20Message%3A%20Ad%20hoc%20update%20to%20system%20catalogs%20is%20not%20supported." title="DotNetKicks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Ferror-message-ad-hoc-update-to-system-catalogs-is-not-supported%2F&amp;title=Error%20Message%3A%20Ad%20hoc%20update%20to%20system%20catalogs%20is%20not%20supported.&amp;annotation=I%20ran%20into%20an%20interresting%20situation%20today%20while%20working%20with%20a%20customer%20and%20thought%20it%20worthwhile%20to%20blog%20on%20the%20subject%20since%20my%20internet%20searching%20proved%20lengthy%20on%20the%20subject.%C2%A0%20While%20trying%20to%20run%20a%20RECONFIGURE%20statement%20after%20making%20an%20sp_conf" title="Google Bookmarks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Ferror-message-ad-hoc-update-to-system-catalogs-is-not-supported%2F&amp;title=Error%20Message%3A%20Ad%20hoc%20update%20to%20system%20catalogs%20is%20not%20supported.&amp;body=I%20ran%20into%20an%20interresting%20situation%20today%20while%20working%20with%20a%20customer%20and%20thought%20it%20worthwhile%20to%20blog%20on%20the%20subject%20since%20my%20internet%20searching%20proved%20lengthy%20on%20the%20subject.%C2%A0%20While%20trying%20to%20run%20a%20RECONFIGURE%20statement%20after%20making%20an%20sp_conf" title="Ping.fm"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Ferror-message-ad-hoc-update-to-system-catalogs-is-not-supported%2F&amp;title=Error%20Message%3A%20Ad%20hoc%20update%20to%20system%20catalogs%20is%20not%20supported." title="Reddit"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Ferror-message-ad-hoc-update-to-system-catalogs-is-not-supported%2F&amp;title=Error%20Message%3A%20Ad%20hoc%20update%20to%20system%20catalogs%20is%20not%20supported." title="StumbleUpon"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="" title="TwitThis"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://sqlserverpedia.com/blog/database-design/error-message-ad-hoc-update-to-system-catalogs-is-not-supported/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How Can I Determine Which Tables and Indexes Are Not Being Used in My Database?</title>
		<link>http://sqlserverpedia.com/blog/database-design/how-can-i-determine-which-tables-and-indexes-are-not-being-used-in-my-database/</link>
		<comments>http://sqlserverpedia.com/blog/database-design/how-can-i-determine-which-tables-and-indexes-are-not-being-used-in-my-database/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 17:33:30 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Database Design]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server Engine Internals]]></category>
		<category><![CDATA[SQL Server Management]]></category>
		<category><![CDATA[SQL Server Performance Tuning]]></category>
		<category><![CDATA[Transact-SQL (T-SQL)]]></category>

		<guid isPermaLink="false">http://sqlserverpedia.com/blog/?p=372</guid>
		<description><![CDATA[Q: I have inherited a legacy applications of which I am certain there are many unneccesary tables and indexes.  I am slightly paranoid about ripping them out however as I am not 100% sure that they are not used.  Is there any way that I can determine which indexes and tables are safe to drop?
A: [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Q:</strong> I have inherited a legacy applications of which I am certain there are many unneccesary tables and indexes.  I am slightly paranoid about ripping them out however as I am not 100% sure that they are not used.  Is there any way that I can determine which indexes and tables are safe to drop?</p>
<p><strong>A: </strong> As long as your application is running on SQL Server 2005+, you have access to a Dynamic Management View (DMV) that displays exactlky this information.  Querying from sys.dm_db_index_usage_stats will tell you how many times a given index/table has been scanned, seeked, looked up, updated, and even gives you the last date when an operation happened.  Browsing through this DMV will allow you to determine with confidence any index/table that has never been touched (since SQL Server was last restarted).  There are many exampes of some elegant queries that people have written that can be found by searching the DMV name but its a fairly straight forward one to understand.</p>
<p>One got-chya, the data in sys.dm_db_index_usage_stats will show tables/indexes across all databases where sys.indexes only shows you data from the database you are in.  This creates some challenging hurdles if you are trying to join on those tables to lookup the index name.  It&#8217;s best to keep it simple and filter dm_db_index_usage_stats to only show you data from the database you are in.</p>
<p>A fairly simple example with explanation can be found <a href="http://sqlblog.com/blogs/louis_davidson/archive/2007/07/22/sys-dm-db-index-usage-stats.aspx" target="_blank">here</a>.</p>




	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fhow-can-i-determine-which-tables-and-indexes-are-not-being-used-in-my-database%2F&amp;title=How%20Can%20I%20Determine%20Which%20Tables%20and%20Indexes%20Are%20Not%20Being%20Used%20in%20My%20Database%3F&amp;bodytext=Q%3A%20I%20have%20inherited%20a%20legacy%20applications%20of%20which%20I%20am%20certain%20there%20are%20many%20unneccesary%20tables%20and%20indexes.%C2%A0%20I%20am%20slightly%20paranoid%20about%20ripping%20them%20out%20however%20as%20I%20am%20not%20100%25%20sure%20that%20they%20are%20not%20used.%C2%A0%20Is%20there%20any%20way%20that%20I%20can%20determi" title="Digg"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fhow-can-i-determine-which-tables-and-indexes-are-not-being-used-in-my-database%2F&amp;title=How%20Can%20I%20Determine%20Which%20Tables%20and%20Indexes%20Are%20Not%20Being%20Used%20in%20My%20Database%3F&amp;notes=Q%3A%20I%20have%20inherited%20a%20legacy%20applications%20of%20which%20I%20am%20certain%20there%20are%20many%20unneccesary%20tables%20and%20indexes.%C2%A0%20I%20am%20slightly%20paranoid%20about%20ripping%20them%20out%20however%20as%20I%20am%20not%20100%25%20sure%20that%20they%20are%20not%20used.%C2%A0%20Is%20there%20any%20way%20that%20I%20can%20determi" title="del.icio.us"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fhow-can-i-determine-which-tables-and-indexes-are-not-being-used-in-my-database%2F&amp;title=How%20Can%20I%20Determine%20Which%20Tables%20and%20Indexes%20Are%20Not%20Being%20Used%20in%20My%20Database%3F" title="DZone"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fhow-can-i-determine-which-tables-and-indexes-are-not-being-used-in-my-database%2F&amp;title=How%20Can%20I%20Determine%20Which%20Tables%20and%20Indexes%20Are%20Not%20Being%20Used%20in%20My%20Database%3F" title="DotNetKicks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fhow-can-i-determine-which-tables-and-indexes-are-not-being-used-in-my-database%2F&amp;title=How%20Can%20I%20Determine%20Which%20Tables%20and%20Indexes%20Are%20Not%20Being%20Used%20in%20My%20Database%3F&amp;annotation=Q%3A%20I%20have%20inherited%20a%20legacy%20applications%20of%20which%20I%20am%20certain%20there%20are%20many%20unneccesary%20tables%20and%20indexes.%C2%A0%20I%20am%20slightly%20paranoid%20about%20ripping%20them%20out%20however%20as%20I%20am%20not%20100%25%20sure%20that%20they%20are%20not%20used.%C2%A0%20Is%20there%20any%20way%20that%20I%20can%20determi" title="Google Bookmarks"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fhow-can-i-determine-which-tables-and-indexes-are-not-being-used-in-my-database%2F&amp;title=How%20Can%20I%20Determine%20Which%20Tables%20and%20Indexes%20Are%20Not%20Being%20Used%20in%20My%20Database%3F&amp;body=Q%3A%20I%20have%20inherited%20a%20legacy%20applications%20of%20which%20I%20am%20certain%20there%20are%20many%20unneccesary%20tables%20and%20indexes.%C2%A0%20I%20am%20slightly%20paranoid%20about%20ripping%20them%20out%20however%20as%20I%20am%20not%20100%25%20sure%20that%20they%20are%20not%20used.%C2%A0%20Is%20there%20any%20way%20that%20I%20can%20determi" title="Ping.fm"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fhow-can-i-determine-which-tables-and-indexes-are-not-being-used-in-my-database%2F&amp;title=How%20Can%20I%20Determine%20Which%20Tables%20and%20Indexes%20Are%20Not%20Being%20Used%20in%20My%20Database%3F" title="Reddit"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsqlserverpedia.com%2Fblog%2Fdatabase-design%2Fhow-can-i-determine-which-tables-and-indexes-are-not-being-used-in-my-database%2F&amp;title=How%20Can%20I%20Determine%20Which%20Tables%20and%20Indexes%20Are%20Not%20Being%20Used%20in%20My%20Database%3F" title="StumbleUpon"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="" title="TwitThis"><img src="http://sqlserverpedia.com/blog/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://sqlserverpedia.com/blog/database-design/how-can-i-determine-which-tables-and-indexes-are-not-being-used-in-my-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
