Thursday, October 18, 2012

DBA Study Guide


http://www.flickr.com/photos/caledonia09/4999119065/

 Hello Dear Reader, over here at Pragmatic Works we’ve been growing like weeds.  For the most part we are looking for Sr level people for Sr. Level positions.  Part of that process is interviewing.  Going for a job as a Sr. Consultant is a bit different than going for a job as a DBA. 

Today’s market for DBA’s is quite good.  If you are looking there are jobs out there.  A lot of the time after weeks or months of interviews when the “ideal” candidate has not been found you tend to lower the requirements.   It’s the Animal House “We need the dues” moment. 

Only for a business it is we need a butt in the seat.  You start asking the questions can we find someone with the right attitude, someone who can learn, someone who might not be at the level we want, but we can work with.  Often you can find a diamond in the rough and grow that person into the experience level you wanted.

In the Consultant biz it’s a bit different.  You can do that for Jr or Mid level jobs, but Sr level positions require you to really know your stuff.  You cannot expect a person to know everything, and one person’s Sr is another person’s Jr.  Not to mention there is a wide area of DBA expertise to be considered.  But we have to draw a line in the sand, and Knowledge is very important.


Can you answer some of the following questions:

  1. What is a heap?
  2. What is a Clustered Index, a Non-Clustered Index, and what are the differences between the two?
  3. What is a Page Split?  
  4. What is a Forwarding Pointer?
  5. Why do they matter?


If you cannot then I wanted to toss out some learning resources that cover a wide breath of area.  This is similar to the Microsoft Certification exams where they say know how to Baseline a server, couple different ways to skin that cat, so I know there are a LOT of different things to each very general area.
(*Note no actual cats were skinned in the process of writing this blog).  

This is just a collection of books that I’ve read over the years.  Some go in depth in particular areas, some are general and cover many.   My buddy Mike Davis (@MikeDavisSQL | Blog) wrote a similar list for BI folks if you are interested in that click here to read more.

But I wanted to toss them out so if you are looking for a good book you can find one.  Just looking to grow in a particular area?  Then these will help you as well.


Internals:  If you are looking for a book on Internals you cannot go wrong with Kalen Delaney(@SQLQueen | Blog).  The 2012 Internals book is due out in November, and I can’t wait to read it.  This book has many wonderful contributors and is well worth the money even though a new one is on the way out.  I cannot recommend this book enough.












Internals/Extended Events/Troubleshooting:  Christian Bolton (@ChristianBolton | Blog) put together an All-Star team for this book (a 2012 edition is due out soon as well).  It not only covers internals but tools to diagnose them from some of the Premier experts in the field.  I put this neck and neck with any book.  If you work with SQL Server 2008/R2 you should own a copy.













Query Tuning:  Grant Fritchey (@GFritchey | Blog) is a damn nice guy.  I don’t understand why people think he’s a Scary DBA, (Grant thanks for the advice on the Katana collection and sharpening swords in front of the daughter’s boyfriend before dates, priceless).   I just don’t understand the scary thing at all.  Regardless of his disposition Grant is the guy that wrote the book on Query Tuning and Execution Plans.  He is a master in this field and the only people I would regard higher are the people Grant would recommend.














Clustering:  Alan Hirt(@SQLHA | Blog) is to clustering what Grant Fritchey is to Query Tuning.  I’ve attended Alan’s pre-con’s, read his books, and watched his generous and free advice via #SQLHelp.  If you are working in clustering you should have Alan’s book it will point out best practices and save you head ache’s (I’m looking at you government SOC’s Image when setting up a 2008 Cluster).













Replication: I wanted to recommend a replication book however, I haven’t purchased this one.  My friend and co-worker Chad Churwell (@ChadChurchwell | Blog) is one of the smartest replication guys I've ever met and he recommends it. I’m making the recommendation because of Chad and I have done more replication as a Consultant that I did as a DBA.  I’ve set it up, I’ve fixed it, I’ve learned how to find out when it’s broken, what broke it, and why.  I’d also bet I’m not alone.  I’ve only read the free pre-view of the book and chapter wise it summarizes everything I’m looking for an Expert in Replication (other than experience).














Mirroring:  I would put Robert Davis(@SQLSoilder | Blog) in the realm of Mirroring what Grant and Alan are to their respective books.  Robert has blogged incredibly useful and real world information about mirroring.  AND YES I understand that Always On Availability Groups are the way to go.  However, not everybody is on SQL 2012, and a solid understanding of Mirroring allows you to better understand all the goodness that is Always On Availability Groups.














Hardware and Virtualization:  When it comes to hardware you don’t get much better than Glenn Berry(@GlennAlanBerry | Blog).  From his free Assessment Scripts on SQL Server Performance (Glenn's is here) is essential when you go onto a new server for the first time and try to holistically figure out what is going on right and wrong.  The first chapter alone taught me more about CPU’s and which to choose than years of experience had.  I was able to use this knowledge immediately.













Performance Indexing: Jason Strate (@StrateSQL | Blog) and Ted Krueger (@Onpnt | Blog) are incredibly smart guys.  SQL MVP’s, years of experience, and deep knowledge all combine to give you an answer to the age old question ‘What should I index and Why?’.  Indexing is a core thing that DBA’s should know about.  Adding, removing, finding good ones, and identifying bad ones are important.  Not to mention the answer to all of my previous questions are in this book.










SQL Server 2012/ SQL Azure/Powershell:  I work with some pretty smart guys.  SQL MVP’s, Consultants, and their friends are just as smart.  These two books are a collabertaive effort between brilliant people  Adam Jorgensen (@AJBigData | Blog), Brian Knight (@BrianKnight | Blog), Jorge Segarra (@SQLChicken | Blog), Patrick Leblanc (@PatrickDBA | Blog), Aaron Nelson (@SQLVariant | Blog), Julie Smith (@JulieChix | Blog)…And MORE (sorry for the people I left out)!  If you are looking for information on SQL 2012 and how to use it go to the Bible and their other book on Professional Administration.















 WRAP IT UP!

A lot of books I know and no I don’t expect you to read all of them before an interview, but there are a lot of common theme’s in the world of SQL Server.  A good expert should be EXCITED about what they learn about.  They should be able to pick something tell me what they know, and I’d like them to do it in a way that I’m excited about it by the time they finish.

I love going to SQL Saturday’s, PASS Events, and Conferences because they make me excited to learn.  And I really love to learn.  Find something that you are passionate about, and learn it really good.  That kind of learning and passion is infectious and is exactly what makes all of the authors I’ve mentioned such great SQL Server professionals. 

Hopefully, whether you’re looking for a job or not, it will help you find something that you love to learn about.

Thanks,

Brad


Thursday, September 27, 2012

SQL Saturday 151 Interview: Stacia Misner





Hello Dear Reader SQL Saturday 151 is just around the corner.  If you haven't registerd there is still time to sign up now, click here!

Tomorrow kicks off with our Full Day Pre-Con's at the with Kevin Kline(@kekline | Blog) of Quest Software and Stacia Misner (@StaciaMisner | Blog) of Data Inspirations.  Click Here to read more about our DBA Pre-Con  and Click Here to read more about our BI Pre-Con.  There are still a few seats remaining so if you haven't signed up do so today!

Stacia was kind enough to sit down and have an interview with me running a wide gambit of topics.

We talked about Teaching being involved in the SQL Community and of course the up coming Pre-Con.

I hope you enjoy!


1.       What got you into IT and then into SQL Server as a Career?  Was the move to work with SQL Server straight to BI or where you ever a DBA?

My first official job in IT was as a installer/trainer for a software company that developed applications for tractor dealerships (which eventually customized for car dealerships as well). My mom had been one of the original employees there as a developer and thought it would be a good opportunity for me.

 She wasn't working there when I started working there, but in later years she did rejoin the company although we worked in completely different departments. My job was to travel out to tractor dealerships and get their IBM System 36 installed and configured and then to teach the personnel how to run their business using the computer.
Most of them had been on manual systems. I did some custom reporting development for them because, of course, canned reports in the software never answered the questions that management really had.

When we started moving our applications to PC-based systems, we had a database backend and that's where I started to learn how to write SQL queries but I didn't know anything about database management. Fast forward many years and I was in another software company as a project manager for custom development in the legal industry. I stumbled on Business Intelligence while I was looking for information on the Internet to use to train up a new employee on project management skills.

I read about cubes and thought this had to be valuable to the types of reporting and analysis that we were trying to incorporate into our software, and that's when my career veered off into BI. At the time, I managed a team of Lotus Notes and Java developers, and we extracted data from our Lotus Notes databases into Oracle databases so that we could do more sophisticated reporting than we could in Lotus Notes. I went straight from that in to BI - I've always been involved in one way or another in getting data out of computers into a format that people need for analysis. 



2.       You just moved to Alaska, why Alaska and what do you love about it?

I moved to Alaska because my husband told me when were dating (many, many years ago) that he would be happier living with me in a shack in Alaska than he would in a mansion in (somewhere I forget now).

So I wanted him to prove it to me! But more seriously, he's a country boy and was never very happy in our city homes. To rectify that, we were looking for property out in the country somewhere in the Western states a couple of years ago and a long-lost childhood friend of my husband's called during that time and described where he was living in Alaska. It had everything we were looking for, except it wasn't as close to an airport as I required. So I said I would put up with the travel inconvenience as long as I could get a decent Internet connection, which we made happen, and so here we are!

 Travel inconvenience is putting it mildly. It's quite an ordeal to get in and out of here - but it's an amazing place to be while I'm home. We're still getting set up and stocked up, but I love the access to fresh foods from the sea and from nature - we have all the salmon and halibut and other types of fish that we could ever want, plus wild mushrooms (chanterelles and morels) and a variety of edible seaweeds. We'll be building a greenhouse for year-round veggies. I go for a walk almost every morning when I'm home - rain or shine - and walk about 3 miles with a neighbor and see more deer (and sometimes bear and bald eagles) each day than I see people in a week. It's a beautiful view and environment, and I'm really glad to be here!



3.       You’ve had the opportunity to travel to many different places and teach to many different people and audiences.  What has your favorite experience been as a teacher?  What was your favorite location to travel to?
I have lots of favorite experiences as a teacher.  I really like to experience a place through its foods and I had a list of foods to try during the week I was there. It was my personal food scavenger hunt!

Each day at lunch I would ask my students to help me identify what was on our lunch menu to determine what I could cross off my list. On Thursday, I was asked if I would join some of the students for dinner to get some of the other items on my list. I assumed we would be going out to a restaurant, but I was invited to a flat that one company had rented for the students they had sent to my class and they cooked dinner for me.

Meanwhile there was an incredible storm outside - hurricane force winds in Warsaw! But we had such a wonderful time enjoying homemade food and they were telling me Polish folk tales as we waited out the storm. And to cap it off, one of the students told me she had used one of my books in a college course (which she had neglected to tell me all week until that night!). That evening was truly a memorable experience!

 As for my favorite location, that's more difficult question to answer because there have been so many places and so many wonderful people that I can't single out just one!


4.       How has the SQL Server Community, and/or being involved with it, affected your life?

Being involved in the SQL Server Community has given me the opportunity to meet people from all around the world. On a personal level, my husband is on a mission to acquire a certain breed of dog which is not commonly found in the US, so he found breeders in other countries and suggested I go to these places and I thought - I KNOW people in those countries who I could ask for help with the language, etc. How nice is that?

On a professional level, it's extremely helpful because I have a network of like-minded people that I can connect with regularly which is so important as an independent consultant who doesn't have an office full of co-workers. I've been able to participate in many projects as a result of having met people through community and I've been able to connect people that I know with clients that need their sort of expertise.

Having this network as a result of the SQL Server Community also helps me keep aware of important happenings and trends in the industry, provides a sounding board when I'm dealing with challenges, and keeps me motivated to keep learning more and to see the same old things in new ways. 

5.       Last year you attended SQL Saturday 62 in Tampa and later you were at SQL Rally in Orlando, this year it is back to Orlando for SQL Saturday 151.  What keeps you coming back to visit the SQL Server Community in Florida?
I have a lot of friends I like to see in the SQL Server Community in Florida and it's a nice place to visit most times of the year!

6.       Your Pre-Con looks fantastic, if I was speaking to someone at an HR/Training department who should I tell them they should send to attend?

The Pre-Con is going to cover a lot of ground, although it is specific to the BI features in SQL Server 2012. The people who will benefit the most will be those who have some familiarity with earlier versions of SQL Server BI because I will talk about the things you need to know to make the transition more easily and I'll point out what's most important in the new features. If you're completely new to BI, you won't have the right context.

Anyone responsible for BI architecture, solution development, or BI support would benefit from this Pre-Con if a SQL Server 2012 upgrade is on the horizon, or if you're wondering why (or if) you should bother with an upgrade. 

7.       Why is BI so important to the business world?  Do you have any stories about how BI investments help change or shape a company that you worked with (that you can tell without breaking any confidentiality agreements)?

BI is so important because there are so many questions and there is so much data, but it's not so easy for a business person to find the answer to their questions. The structure of the data that is necessary for capturing transactions just doesn't lend itself well to summarization and comparative style queries. I don't think any of my clients would say that BI revolutionized their business.

 Instead, they would say that having BI has freed up their time so that they can spend more time thinking about what to do in response to what they learn from BI rather than spending all their time trying to gather the data and piece it together to make sense of it somehow. 


8.       I’m a DBA, why would I want to learn about BI?
I know enough about DBAs to know that there are different types of DBAs, so I would say it depends... I think you need to understand enough about BI to determine which tool is right for which job and then shift the work where it will get the best performance with the hardware and BI developer resources available.

You might even be an accidental BI developer, if not now, maybe soon. There is no escape from BI! The bottom line is that the business wants data for analysis, yesterday. The easier you make that process and the faster you can deliver, the more of a hero you can be.

9.       Your presenting Data Visualization in Reporting Services during the SQL Saturday 151 event, how does this tie into the pre-con?

They're actually unrelated. My Pre-Con focuses on SQL Server 2012 whereas my Data Visualization presentation talks about what you can and should do in Reporting Services to tell the right story, and that's applicable regardless of what version of Reporting Services you're using.

That said, I will also delve a bit into spatial data visualization which is SQL Server 2008 R2 feature along with some other items that were introduced in that version, but the main theme of the session is about design techniques - good and bad.

10.   If you could give one bit of advice to someone starting out in the IT field what would it be?

Find your passion and run with it, as long as you can see how it solves a business problem. Everybody likes different aspects of technology, which is good thing else we'd all be in each other's way.

When you find what you're passionate about, you don't mind spending extra hours learning about it, whether you're getting up early or staying up late. You want to eat, breathe, and live it while everyone around you thinks you're nuts! But that passion pays off when you can use it to help others solve their problems.

The more problems you can help people solve, the more valuable you are, and the more you want to learn so that you can expand the range of problems you can solve. It's a vicious cycle!


As Always Dear Reader Thanks for stopping by and I hope to see you Tomorrow and this Saturday!

Thanks,

Brad


Monday, August 20, 2012

Please VOTE for Me: PASS Summit 2012 Lightening Talks




http://www.flickr.com/photos/cyndydoty/2087680308/
Hello Dear Reader the PASS Summit is approaching and with that the program committee sent out a request for Lightening Talk Submissions.  Last year I was able to give a lightening talk, 24 a 5 minute Horror Story, about one of my worst on call shifts ever that unfolded during a 24 straight hours.  It involved the wrong RAID Drive being pulled, having to rebuild transaction logs, Master going nuclear and having to rebuild the system tables and restore from backup, and finishing off with a little DBA Prayer called “Please God let DBCC CHECKDB run clean so I can get to sleep….”.  It was fun and I tried to do it with as much humor as I could given the situation.

This year the Lightening Talks have been extended to 10 minutes, and I’ve submitted another that is now up for community vote. 

“So Balls,” you say, “What are you presenting on?”

A very important topic Dear Reader and it is all about how to be a better DBA.  We all will go to the Summit and spend hundreds and in most cases thousands of dollars to attend.  What about the time in between?  

Once a year we have the largest get together in the World of SQL Server professionals.  After you go home how do you keep up with it?  Knowing where to look is the first step.  There are many many organizations that work tirelessly to keep the spirit of the Summit alive until we meet again, and you can get it without breaking the budget.  My topic is Get Top Notch Training for Free or Next to Nothing.

GET TOP NOTCH TRAINING FOR FREE OR NEXT TO NOTHING

Top Notch, You've said it all.

  The greatest thing about Microsoft SQL Server is the SQL Server Community.  I would use it as a major selling point if I were a Microsoft Rep.  

Save thousands of dollars, yep.  Get features included with Enterprise Edition that cost hundreds of thousands of dollars with other vendors, check.  Has a community of millions of users who bust their butt’s regularly to give free training, documentation, assistance, and put on over 100 free training clinics in 2012 alone, Check.   

I admit I am biased here.  Most technologies have a gathering and professionals that go out of their way to help others.  You would be hard pressed to find one as grand in scale and scope as the SQL Server Community.  Without further ado here’s my Abstract:

The greatest thing about SQL Server is its Community. This is always spotlighted at the Summit, but throughout the year there is Free Training offered by Top SQL Minds, MVP's, and MCM's alike. Learn about Webinars, User Group Meetings, and SQL Saturdays and how to keep your SQL Learning going all year long.


There’s a lot to be gained by going to the big conferences, but if you’re in a shop where the budget isn’t there you don’t have to miss out.  My company Pragmatic Works has free training on the T’s (Tuesday and Thursday’s), SQL Skills has their Insider video’s, The Brent Ozar PLF has weekly webinars, Idera has the Ace program, and you name it (and sorry to anyone I left out) we've got it!

Not to mention the PASS Virtual ChaptersDBA, DBA Fundamentals, Performance, PowerShell, Big Data, Business Intelligence, and more!  Want a preview of the great content you will get at the PASS Summit 2012 look no further than the 24 Hours of PASS, once again completely free.

Want to be able to reach people in person and network?  Maybe you should attend a SQL Saturday, check out SQL Saturday 151coming up in Orlando Saturday September 29th, where the same people and many of the same presentations given around the globe are brought to the local community.  

Want community more than once or twice a year?  Check out your Local SQL Server User Group http://www.sqlpass.org/PASSChapters.aspx(SSUG to the uninitiated), where you meet the DBA’s that make up your local community, once again absolutely free.

Many conferences will give you a chance to get training that may not make it out to any of these channels (the Microsoft PSS team the CAT team and other Microsoft guru's), and I would argue that they are still very important and valuable reasons to attend.

However, knowing where to look when those conferences are gone and just a memory and notes on a page is priceless.  So this will be my presentation.  It will be chock full of links to resources, how to find information, what sites to go through (I still haven't mentioned forums!).  Better yet being a lightening talk we'll have some people in the room that may be able to contribute more as well!


Thanks,

Brad