Free Stuff Friday & PASS Summit Fever

Anyone here remember "Pac Man Fever"?  I've got that stuck in my head, only it's "I got PASS Summit fever, it's driving me crazy, I got PASS Summit fever, goin out of my mind…"

Just thought I'd share.

Today we have free books, comme d'habitude, a couple of giveaways, and an announcement!

  • @bradmcgehee posted of freeness on his blog this week ("Free E-Book on XSD SQL Server Schema Collections" http://bit.ly/PdehS). You should note that the download includes several books, and there's another bundle available on the same page, for free.
    • First bundle includes:
      • 1. Protecting SQL Server Data by John Magnabosco   
      • 2. The Art of High Performance SQL by Grant Fritchey 
      • 3. The Art of XSD by Jacob Sebastian 
      • 4. Two Minute SQL Server Stumpers Vol. 5
    • Also available (bundle 2):
      • 1. Mastering SQL Server Profiler   
      • 2. Brad's Sure Guide to SQL Server 2008  
      • 3. Brad McGehee's DBA Best Practices  
      • 4. How to Become an Exceptional DBA (2nd edition) 
      • 5. SQL Server Tacklebox
  • Through @zzubbuzz and @mashable we hear of the New Zealand airfare giveaway.  Check out the contest here: http://bit.ly/1S8E85
  • @williamstanek is starting book giveaways as he reaches new levels of Twitter fame. Go follow for details. 

 

MidnightDBA (that's us!) will be giving away shirts, books, hardware and other swag at the PASS Summit! To win, just follow us on Twitter. Throughout the days at SQLPASS we'll make an announcement, and the first one to find us will get the prize. Please, no running in the halls… 

Easy-easy, and we'll probably have some big fun with it. I'm thinking of stuff like, first person to approach Sean with a love poem (when announced) gets the big prize.

 

 

-Jennifer McCown, http://www.midnightdba.com/

The 10 Minute Book Review: SQL Server 08 Query Performance Tuning Distilled

I've been meaning to review this book forever, because it's my go-to book for all things performance tuning.  Let's just take a quick runthrough, starting with the basic info:

I love a book with context and insight, and this is such a book.

Chapters, with a few notes:

  1. SQL Query Performance Tuning – Covers the performance tuning process, and explains everything in context.  When I read this short chapter, I feel like I'm talking to a mentor who is explaining the reasons and common sense of tuning: how to examine performance conceptually, where to focus your efforts, and what you should look for – performance killers – right off the bat.
  2. System Performing Analysis – Using Performance Monitor to get a baseline. Covers resource bottlenecks and DMVs.
  3. SQL Query Performance Analysis – Using SQL Profiler, analyzing costly queries. Covers DMVs, index and join strategies, execution plans.   This chapter should be REQUIRE READING for every SQL DBA and DB developer.
    • Check out page 70 on for one of my favorite topics, server side traces (under the heading "Trace Automation").
    • Page 83 begins the section on execution plans.  This section (in the 05 version of the book) finally made me understand the difference between merge joins, nested loop joins, and hash joins in an execution plan.
  4. Index Analysis – Basics of indexes, the benefits and costs, recommendations, and advanced techniques.  This, too, should be required reading.
  5. Database Engine Tuning Advisor – Basics, how to use, and limitations.
  6. Bookmark Lookup Analysis – I like that bookmarks get their own chapter. Talks about what they are, why they're bad, and what to do about them.  I'm trying not to say "required reading" with every chapter, so we'll hop over a few…just know that you should totally read them.
  7. Statistics Analysis – Totally.
  8. Fragmentation Analysis Totally totally.
  9. Execution Plan Cache Analysis – Do I even need to say it?  By the way, this chapter has one of Sean's favorite topics, parameter sniffing.
  10. Stored Procedure Recompilation – It's not always a bad thing. FREEPROCCACHE!!
  11. Query Design Analysis – Chapter 11 is the one my book just falls open to, because I'm in there all the time.  You need good fast queries to get at your data…design well, code once.
  12. Blocking Analysis – Fundamentals, database locks, isolation levels…this chapter also cleared up a lot for me after I'd been stuck for years on some concepts.
  13. Deadlock Analysis – I can't help it, I have to say it again: REQUIRED READING.  Deadlocks are widely misunderstood, or not understood at all.  Chapter 13 lays it all out: fundamentals, catching, analyzing, and resolving.
  14. Cursor Cost Analysis – General discussion, benefits and drawbacks to different types of cursors, analyzing overhead, and recommendations.
  15. Database Workload Optimization – This is a good comprehensive chapter that touches on defragmentation and other specifics, within the context of a workload.
  16. SQL Server Optimization Checklist – I open to this chapter at the start of every new major performance tuning effort.  Every one.

Go, read, learn, enjoy.

-Jen McCown, http://www.MidnightDBA.com

Sing it with me: Free Stuff Friday!!

Another week gone, another week closer to SQL PASS!  (Click here for #SQLPASS Twitter chatter.)   In the meantime, let's talk free stuff.

We begin with the ghosts of free stuff past.  The North Texas SQL Server User group meeting was last night, and in addition to the free pizza, free PSSDIag talk by @sqlserversleuth, and free networking, we had our usual free SWAG. It's okay, you'll have another chance next month…

Thanks to @SQLChicken and @PASSMN for the discount code.  Best stated in their own words: "SQL! Online! Conference! http://bit.ly/4jGYV Discount code-SPJSUVC09-In the words of Monty Python, Nudge, nudge, know what I mean"

A free book, in your choice of English or Italian, on a special time managemetnt technique:  http://www.pomodorotechnique.com/ 

A free Windows 7 e-book in German, Windows 7 Auf einen Blick (thanks @MicrosoftPress, but shouldn't it be "Fenster Seiben Auf einen Blick"?)

Remember SQLChicken's SQL University!  It's all online and all free, all the time.

-Jen McCown, http://www.midnightdba.com/