Skip to Content
Professional SQL Server® 2005 Performance Tuning
book

Professional SQL Server® 2005 Performance Tuning

by Steven Wort, Christian Bolton, Justin Langford, Michael Cape, Joshua J. Jin, Douglas Hinson, Haidong Ji, Paul A. Mestemaker, Arindam Sen
January 2008
Intermediate to advanced
575 pages
16h 10m
English
Wrox
Content preview from Professional SQL Server® 2005 Performance Tuning

6.1. Server Bottlenecks

There are three server resources that you should be concerned about when trying to identify and resolve bottlenecks. You should review them in the following order: Memory, I/O, CPU. This section looks at each of these in turn and you'll also learn why you should look at them in this order.

6.1.1. Memory

Memory very often drives the overall performance of a system and lack of it often creates a greater perceived performance impact than the lack of any other resource. Lots of spare memory can also mask bottlenecks in other areas so it's important to know how your memory is being used before looking at anything else. This is covered in Chapters 2 and 3.

6.1.1.1. Effect on I/O

Lack of physical memory has a greater effect on I/O than anything else because paging activity will be high, which means high disk activity. Obviously, when you notice your I/O throughput reducing in this scenario, the wrong approach to take would be to buy faster disks.

6.1.1.2. Effect on CPU

The goal for CPU usage is to spend as much time as possible executing in user mode. Kernel mode represents time spent working on system processes and not your application, so a lack of physical memory will cause high CPU utilization in kernel mode because the server has to work harder to manage what little memory it has. Again, the wrong approach to take would be to buy faster CPUs, but could be easily done if you only looked at CPU utilization in isolation. User mode and kernel mode are covered ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Professional Microsoft® SQL Server® 2008 Programming

Professional Microsoft® SQL Server® 2008 Programming

Rob Vieira, Mahsa Nakhjiri
Professional SQL Server® 2008 Internals and Troubleshooting

Professional SQL Server® 2008 Internals and Troubleshooting

Christian Bolton, Justin Langford, Brent Ozar, James Rowland-Jones, Jonathan Kehayias, Cindy Gross, Steven Wort

Publisher Resources

ISBN: 9780470176399Purchase book