Home > SQL Server Tips > Microsoft SQL Server > Develop a performance baseline
SQL Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

MICROSOFT SQL SERVER

Develop a performance baseline


Jeremy Kadlec, Contributor
07.28.2005
Rating: -3.33- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Don't just release new software and hope for the best. Contributor Jeremy Kadlec explains the importance of establishing a performance baseline in this three-part series. In part one, below, he explains how to validate a baseline. In part two he covers the top 10 performance monitor counters. In part three Kadlec discusses how to capture a performance baseline with SQL Server Profiler.


Does this conversation sound familiar?

Tony: So how is the system doing today after the code release?
Angie: Not too bad. I have not heard the users complain yet, so no news is good news.
Tony: We will see how things go at 9:15 a.m. when all the users are on the system.
Angie: I hope we don't have any calls.
Tony: Yeah, me too. I am not too sure what we are going to tell them this time if they are having problems.
Angie: Let's just say it is an application problem, not a database problem.

Rather than release software and hope no issues occur, a performance baseline would be a much less stressful option. A performance baseline is a set of metrics to determine the performance of the SQL Server during normal circumstances. You would use it to determine if the system is performing in accordance with the baseline or if the system resources are exceeding the baseline and require your attention regarding the performance issue. Since no system is stagnate, the performance baseline should be recalculated for accurate comparisons after each major change is made to the system, whether it's a change in software, hardware, number of users and data, processes and so on.

From a SQL Server operations perspective, most organizations have an informal performance baseline that is typically accurate and based on user and IT team experiences. This is a critical first step that normally evolves as IT team members spend more time with their department. To expedite this process, it is imperative to formalize the performance baseline to test an application prior to its release and then determine if a performance problem occurs in the production environment.

Internal knowledge

To baseline by perception rather then definitive metrics, you must have internal knowledge about your application and users to serve as the first line of defense. To validate the performance baseline, the IT team could start the application and personally test the application's performance or go to a user's desk to see the performance problem. This pseudo baseline would include information from the following observations:

  • Application response time
  • The amount of locks per table
  • Frequency of blocking and the cause
  • Number of users
  • Typical business hours for the users
  • Batch processing schedule
  • Database size and growth
  • User (good or bad) habits

Although this information is neither the most scientific nor sophisticated, it can typically serve as a base set of information to further troubleshoot the performance issue as compared to normal operations.

Stay tuned for more of Jeremy Kadlec's tips on performance baselining.

About the author: Jeremy Kadlec is the principal database engineer at Edgewood Solutions, a technology services company delivering professional services and product solutions for Microsoft SQL Server. He has authored numerous articles and delivers frequent presentations at regional SQL Server users groups and nationally at SQL PASS. Kadlec is the SearchSQLServer.com Performance Tuning expert. Ask him a question here.


More information from SearchSQLServer.com

  • Tip: SQL Server performance-tuning worst practices
  • Tip: Performance tuning freebies to add to your favorites
  • Topic: Research performance and tuning best practices


  • Rate this Tip
    To rate tips, you must be a member of SearchSQLServer.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Microsoft SQL Server
    SQL Server errors, failures and other problems fixed from the trenches
    SQL Server consolidation: Why it's an optimization technique
    Can you shrink your SQL Server database to death?
    Using SQL Server datetime functions GETDATE, DATENAME and DATEPART
    Tuning SQL Server performance via memory and CPU processing
    Get SQL Server log shipping functionality without Enterprise Edition
    SQL Server 2008 backup compression pros and cons
    How to use SQL Server 2008 hierarchyid data type
    Tuning SQL Server performance via disk arrays and disk partitioning
    Should you upgrade to SQL Server 2005 or SQL Server 2008?

    SQL Server performance and tuning
    Tips for tuning SQL Server 2005 to improve reporting performance
    SQL Server errors, failures and other problems fixed from the trenches
    SQL Server database design disasters: How it all starts
    Can you shrink your SQL Server database to death?
    Parent-child dimensions in SQL Server 2005 with Analysis Services MDX
    SQL Server database design disasters: What not to do
    Tuning SQL Server performance via memory and CPU processing
    Troubleshoot Web service issues in SQL Server 2005 Reporting Services
    Ordering the results of a SQL query
    Configuring SQL Server with a changed computer name

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    contiguity  (SearchSQLServer.com)
    contiguous  (SearchSQLServer.com)
    drilldown  (SearchSQLServer.com)
    hashing  (SearchSQLServer.com)
    hybrid online analytical processing  (SearchSQLServer.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2005 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts