Home > Identify performance bottlenecks in SQL Server
Step-by-Step Guide:
EMAIL THIS LICENSING & REPRINTS

Identify performance bottlenecks in SQL Server

26 Jul 2007 | Hilary Cotter

Expert advice on database administration
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google

A beer bottle has one bottleneck (or limiting constraint) that will slow down the flow of beer. In SQL Server, there are four physical factors, also referred to as bottlenecks, that can slow down your overall system throughput and degrade performance. These SQL Server bottlenecks are disk, memory, processor and network.

The next time you are enjoying a long, tall, cold one, pause for a moment to study the neck of the bottle. The neck is smaller in size than the larger body of the bottle. The bottle design limits the amount of beer exposed to air in order to limit oxidization and, more importantly, provides a large reservoir of air to buffer the internal air pressure in the bottle during the pasteurization process and, in some cases, the bottle design allows it to continue the fermentation process after bottling and pasteurization. As you pour the beer out of the bottle, notice how the speed of the pour is limited by the size of the bottle's neck.

With SQL Server, bottlenecks are likewise very powerful. One bottleneck can manifest itself as other bottlenecks, and once you remove one, you may find the SQL Server is constrained
More on SQL Server performance and tuning:
Target SQL Profiler to determine performance problems

Performance tune your SQL Server with these tools and tips
by a completely different bottleneck. For example, on a SQL Server with disk constraints (a low rpm drive), and a small amount of available memory (which will cause excessive paging), you will find high processor utilization, as SQL Server's processor is spending a large amount of time paging to disk. Adding more memory may reduce the amount of paging, but the disk bottleneck may become the primary constraint.

Once you've identified the bottleneck, the easy way to resolve it is by replacing the resource with one that provides better performance:

  • Disk bottleneck. Add faster drives or a more appropriate RAID array.
  • Memory bottleneck. Add more memory.
  • Processor bottleneck. Add more or faster processors.
  • Network bottleneck. Move to a gigabyte Ethernet.

These easy answers, however, are not often economical decisions, and in many cases will not solve the underlying problems causing these bottlenecks.

Here are a couple more points about SQL Server bottlenecks: Disk bottlenecks tend to manifest themselves in high processor utilization situations because the processor is busy managing disk I/O. Memory bottlenecks manifest themselves as high processor and disk utilization (the processor is busy managing virtual memory and disk I/O). When examining bottlenecks, first start examining memory bottlenecks, then disk bottlenecks and finally processor bottlenecks.


ABOUT THE AUTHOR:   
Hilary Cotter has been involved in IT for more than 20 years as a Web and database consultant. Microsoft first awarded Cotter the Microsoft SQL Server MVP award in 2001. Cotter received his bachelor of applied science degree in mechanical engineering from the University of Toronto and studied economics at the University of Calgary and computer science at UC Berkeley. He is the author of a book on SQL Server transactional replication and is currently working on books on merge replication and Microsoft search technologies.
Copyright 2007 TechTarget



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


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


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