<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Carpe Datum</title><subtitle type="html">Data Flotsam and Jetsam</subtitle><id>http://blogs.msdn.com/buckwoody/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/buckwoody/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2009-10-20T06:49:43Z</updated><entry><title>Quote of the Day – The Definition of an Expert</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/06/quote-of-the-day-the-definition-of-an-expert.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/06/quote-of-the-day-the-definition-of-an-expert.aspx</id><published>2009-11-06T14:50:42Z</published><updated>2009-11-06T14:50:42Z</updated><content type="html">&lt;p&gt;I’ve been at the PASS conference this week, and I’ve been around a lot of really smart Experts – and this definition definitely fits:&lt;/p&gt;  &lt;p&gt;&lt;font color="#800000"&gt;An expert is someone who knows some of the worst mistakes that can be made in their subject, and how to avoid them. - &lt;em&gt;Werner Karl Heisenberg&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9918606" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Conferences" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Conferences/default.aspx" /><category term="Quote Of The Day" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Quote+Of+The+Day/default.aspx" /></entry><entry><title>Learning New Tech on SQL Server Virtualization – From Vendors</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/05/learning-new-tech-on-sql-server-virtualization-from-vendors.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/05/learning-new-tech-on-sql-server-virtualization-from-vendors.aspx</id><published>2009-11-05T17:58:19Z</published><updated>2009-11-05T17:58:19Z</updated><content type="html">&lt;p&gt;I’m at PASS this year, and one of the things I’ve learned this time is that I can learn from – the vendors!&amp;#160; Most of the “big” names are here, like Idera, Redgate, Quest, and more, but I ran into some folks yesterday I hadn’t spoken with before – XKoto. &lt;/p&gt;  &lt;p&gt;I’m actually surprised I hadn’t run into them earlier. I talk with folks all the time about virtualizing, which should really be a conversation around consolidation, and the XKoto folks have an incredible product that handles scale-out in a new way. Check them out: &lt;a title="http://www.xkoto.com/" href="http://www.xkoto.com/"&gt;http://www.xkoto.com/&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Looks like even and old dog can learn some new tricks…&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9918102" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Conferences" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Conferences/default.aspx" /><category term="Computing" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Computing/default.aspx" /><category term="Disaster Recovery" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Disaster+Recovery/default.aspx" /></entry><entry><title>Find and learn DMVs</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/04/find-and-learn-dmvs.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/04/find-and-learn-dmvs.aspx</id><published>2009-11-04T16:04:57Z</published><updated>2009-11-04T16:04:57Z</updated><content type="html">&lt;p&gt;This morning I showed how I find DMVs, and find out how to use them. First, I just run this query:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;USE MASTER;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;GO&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;SELECT ‘sys.’ + name&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;FROM sys.sysobjects&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;WHERE name LIKE ‘dm%’&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Then I copy and paste a result into the “Index” panel of Books Online. I also use a web search to learn more.&lt;/p&gt;  &lt;p&gt;I also use the new Activity Monitor, and just hover over a column header in that tool – Microsoft tells you what DMV they are using (if they are using one) and even a little about it. How cool is that!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9917366" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Documentation" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Documentation/default.aspx" /><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="Development" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Development/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Administration" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Administration/default.aspx" /><category term="Performance Tuning" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Performance+Tuning/default.aspx" /><category term="Conferences" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Conferences/default.aspx" /><category term="SQL Server 2008" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server+2008/default.aspx" /><category term="Tips" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Tips/default.aspx" /></entry><entry><title>DBA? No – Data Professionals</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/03/dba-no-data-professionals.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/03/dba-no-data-professionals.aspx</id><published>2009-11-03T16:24:29Z</published><updated>2009-11-03T16:24:29Z</updated><content type="html">&lt;p&gt;I’m here at the Professional Association for SQL Server (PASS) this week, and I’m here in the keynote. A few days ago I ranted about the fact that DBA should be a Data Professional – not an administrator. I’ve heard a lot of response about that blog – and all were in support.&lt;/p&gt;  &lt;p&gt;And now here at PASS, what is the theme? Taking a strategic approach, and being professional. w00t! Have we turned the corner? Are other folks realizing that you hold the keys to the kingdom when you’re the DBA? I think so. We’re getting there…&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9916820" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Career" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Career/default.aspx" /></entry><entry><title>Win7 – Install SQL Server Native or go Virtual PC?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/02/win7-install-sql-server-native-or-go-virtual-pc.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/02/win7-install-sql-server-native-or-go-virtual-pc.aspx</id><published>2009-11-02T14:28:00Z</published><updated>2009-11-02T14:28:00Z</updated><content type="html">&lt;P&gt;I have Windows 7 on my laptop, and I also teach, demo and use SQL Server 2005 and SQL server 2008. Should I install this “native” on my outside operating system or use the Virtual PC (VPC) software that comes with Windows 7? Well, there are arguments for each.&lt;/P&gt;
&lt;P&gt;It’s far simpler to start up SQL Server Management Studio (SSMS) or Business Information Development Studio (BIDS) without having to do anything else on my system. Point: outside operating system. And I can install the developer edition of SQL Server 2005 and 2008 with no trouble on Windows 7. Point: outside operating system.&lt;/P&gt;
&lt;P&gt;Using a VPC images lets me install a server-level operating system, SQL Server 2000, 2005 and 2008. That lets me more closely replicate my true production environment. I can also install other things I want on the image and not “pollute” my outside operating system. I can copy the VPC file elsewhere, set recovery points to try something and then “roll it back” to a previous state (very helpful with service packs!) and I can upgrade the VPC to Hyper-V. Point(s): VPC.&lt;/P&gt;
&lt;P&gt;So here’s what I do: I have all of the client tools on my PC, along with an Instance of SQL Server Express. But for the most part I use a VPC, for all of the reasons above. It’s the best of both worlds.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9916139" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="SSMS" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SSMS/default.aspx" /><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="Development" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Development/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Administration" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Administration/default.aspx" /><category term="Design" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Design/default.aspx" /><category term="SQL Server Management Studio" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server+Management+Studio/default.aspx" /><category term="Computing" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Computing/default.aspx" /><category term="SQL Server 2008" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server+2008/default.aspx" /><category term="Tips" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Tips/default.aspx" /><category term="Virtualization" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Virtualization/default.aspx" /></entry><entry><title>Bonus Post: My PASS Schedule</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/10/30/bonus-post-my-pass-schedule.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/10/30/bonus-post-my-pass-schedule.aspx</id><published>2009-10-30T14:16:00Z</published><updated>2009-10-30T14:16:00Z</updated><content type="html">&lt;p&gt;I’ll be speaking again at PASS this year, and I’m heavily involved in the event when I’m not speaking. I would love to meet you – if you’re a reader of this blog, please stop by and say hello! As of right now, here’s where’s I’ll be:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Tuesday: 11:00 AM - 2:00 PM      &lt;br /&gt;&lt;/strong&gt;Ask the Experts Table (Manageability) in the main pavillion&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Tuesday: 6:00 10:00 PM     &lt;br /&gt;&lt;/strong&gt;Customer Appreciation at SQL PASS summit&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Tuesday: 9:00 11:55 PM     &lt;br /&gt;&lt;/strong&gt;The SQL Sentry MVP / VIP Party at PASS 2009&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Wednesday: 7:00 - 8:30 AM (breakfast served until 7:30)      &lt;br /&gt;&lt;/strong&gt;Simplify SQL Server Management with DMVs, Room 611-612 or online Cost: Free&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Wednesday: 4:30 - 5:45 PM      &lt;br /&gt;&lt;/strong&gt;DBA-341-M Manageability Series: Understand and Troubleshoot with Policy-Based Management and Data Collector &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Thursday: 1:00 - 2:15 PM      &lt;br /&gt;&lt;/strong&gt;DBA-350-M Manageability Series: Microsoft SQL Server Automation on Steroids, Including PowerShell Support&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Thursday: 2:30 - 3:45 PM      &lt;br /&gt;&lt;/strong&gt;DBA-342-M Using SQL Server 2008 for Performance Tuning &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I’ll probably pick up a few more parties and definitely be working the Microsoft booths and so on, so if you see a guy in a Microsoft shirt with “Buck Woody” on it, that’s probably me. &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9915270" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Conferences" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Conferences/default.aspx" /></entry><entry><title>Quote of the Day: What is Impossible</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/10/30/quote-of-the-day-what-is-impossible.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/10/30/quote-of-the-day-what-is-impossible.aspx</id><published>2009-10-30T13:48:13Z</published><updated>2009-10-30T13:48:13Z</updated><content type="html">&lt;p&gt;When I worked at the Space Center in Florida, one of my favorite quotes was posted over a particular rocket engine display near my office. It’s by Werner Von Braun, a German scientist who is largely responsible for the Redstone and Apollo Space Programs. It continues to inspire me today: &lt;/p&gt;  &lt;p&gt;“Always use the word ‘Impossible’ with the greatest of prudence.“&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9915259" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Quote Of The Day" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Quote+Of+The+Day/default.aspx" /></entry><entry><title>Don’t be a DBA – Be a Data Professional</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/10/29/don-t-be-a-dba-be-a-data-professional.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/10/29/don-t-be-a-dba-be-a-data-professional.aspx</id><published>2009-10-29T13:23:53Z</published><updated>2009-10-29T13:23:53Z</updated><content type="html">&lt;p&gt;I get asked quite frequently now about the “Cloud” technology and how it will affect the job of the DBA. The answer to that is pretty easy: If you’re “just a DBA”, then it will affect you a great deal. The fact that someone else will add users, take backups and worry about uptime might give you great pause.&lt;/p&gt;  &lt;p&gt;Wait a minute – did I just say “just a DBA”?&amp;#160; Isn’t that kind of insulting? Not really. I’ve been in a DBA on one platform or another most of my adult life. It’s been one of the most rewarding, exciting careers I can imagine. But – if you’re only concerned about Feature X, or PL-SQL or Transact-SQL or any SQL, or you only know everything there is to know about bringing a DB/2 system back to life, then you’re very &lt;em&gt;tactical&lt;/em&gt;. Those things will eventually be replaced with a fairly sophisticated Perl or PowerShell script. And you have every right to fear disruptive technologies that make major changes to your area, like the cloud.&lt;/p&gt;  &lt;p&gt;But – if you realize that your job is not the servers, not the code, but the &lt;em&gt;data&lt;/em&gt; – now you’re thinking strategically. You’re no longer a DBA but a &lt;em&gt;Data Professional&lt;/em&gt;. Sure, you still have to know how to add a user, restore a database, and configure for performance. But you now realize that those are means to an end – not the destination itself. And when you realize that you hold the company’s second-most important asset – it’s data – you have a different view of your position in your organization. You start thinking about how you use Feature X to help the company, and that’s where your real value is. It’s what sets you apart from being “just a DBA” to someone the business comes to when big decisions need to be made.&lt;/p&gt;  &lt;p&gt;So stop being &lt;em&gt;tactical&lt;/em&gt;, and start being &lt;em&gt;strategic&lt;/em&gt;. It’s no accident I work with SQL Server. I find that the fact that I can back up an Express database and restore it on Enterprise to be very strategic. I find that having every feature in the box without different learning paths to be very strategic. I find that having everything from Visual Studio to web pages and Microsoft Office be in lock-step with my platform to be very strategic. I put those things together for the organization I’m responsible to, and make suggestions on broad strategies. I’m treated like a professional because I act like one. The cloud doesn’t scare me – it’s just another tool in the box. I’m studying it, learning it, and finding out where, when and if it fits.&lt;/p&gt;  &lt;p&gt;And you can too. Spend some time finding out what your company actually &lt;em&gt;does&lt;/em&gt;, and what their biggest issues are. Then put that knowledge together with what SQL Server does, and how it can help. That’s strategy.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9914700" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Career" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Career/default.aspx" /></entry><entry><title>Templates for New Query Window</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/10/28/templates-for-new-query-window.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/10/28/templates-for-new-query-window.aspx</id><published>2009-10-28T15:13:49Z</published><updated>2009-10-28T15:13:49Z</updated><content type="html">&lt;p&gt;When I’m in SQL Server Management Studio and I click the “New Query” button, my Query Window comes up like this:&lt;/p&gt; &lt;font color="#008000"&gt;   &lt;p&gt;/* &amp;lt;ScriptFileName, SYSNAME, ScriptFileName&amp;gt;.sql&lt;/p&gt;    &lt;p&gt;Purpose: &amp;lt;Purpose, SYSNAME, Purpose&amp;gt;&lt;/p&gt;    &lt;p&gt;Author: &amp;lt;Author, SYSNAME, Buck Woody&amp;gt;&lt;/p&gt;    &lt;p&gt;Last Edited: &amp;lt;LastEdited, SYSNAME, LastEdited&amp;gt;&lt;/p&gt;    &lt;p&gt;Instructions: &amp;lt;Instructions, SYSNAME, Instructions&amp;gt;&lt;/p&gt;    &lt;p&gt;References:&lt;/p&gt;    &lt;p&gt;*/&lt;/p&gt;    &lt;p&gt;&amp;#160;&lt;/p&gt;    &lt;p&gt;&amp;#160;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;/* End &amp;lt;ScriptFileName, SYSNAME, ScriptFileName&amp;gt;.sql */&lt;/p&gt; &lt;/font&gt;  &lt;p&gt;Then I just press CTRL-SHIFT-M and enter the name of the script file, the purpose and so on. &lt;/p&gt;  &lt;p&gt;I was recently asked how I have that come up every time. &lt;/p&gt;  &lt;p&gt;Just locate the file called &lt;strong&gt;Sqlfile.SQL&lt;/strong&gt;. It’s normally in:&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;font color="#ff0000"&gt;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\SqlWorkbenchProjectItems\Sql&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;And edit it to have whatever you want. If you want the replaceable parameters like I have, just put whatever you want in this format:&lt;/p&gt;  &lt;p&gt;&lt;font color="#008000"&gt;&amp;lt;ParameterName, ParameterType, DefaultValue&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9914116" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="SSMS" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SSMS/default.aspx" /><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="Scripts" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Scripts/default.aspx" /><category term="Development" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Development/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Administration" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Administration/default.aspx" /><category term="Design" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Design/default.aspx" /><category term="SQL Server Management Studio" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server+Management+Studio/default.aspx" /><category term="Tips" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Tips/default.aspx" /></entry><entry><title>Disaster Response and the Physical Plant</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/10/27/disaster-response-and-the-physical-plant.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/10/27/disaster-response-and-the-physical-plant.aspx</id><published>2009-10-27T14:14:41Z</published><updated>2009-10-27T14:14:41Z</updated><content type="html">&lt;p&gt;Near our home is a Dam about to break. It was built long ago, and even though millions were taxed and spent for it, little to none of that money ever got to the actual shoring up and maintaining the dam&amp;#160; over time (don’t get me started). Anyway, it’s in sad shape, and an entire valley is about to be underwater. It’s very crowded here, and there are hundreds of thousands of homes at risk and many businesses as well. My house isn’t one of those, but I have to drive that way to get to the deathstar.&lt;/p&gt;  &lt;p&gt;I was speaking with a gentleman at the gym this morning and he explained some of the expensive, sensitive, one-of-a-kind pieces of equipment in one of those plants, something that just can’t be moved – and they are right in the path of the floodwaters. They aren’t sure what they are going to do.&lt;/p&gt;  &lt;p&gt;I’ve seen this in computer data centers before. In one case where I worked as an Oracle DBA on HP-UX (a UNIX variant) the DBA’s and other administrators kept track of the backups, we had off-site tape storage, we practiced our restores, we had a good RPO and RTO defined, everything was ready. Then a pipe leaked in the data center, and we tried to implement the plan. It did not go well.&lt;/p&gt;  &lt;p&gt;What we missed was the tape drive. I was young in my career and didn’t know that the tape drive system we were using was unusual. It was also a long time ago and standard tape formatting wasn’t in use – the format was largely a function of the drive. And we couldn’t get another one of those! We finally found one a few days later at a government surplus shop – a very time-consuming, expensive, frustrating experience.&lt;/p&gt;  &lt;p&gt;So what am I saying? Put your physical plant into the DR plan. And don’t build something you can’t replicate – if you do, you’ve effectively locked yourself into a location that just might be part of some really poor government maintenance. &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9913501" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Administration" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Administration/default.aspx" /><category term="Planning" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Planning/default.aspx" /><category term="Disaster Recovery" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Disaster+Recovery/default.aspx" /></entry><entry><title>How Normal(ized) Should You Be?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/10/26/how-normal-ized-should-you-be.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/10/26/how-normal-ized-should-you-be.aspx</id><published>2009-10-26T13:50:13Z</published><updated>2009-10-26T13:50:13Z</updated><content type="html">&lt;p&gt;Normalization is the process of removing repeating values from your data design, and ensuring that the values depend on the Primary Key in the table. OK, it’s a bit more complicated than that, but this definition will do for this post.&lt;/p&gt;  &lt;p&gt;So how far DO you normalize? Consider the following:&lt;/p&gt;  &lt;p&gt;&lt;font color="#008000"&gt;Name, Address, City, State, Zip.&lt;/font&gt; &lt;/p&gt;  &lt;p&gt;You might normalize it to the following:&lt;/p&gt;  &lt;p&gt;&lt;font color="#008000"&gt;FirstName, MiddleName, LastName, AddressLine1, AddressLine2, CityOrMunicipality, StateOrProvidence, PostalCode.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;That seems pretty well normalized, and ready for a Primary Key. But let’s drill in a bit – the &lt;strong&gt;StateOrProvidence&lt;/strong&gt; column is going to repeat, here in the U.S., quite a bit. Perhaps a Foreign Key is needed there, and another table created with WA, FL, GA, etc?&lt;/p&gt;  &lt;p&gt;You could do that. But in most cases you’re too normalized if you take that route. In the case of two-letter state names, you’re not saving much space and there are other ways to enforce the data integrity of that column.&lt;/p&gt;  &lt;p&gt;You must consider the &lt;em&gt;reason&lt;/em&gt; you’re normalizing the table, and ensure your design fits that requirement. In most cases, it’s enough to tell the developers to code a drop-down list of the acceptable values, and/or put a constraint on the column to enforce what you want.&lt;/p&gt;  &lt;p&gt;So apparently you can be &lt;em&gt;too&lt;/em&gt; normal(ized). At least in this DBA’s experience.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9912928" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="Development" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Development/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Design" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Design/default.aspx" /><category term="Tips" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Tips/default.aspx" /></entry><entry><title>Women and Cats</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/10/23/women-and-cats.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/10/23/women-and-cats.aspx</id><published>2009-10-23T13:56:43Z</published><updated>2009-10-23T13:56:43Z</updated><content type="html">&lt;p&gt;I will not explain why I chose this quote for today (it could have to do with the fact that I’m the only male in the house and yes, we do have a cat):&lt;/p&gt;  &lt;p&gt;&lt;font color="#008000"&gt;“Women and cats will do as they please, and men and dogs should relax and get used to the idea.” - Robert Heinlein&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9912060" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Quote Of The Day" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Quote+Of+The+Day/default.aspx" /></entry><entry><title>New Business Metric: DBOM</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/10/22/new-business-metric-dbom.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/10/22/new-business-metric-dbom.aspx</id><published>2009-10-22T16:00:00Z</published><updated>2009-10-22T16:00:00Z</updated><content type="html">&lt;p&gt;With all of the travelling, writing, speaking and working I’ve been doing lately, I’ve come across a new trend. My schedule is so fragmented that I communicate primarily through e-mail, and I’ve noticed that I respond to, and hear back from, various people in various tiem increments.&lt;/p&gt;  &lt;p&gt;Because of the flights and travel time, I’m almost always 1 day behind on mail – or, a factor of +1 or: &lt;strong&gt;D&lt;/strong&gt;ays &lt;strong&gt;B&lt;/strong&gt;ehind &lt;strong&gt;O&lt;/strong&gt;n &lt;strong&gt;M&lt;/strong&gt;ail (DBOM). But not for everybody…&lt;/p&gt;  &lt;p&gt;If my wife or my boss writes me, they get a DBOM multiplier of 0: &lt;/p&gt;  &lt;p&gt;0*1 = answer immediately.&lt;/p&gt;  &lt;p&gt;If a friend or colleague writes me, they get a DBOM multiplier of 1: &lt;/p&gt;  &lt;p&gt;1*1 = 1 Day delay&lt;/p&gt;  &lt;p&gt;If a person is asking me to look into an issue, that might get a DBOM multiplier of 2 or 3, and so on.&lt;/p&gt;  &lt;p&gt;So what’s your DBOM matrix look like?&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9911453" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Career" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Career/default.aspx" /><category term="Rant" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Rant/default.aspx" /></entry><entry><title>The 20 Queries</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/10/21/the-20-queries.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/10/21/the-20-queries.aspx</id><published>2009-10-21T14:14:36Z</published><updated>2009-10-21T14:14:36Z</updated><content type="html">&lt;p&gt;&lt;a href="http://research.microsoft.com/en-us/collaboration/fourthparadigm/4th_paradigm_book_complete_lr.pdf" target="_blank"&gt;In the book “The Fourth Paradigm”&lt;/a&gt;, Jim Gray describes the modeling process he came up with modeling large databases. He was working with scientists, researchers and others, and the data sets they were generating were huge – terabytes of data at a time. To even come up with an entity model was a daunting task, so he came up with something he called “The 20 Queries”. He asked each researcher the 20 most important queries they would ask of the data, and then he worked from that. &lt;/p&gt;  &lt;p&gt;What caught my eye was the quote about the number 20: &lt;/p&gt;  &lt;p&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black; font-size: 11pt; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-bidi-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;&lt;font color="#0000ff"&gt;“Most selections involving human choices follow a “long tail,” or so-called 1/f distribution, it is clear that the relative information in the queries ranked by importance is logarithmic, so the gain realized by going from approximately 20 (24.5) to 100 (26.5) is quite modest.”&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black; font-size: 11pt; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-bidi-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;What? They do? So I began my own research – it’s one of the multiple notes I took from the book. The 1/f distribution, or 1/f noise, is&lt;em&gt; all over the place&lt;/em&gt;. I won’t go into the formula here since it’s a bit complicated, but it affects everything from signal generation in stereo and other speakers to the probability distributions in the stock market. It’s another one of those “magic formulas” like the golden mean that you see everywhere in nature – and yes, it even works for databases.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black; font-size: 11pt; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-bidi-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;Here’s the way I use this: &lt;/span&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black; font-size: 11pt; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-bidi-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;I have the users define their entities – the nouns in their organization or what they want to track. &lt;/span&gt;&lt;/li&gt;    &lt;li&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black; font-size: 11pt; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-bidi-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;I then have them tell me about the verbs that define what those nouns do, and the relationships between them. &lt;/span&gt;&lt;/li&gt;    &lt;li&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black; font-size: 11pt; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-bidi-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;Then I ask, “what would be your 20 top queries – in English – for each of those nouns and verbs?” &lt;/span&gt;&lt;/li&gt;    &lt;li&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black; font-size: 11pt; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-bidi-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;From there, design is a breeze.&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black; font-size: 11pt; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-bidi-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;Isn’t math cool?&lt;/span&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black; font-size: 11pt; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-bidi-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;&amp;#160;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9910584" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="Development" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Development/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Design" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Design/default.aspx" /><category term="Computing" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Computing/default.aspx" /><category term="Book Review" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Book+Review/default.aspx" /></entry><entry><title>The Fourth Paradigm</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/10/20/the-fourth-paradigm.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/10/20/the-fourth-paradigm.aspx</id><published>2009-10-20T13:49:43Z</published><updated>2009-10-20T13:49:43Z</updated><content type="html">&lt;p&gt;Microsoft Research published a book based on Dr. Jim Gray’s research into Computer Science, called “The Fourth Paradigm”. It’s about 300 pages long, and it fascinated me so much I stayed up reading it last night. I have so many notes to decompress it will take me weeks. If you’re a data professional, I highly advise that you take some time to read it.&lt;/p&gt;  &lt;p&gt;The title refers to the Dr. Gray’s theory on scientific paradigms. The first, called the &lt;em&gt;empirical&lt;/em&gt; paradigm, deals with what we can see, feel and touch. Greek and Chinese scholars dealt in this realm, all the way up through the times that the Arabic numeral system became prevalent in the West.&lt;/p&gt;  &lt;p&gt;The second paradigm was &lt;em&gt;theoretical&lt;/em&gt; – meaning that you could take a model or guess about some natural subject and test it.&lt;/p&gt;  &lt;p&gt;The third paradigm is &lt;em&gt;computational&lt;/em&gt;. Here simulations became paramount, so mathematics becomes the basis for theories and testing.&lt;/p&gt;  &lt;p&gt;And so that brings us to the fourth paradigm – a time when we can gather more data than the human mind can effectively deal with, so we use computers to mine and analyze the data. This technology, which Dr. Gray was working on when he died, represents the next scientific frontier. He worked with the SQL Server team and helped us develop and test SQL Server 2008. A version of 2008 is what is used in the Pan-STARRs project at Berkley,&amp;#160; taking in Terabytes of data, well on it’s way to becoming a multi-Petabyte system within a year. (Who says SQL Server can’t scale!) &lt;/p&gt;  &lt;p&gt;This book covers natural science, biology and health sciences, and also literary science. I highly recommend it.&lt;/p&gt;  &lt;p&gt;There’s a certain section in it that deals with the 1/f distribution, which I’ll talk about tomorrow. It has real-world application in how you develop a database.&lt;/p&gt;  &lt;p&gt;You can read the book for free here: &lt;a href="http://research.microsoft.com/c/1078/en-us/collaboration/fourthparadigm/default.aspx"&gt;http://research.microsoft.com/c/1078/en-us/collaboration/fourthparadigm/default.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9909894" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Web" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Web/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="SQL Server 2008" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server+2008/default.aspx" /><category term="Book Review" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Book+Review/default.aspx" /></entry></feed>