TheChaseMan's Frenetic SoapBox

Always looking for better ways to do things...

Simple SQL Server Performance Tuning Tip

I told a friend of mine about this today, and to my surprise, he was amazed. So, I told another friend and he was amazed. And he told 2 friends and they told 2 friends and so on and so on. OK, sorry for the cheesy 70's commercial reference. I'm not trying to insult anyone's intelligence with this post, and at the same time I don't want anyone to miss out on these SQL Server gems.

Did you know that you can run the new SQL Server 2005 database engine tuning advisor against a query? Maybe this might give you some advice on where to place a clustered or non-clustered indexes. If you aren't sure, you can always implement the automated suggestion.  :-)

  1. In SQL Server Management Studio, highlight your query..

    select *
    from orders
    where orderdate > '12/31/1996'
        and employeeid = 5
     
  2. From the Query menu, click Analyze Query in Database Engine Tuning Advisor.

That's it!  Oh, and did you also know you can do something similar in SQL Server 2000 to run the index tuning wizard?

  1. In Query Analyzer, highlight your query...
  2. From the Query menu, click Index Tuning Wizard.

If you haven't tried these features, do it now I tell ya!  :-)

 


Digg!

posted on Tuesday, January 03, 2006 7:35 PM

Feedback

# Plymouth, N.H.? 1/4/2006 6:37 AM Kristy

If you are THE Sean Chase who used to live in Plymouth, N.H. and who has a brother named Eric and a mom named Lota, you may want a picture of your brother I found recently while cleaning out my garage. My name is Kristy (Fowler) Coker, and you and Eric even stayed at our house once!

Anyway, I scanned the class pic and sent it to Melanie (Cray) Blake and my mom, who came up with your last name. I tried Googling your brother, but there are WAY too many Eric Chases on this planet.

So anyway, if you want a copy of this picture, just email me from the link on my homepage or send me your brother's email. Tell your dad that Tom & Linda Fowler say Hello.

Oh, and if you are NOT the Sean Chase from Plymouth, please forgive this Inbox interruption as you hit the Delete key. :-)

Happy 2006!
Kristy (Fowler) Coker