[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Proving performance increases on SQL Server

Posted on 2007-10-11
4
Medium Priority
?
237 Views
Last Modified: 2012-06-21
I am the new database administrator for a company running SQL 2005 Standard Edition.  The first 2 things I have done were moving the database files to separated drive than the operating system, which should have increased performance a little, and then I changed the nightly automated task that used the old dbcc command to rebuild all the indexes to the new rebuild index task that is inside the maintenance plan for sql 2005.  I thought from the combination of those 2 changes I would see some decent increases to performance, but I think my problem is knowing exactly where to look so that I can prove the benefits of what I have done to my supervisor.  

I had previously ran traces against the database in question using SQL Profiler and saved a trace before I moved the db files, after I moved them but before changing the index rebuild method, and the once more today with all my changes.  So my thinking was I would have 3 different traces to compare, and the last one should look the best as it has the changes made to the database that should have improved performance.  I've been mainly looking at the duration column of the statements that seem to be taking the longest.  I was hoping to see the duration period decrease and that would be proof of performance increase, but I'm not really seeing that, so I don't have much to show my supervisor right now.  

Can someone point me in the right direction?  I need to have something beneficial to show today!
0
Comment
Question by:jacobymatt
  • 2
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
David Todd earned 150 total points
ID: 20061497
Hi,

The best advice I've found for starting out is:
http://www.sql-server-performance.com/articles/per/performance_audit_p1.aspx

Printing all the articles (there are about 7 or 8 articles, and some on multiple web pages) and binding it is on the list of first things to do when starting a new job. I have a copy at home and one at each of my last two jobs.

Regards
  David

PS There is rumoured to be a SQL 2005 version coming out shortly.
0
 

Author Comment

by:jacobymatt
ID: 20061675
I just printed these and will certainly read up, seems like good stuff.  But if I need something right now what is the best thing for me to look at with the traces that I have.  Is the duration column on the trace measured in milliseconds?  I may be able to say that certain insert statements took less time to execute after I made the changes that I did, but is that about all I can with an hour or two on my hands?

Thanks!!!
0
 
LVL 35

Expert Comment

by:David Todd
ID: 20061697
Hi,

The execution duration for individual statements is dubious at best. That is, given the multi-user nature of production SQL Servers, unless that it is a dramatic difference, it could be that the conditions on the server were different between the two runs - some other use was running a particularly complex query with a large result set during your first test run vs the second one.

To answer your question, I believe that the duration column is milliseconds.

Regards
  David
0
 

Author Comment

by:jacobymatt
ID: 20096515
so to follow up on the document that you suggested reading above.  I went ahead and printed that and will be studying up but yes I am the administrator for a 2005 SQL db so I just want to make sure that this will still be worth reading since it is intended for 2000 administrators.  
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question