Click here to monitor SSC
Av rating:
Total votes: 73
Total comments: 23


Richard Morris
Interview with the Scary DBA - Grant Fritchey
30 October 2009

For our first feature on working DBAs and their lives, we chose Grant Fritchey, the self-styled Scary DBA, who has been so successful in the past year with his books and presentations. How does he manage to pack so much into his life? We sent Richard Morris to find out.

With twenty years experience in IT, Grant Fritchey has been spent in technical support, development and database administration. For the last seven years he’s been working as a DBA at a major insurance company, in between time, he writes for SQL Server Central, Simple-Talk and SQL Server Standard.

Grant has published several books including, Dissecting SQL Server Execution Plans and SQL Server 2008 Query Performance Tuning Distilled. He is one of the founding officers of the Southern New England SQL Server Users Group and its current president. In April 2009 Grant was awarded Microsoft SQL Server MVP status.


RM:
Where do DBAs come from – are they born an admin, achieve adminhood or have it thrust upon them?
GF:
I think most DBA's have adminhood thrust upon them. I think the ‘accidental’ DBA is the most prevalent path into becoming a DBA. I became a full time Admin by opening my mouth once too often.
I had been working for a dot com as a full time VB developer. Our DBA had quit. Over time we ran into more and more problems with the database. One day, after having dealt with another problem, I went into the boss’s office with a list of things that needed to be fixed. He asked me which one I was going to do first, and a DBA was born.
I don't think everyone comes into it as simply as that but, in my experience, the person that became a DBA because that was their absolute goal is a pretty rare beast. Many other people I know stumbled into the DBA role from development, tech support or other roles, frequently without a plan. The best of them embrace the role and try to turn themselves into the best DBA they can be.
RM:
Do you still get to do much programming? Would you agree that programming languages today are more diverse and engaging than at any time since the early days of computing?
GF:
Yes and no. The problems are the same as they've always been: "Here's some real world process that needs to be turned into ones and zeros. Here's a grossly inadequate mechanism for expressing it. Go have fun". You can do more things than you ever could and you can do those things faster than you ever could, but sometimes that just means you dig a much deeper hole, much faster.
Having said that, I love the new languages! Powershell is pretty cool. C# is so much better than VB or Java. Object oriented programming, while more than a little bit of a pain, is simply incredible, especially when compared to the old serial languages. It's a great time to be IT and it just keeps getting better.
RM:
How did you learn database administration – from books, colleagues, websites, official training, hands-on practice? How best do you think it can be taught?
GF:
I mostly learned how to be a DBA from books, lots of books. I still mostly learn from books. Right now, I'm reading a book on PowerShell, another on SQL Server 2008 XML and I've got another on CLR sitting on my desk, waiting to get cracked open. I'm a big proponent of books. While I prefer having the dead-tree version, I've started using a Kindle now and am finding out how handy it is to have the ability to really search within a book, rather than just relying on the index and a whole bunch of post-it notes hanging out of the edges.
I've only attended a few official training courses and didn't find many of them that useful, although the one taught by Itzik Ben-Gan, Advanced T-SQL, is worth five times what you pay for it. I do read a lot of articles online and find them an excellent resource for learning details, but not broad areas.
Testing is probably the very best way to learn. Try something out, get the results, record them, and then modify the code and try it again. Repeat as necessary until you understand what's going on.
Technical summits or conventions are also good places to pick up knowledge. The next SQL PASS summit is in Seattle during the first week in November and the event is always is a great place to learn new things and, more importantly, meet new people. When you're searching for that final piece of the jigsaw, that last bit of information you need to accomplish the task in front of you, the best resource is usually a fellow DBA. It makes a huge difference to be part of a good network of DBAs and programmers with whom you can interact. You can also do this online at places like SQL Server Central.
RM:
Who do you regard as your Zen master, the person who has taught you most about what you know today?
GF:
I'll pick three, not one. First up: Kalen Delaney. I've read, I think, four versions of her Inside SQL Server books. It's really hard to stress just how useful that series has been to me, over the years. I've also attended her sessions at conferences. She's as good a teacher as she is a writer.
Second, someone I'll never get to learn from ever again, Ken Henderson. He wrote books that were every bit as useful as Kalen's, but they covered different topics, or had a second point of view on similar topics, and so were an excellent complements to Kalen's work. I never got to hear him speak, but I've read his articles, as well as his books. He really made an impression on me and it's a damned shame he died so young. I could use his help with SQL Server 2008.
Finally, and I've mentioned him before, Itzik Ben-Gan. I often joke with people who have attended his class that ‘the bleeding from the ears stops in a few days’. Sitting in his class is the mental equivalent of drinking from the firehose. You get quite a lot of information, usually more than you bargained for but, happily, it's all useful.
Between those three, I'd say I've received the foundation to be able to do the things that I've done.
RM:
What would you say are the three characteristics of an exceptional DBA? Why do you think these qualities are so important?
GF:
The first one that comes to mind is grace under pressure. At some point in your career, you'll have a substantial number of managers, probably going very high up the chain of command, standing inside your cubicle. Typing will be difficult because they'll be jostling your elbows to get close enough to read what you're typing, even though they don't understand a word of it. It's all because, for some reason, one of the most important databases in the company is offline or inaccessible, or in an unknown state. You need to fix it quickly and competently, all the while explaining what you're doing in plain English, no techno-babble allowed, and suggesting ways to prevent the problem, whatever it is, recurring in the future. If you can do all this at the same time with those managers in your cube, then you're on your way to becoming an exceptional DBA.
Next is a willingness to learn. Picking up the new TSQL syntax is only a small, although important part of that. The larger part is an understanding that things change, and a willingness to adapt as necessary. You might need to learn how to work with an agile development team, or implement a third party software package that requires 'sa' privileges, or move your database out into the cloud. It's a willingness to embrace the change, to learn, not just new processes, but new paradigms that will make you more successful as a DBA.
Finally, I think a good DBA has to have a strong backbone. You need to be able to say no. You need to be able to say that the choice made on this database, if implemented, will cause problems, explain why the problems are going to occur, and offer a more-suitable alternative. You will often be under pressure to accept the solution "as is", but if you simply roll over, you're going to pay the price. It won't just be you though; it'll be your database and possibly your company.
There are certain issues on which a DBA must never compromise. For example, there's a good reason why you should do backups before a major modification of the database, and just because someone within the organization thinks it's a silly waste of time to run one, and doesn't want to wait the extra 45 minutes, tough. It's your charge as a DBA to ensure the integrity and protection of the databases under your control.
If someone asks for something silly, say no. You may have to do it anyway but get out there and make sure people understand why you said no. And it shouldn't just be because you want to be able to say "I told you so." If that's why you're doing it, stop being a DBA. You do it so that maybe, the next time, they'll listen.
RM:
Who do you think from history would have made a great DBA? Leonardo? Or the Danish astronomer Tycho Brahae? Truman or Nixon?
GF:
I'm not sure any of those people, except maybe Tycho Brahae, would have made good DBA's. Well, possibly Truman too. Some of his attitudes would certainly make him a good DBA. One figure that comes to mind from history is Major General Erich Ludendorff, the chief of staff to General Hindenburg during the battle of Tannenburg, in 1914.
Ludendorff not only helped Hindenburg plan the battle, but was also responsible for managing the supply chain, the railroad schedules, and all kinds of other support staff to keep the army running and to help win its, fairly spectacular, victory over the Russians. Given the way he attacked the data with the tools of the time, I think he might have made a heck of a DBA.
Another general from history that spent a lot of time assimilating data as a means to victory was the Duke of Wellington.  He wasn't one of those "lead from the front, dashing about on a horse" kinds of guys; you know…a developer. No, he spent most of his time behind the lines, worrying about lines of communication and choosing when and where to hold most of his battles, and winning them too. I suspect in today's world he would be one of those top flight BI guys that knows a hundred different ways to slice data and retrieve vital company information.
RM:
What's the hardest part of being a DBA?
GF:
I've been on call 24/7 for about six years now. It's wearing a bit thin, especially since I haven't been trading off with other people. But, I get extra pay for being on call and if it makes the wife happy, then who needs to be asleep at 3AM each morning?
RM:
What do you see as the future of automating database administration? Will Powershell come to rule all or do you think Python will still have its fans?
GF:
PowerShell is going to take over. Microsoft is positioning it across all of its platforms and its various products such as Exchange and Operations Manager.
While there's always going to be other languages used, like Python or Perl, they're going to be marginalized under a PowerShell juggernaut.
RM:
What things in your career would you have done differently? And what achievements are you most proud of?
GF:
I don't think I've made too many gigantic errors in my career, although learning Gupta SQL Windows ended up being some pretty serious time wasted.
Given what I've said previously about the value of books in learning, I regret not spending more time with books earlier in my career. Instead, I tended to assume that the fact that I was writing code and designing databases meant that I actually knew what I was doing. There are many applications, a few still in use today, which would have benefited greatly from harder study on my part. It's tough unlearning bad habits. Also, if I could go back, I would develop earlier in my career the habit of testing performance.
The two achievements that I think best indicate what I've managed to achieve are my books, and the MVP award I received just this year. Writing books is a heck of a challenge. You can get so much right, but it's the mistakes that seem to stand out. You get so much support from the editors and the technical reviewers, without whom you wouldn't have a book, at all, but in the end it is your name on the front cover, so you get to take full responsibility for the good and the bad.
Microsoft's MVP award was something I had considered a couple of times, years ago, but after meeting a number of different MVPs I realized that maybe I wasn't ready for it. However, eventually my work got noticed and it came through. I was so excited to receive the award that I started working harder in the community, so that I could feel worthy of it.
However, the best thing about the books and the MVP award are what I had to do to achieve them. I've had to learn things I never would have otherwise. They've forced me to stretch my skill set well beyond where it was previously.


This article has been viewed 8645 times.
Richard Morris

Author profile: Richard Morris

Richard Morris is a journalist, author and public relations/public affairs consultant. He has written for a number of UK and US newspapers and magazines and has offered strategic advice to numerous tech companies including Digital Island, Sony and several ISPs. He now specialises in social enterprise and is, among other things, a member of the Big Issue Invest advisory board. Big Issue Invest is the leading provider to high-performing social enterprises & has a strong brand name based on its parent company The Big Issue, described by McKinsey & Co as the most well known and trusted social brand in the UK.

Search for other articles by Richard Morris

Rate this article:   Avg rating: from a total of 73 votes.


Poor

OK

Good

Great

Must read
 
Have Your Say
Do you have an opinion on this article? Then add your comment below:
You must be logged in to post to this forum

Click here to log in.


Subject: It's more likely be IronPython.
Posted by: ^_^" (not signed in)
Posted on: Friday, November 06, 2009 at 2:12 AM
Message: "PowerShell is going to take over...While there's always going to be other languages used, like Python or Perl, they're going to be marginalized under a PowerShell juggernaut."

I can bet my farm that the above prediction will never happen.. PowerShell ? duh !

Subject: Qualification
Posted by: Granted (view profile)
Posted on: Monday, November 09, 2009 at 6:35 AM
Message: You know, I should have qualified the statement on PowerShell; In the windows environment, it's going to take over. Of course it's not out there in *nix land. Sorry for any confusion.

Subject: Comments
Posted by: Andy Stott (not signed in)
Posted on: Monday, November 09, 2009 at 11:04 AM
Message: This is a really good interview and I congratulate Grant for being so forthright. It's a great shame that some people who have commented on this article are abusive and rude.

Subject: Excellent interview
Posted by: timothyawiseman@gmail.com (view profile)
Posted on: Thursday, November 12, 2009 at 5:47 PM
Message: An excellent interview with a very wise man. I must respectfull disagree with
"PowerShell is going to take over...While there's always going to be other languages used, like Python or Perl, they're going to be marginalized under a PowerShell juggernaut."
Though, even on Windows.

PowerShell is a wonderful tool, but for the forseeable future it will lack the versatility of Python, and particularly of IronPython on Windows. Also, for fans of Donald Knuth's "Literate Programming" concepts, it is far easier to implement easily read code in Python than it is in PowerShell.

Most programmers can read Python even if they are not familiar with it. I do not think that is true of Powershell.

And while it is true that PowerShell has the vast resources of Microsoft behind it, numerous organizations including Google (and Microsoft through IronPython for that matter) are contributing heavily to the development of Python.

In the end, I think there will be plenty of room for Python, Perl, and PowerShell to coexist on Windows for a long time to come.


Subject: Really Good Interview
Posted by: Ashok (view profile)
Posted on: Sunday, November 15, 2009 at 11:10 PM
Message: It's great to know about exception DBA.
Good Interview.

Subject: PowerShell
Posted by: Granted (view profile)
Posted on: Monday, November 16, 2009 at 7:18 AM
Message: Who knew that was going to be the most interesting part of the interview?

I don't disagree with Timothy that other scripting lanugages are going to continue to be used. There are still LISP programmers out there for crying out loud. But I think that with Microsoft throwing it's complete weight behind Powershell and enabling it for every single bit of their enterprise and actively promoting it's use through all the community venues... it's going to be the big dog in the environment. That doesn't mean that other languages won't be used or supported within Windows, but it's really going to require you to actively choose those other languages when all of MS supports PowerShell. More often than not, swimming with the current will get you further, easier, than trying to swim across it.

I think the key point I'm making isn't that Powershell is better, in any way, than these other languages, but that MS is pushing it in every way it can, which means, due to mass if nothing else, that's going to change things out in the scripting world, pretty decisively.

Subject: Nice Interview!
Posted by: D.Oc (not signed in)
Posted on: Monday, November 16, 2009 at 8:20 AM
Message: Very good and thought provoking interview.

It's good to see what is Grant's view on Powershell, DBA position in general, books, learning etc....

Subject: Ken Henderson.
Posted by: Phil Factor (view profile)
Posted on: Monday, November 16, 2009 at 1:13 PM
Message: I was so pleased that you mentioned Ken Henderson, Grant. I still read his books, over and over again. He was a phenomenon. He was a developer, he had all the instincts of the breed, including the cussed obstinacy to find ways to make things happen. His energy and enthusiasm just pours out of the printed page. I learned a huge amount from his books. All of us who write about SQL Server are in his debt.

Subject: Nixon Agonistes vs the Truman Doctrine
Posted by: Lee (view profile)
Posted on: Monday, November 16, 2009 at 1:33 PM
Message: Nixon would have been a great DBA. Encyclopedic knowledge plus a mile-wide streak of paranoia -- what's not to like? However, only if the CIO knows enough to avoid being bamboozled.

Truman, I don't see as bright enough. Certainly, a man with some crucial gifts as a decision-maker. Truman could manage a DBA shop, I think, but only because he had a hypersensitive b.s. detector, not because he had any extraordinary intellectual power. Intellect is important, but the gifts Truman had were more valuable.

Be nice to find someone who could combine the two gifts.

My favorite Truman quote of all time was at Richard Nixon's expense, something to this effect: "When Nixon does find himself telling the truth, he'll lie about that just to keep his hat in."


Subject: Great Interview
Posted by: Chris Leonard (not signed in)
Posted on: Friday, November 20, 2009 at 12:45 AM
Message: Thanks for posting this very good article. Grant doesn't seem so scary any more.

And PowerShell? I love it. I have a one-hour presentation I have done a couple of times called "Your First Hour with PowerShell." Nobody walks away saying it's hard to learn or anything like that. It really is a great shell for Windows (ran it on Mac OS X once ... you know, that PowerShell clone running on Mono ... yeah, not so great).

But oddly, my main takeaway from this article might be that I should learn a bit about Iron Python. :O)

Subject: Bravo !
Posted by: Jerry Sommerville (not signed in)
Posted on: Friday, November 20, 2009 at 6:51 AM
Message: Grant Fritchey has exactly the right attitude that exemplifies an exceptional DBA (SQL Server Central guys take notice). His strength is his humble attitude of himself and his serios potential as a mentor. Grant, think about teaching or mentoring as a real challenge worth the subtle rewards you so richly deserve.

... Jerry
Another Accidental DBA

Subject: Good Interview
Posted by: Ali (view profile)
Posted on: Friday, November 20, 2009 at 7:33 AM
Message: Nice Article, Grant shared many of his experiences which will definitely help upcoming DBA's.

Subject: Two Points
Posted by: Blackhawk (view profile)
Posted on: Friday, November 20, 2009 at 7:52 AM
Message: Congratulations Grant!

1) PowerShell will be a dominate scripting language on Windows as Microsoft continues to popularize it. It's installed on their systems and there are tons of examples out there. The accidental coder may never go beyond PowerShell. I still like other languages but as you said - "Here's some real world process that needs to be turned into ones and zeros." If PowerShell is there... the examples are there...

2) I think you exhibit one of the more important aspects of an exceptional DBA - the desire to give back. By sharing and mentoring you are helping the entire DBA profession excel. Thanks for that.

Greg

Subject: Nice insight
Posted by: Michael Whitcomb (not signed in)
Posted on: Friday, November 20, 2009 at 8:15 AM
Message: "Testing is probably the very best way to learn. Try something out, get the results, record them, and then modify the code and try it again. Repeat as necessary until you understand what's going on."

This is the definition of the scientific method. We all wonder why we learn this stuff in college, now you see the unknowing application of it.


Subject: Great Interview Grant!
Posted by: T-Bone (not signed in)
Posted on: Friday, November 20, 2009 at 9:48 AM
Message: Great interview Grant. Also, on another note, your SQL Share series as well as your document on execution plans is the best I have ever seen and read, Thanks for touching on an area of SQL Server that is so sorely overlooked.You were dead on about Bookmark Lookups!!!

Subject: Itzak Ben-Gan
Posted by: Willynel (not signed in)
Posted on: Friday, November 20, 2009 at 10:17 AM
Message: Grant is absolutely right about Itzak Ben-Gan. I attended a seminar at our local PASS office. Afterwards, I was picking my jaw off of the floor, along with several of my friends.

He was using sine and cosine (the actual algebraic functions) inside of his stored procedures for some government project he was working on. I thought my brain was going to explode.

If you have a chance to see this guy in action, go see him. It's worth it.

Subject: Recommendations for reading
Posted by: Joseph Marsh (not signed in)
Posted on: Friday, November 20, 2009 at 10:21 AM
Message: I am a programmer by trade, but cannot avoid SQL Server for the life of me (not that I try very hard, of course) -- most business applications require an underlying database. I've learned what I know by trial-and-error -- on-the-job training, if you will.

Here's The Big Q: Obviously, I need to read a book or two, but don't know where to start. I am NOT a beginner anymore, but doubt that I'd get anything useful from an "Advanced T-SQL" book. What two books would you (or anyone) recommend I start with?

Subject: Learning when to say NO...
Posted by: Travis (talltop) (not signed in)
Posted on: Friday, November 20, 2009 at 10:22 AM
Message: Grant, you are such a mentor! Your comment on saying NO is so accurate in the real world today! I can't tell you how many times I have seen DBA's in the past lose their job because they did not know how to say the simple word NO. Being a very good DBA is not always about being everyone's best friend. Companies don't hire a DBA to win friends. They are hired for one main reason, to protect the companies data in their charge, period. It does not matter if you are popular with the whole department and end up getting your databases screwed up because you are too limp wristed to put your foot down, and end up letting everyone get into the database and do what they want. Everyone wants universal access, no kidding! and it is a DBA's job to ensure they don't always get it. Afterall, it is not them that is going to be up for hours in the morning fixing it, it's the DBA with the CIO hanging over his shoulder, and it is his/her job on the line in the long run. Now, with that said, does that mean that the DBA should be a arrogat butthole to everyone? Of course not, you have to strike a balance whcih I think you really do. SQLServer Central guys and girls, set up and take notice! It's not about cliques and friends and proving someone wrong just to do it like Grant so eloquently says...It's about quietly taking care of business ad your companies data, period. :) Great interview Grant!

Subject: Grant is a Great Speaker Also
Posted by: bradmcgehee (view profile)
Posted on: Friday, November 20, 2009 at 2:11 PM
Message: Although there wasn't any mention of it in this interview, Grant is also a great speaker. He just spoke at the 2009 PASS Community Summit and SQL Server Connections.

Subject: Learning to be a DBA
Posted by: ConstantCoder (view profile)
Posted on: Friday, November 20, 2009 at 4:10 PM
Message: Grant, you make a great point about hitting the books, if you want to advance your knowledge in a serious way. Staying busy is no substitute for studying hard. As a matter of fact, considering how much I enjoyed your straight-forward comments here, I think I will start by taking a look at your latest ...

Subject: Wow
Posted by: Granted (view profile)
Posted on: Monday, November 23, 2009 at 7:55 AM
Message: I go out of town for a few days and the comments take off. Thanks for the kind comments everyone. I'm not sure they're all deserved, but I'm glad that people are getting useful information out of my attempts to understand what the heck I'm supposed to be doing.

A few replys.

Phil Factor: Yeah, Ken was a great guy (I say without knowing him at all) and I learned a lot from him. Unfortunately his books are becoming less & less relevant with time, but they're still a great resource for learning the fundamentals.

Lee: No, Nixon was untrustworthy. In my mind that pulls him out of the DBA category completely. Sorry to disagree. I like your comments on Truman though. I think he's under-rated & under-appreciated. I suspect as time goes on he'll grow rather than shrink in stature.

Jerry: Not a clue how to go about doing that. Plus, I can get pretty cranky (that's how I earned the nickname). Not a good trait in a mentor.

Michael: Shhhhhh. We don't want people to realize they're learning useful stuff. We want it to sneak up on them. Otherwise they won't pay attention.

Joseph Marsh: Two recommendations, only one self-serving. First, to learn T-SQL, Itzik Ben-Gan has an introductory book called "SQL Server 2008 T-SQL Fundamentals." Fantastic read. That should get you going on the TSQL side. There's a book called "Beginning SQL Server 2008 Adminstration" of which I wrote three chapters. It covers all the details around SQL Server and is very approachable (I hope). After that... maybe Ross Mistry's "SQL Server 2008 Administration", uhh... Joe Sack's "T-SQL Recipes"... those are the ones that come to mind.

Travis, don't get me wrong. I lose a lot of fights and we've got some seriously screwed up databases out in production where I work. But, they provide great learning opportunities if nothing else. But you have to have the fight. You need to try to educate the developers as to why you're suggesting a course of action and back it up with facts & figures, etc. You'll still lose fairly often, but, later, when they're telling you there's something wrong with the database, you can pull out the old notes and say "Yes there is."

Thanks again for the kind comments.


Subject: Thoughtful
Posted by: navin (view profile)
Posted on: Tuesday, November 24, 2009 at 3:00 AM
Message: Appreciate everyone who made this happen !!!

Keep articles like this coming.

Subject: Excellent
Posted by: Jules Glass (not signed in)
Posted on: Tuesday, November 24, 2009 at 3:53 AM
Message: This is an excellent interview. Some very good questions with thoughtful and sometimes thought-provoking answers. I hope Simple Talk will build on these interviews with DBAs. It's one of the best online tech magazines there is.

 
























Seth Godin: Big in the IT Business
 Seth Godin has transformed our understanding of marketing in IT. He invented the concept of 'permission... Read more...

Geek of the Week: Don Syme
 With the arrival of F# 3.0 Microsoft announced a wide range of improvements such as type providers that... Read more...

Raw Materials: Derek in Therapy
 Our DBA gets in touch with his inner circuits. Read more...

Raw Materials: The Eyes of Derek
 Keeping Developers in the Proper Frame of Mind. Read more...

Raw Materials: Summer on the Lake
 Derek gets away from it all. Read more...

Linus Torvalds, Geek of the Week
 Linus Torvalds is remarkable, not only for being the technical genius who wrote Linux, but for then... Read more...

The Future of Reflector
 Simple Talk asked freelance writer Bob Cramblitt to sit down with the two people behind the agreement... Read more...

Driving up software quality - the role of the tester
 Have you ever wondered what a software tester does? Helen Joyce, test engineer at Red Gate software... Read more...

Bad CaRMa
 From hope and euphoria, to desperation, firings and the ultimate demise of a company. Tim Gorman charts... Read more...

Coming Out as a Cancer Survivor - A Guide for Software Developers
 A personal perspective on the responsibilities of a cancer-surviving software developer Read more...

Over 400,000 Microsoft professionals subscribe to the Simple-Talk technical journal. Join today, it's fast, simple, free and secure.

Join Simple Talk