Optimizing Performance

To most effectively optimize SQL Server performance, you should focus on the areas that will yield the largest performance increases over the widest variety of situations. Microsoft SQL Server includes an intelligent, cost-based query optimizer which can quickly determine the best access method for retrieving the data, including the order in which to join tables and whether or not to use indexes that might be on those tables. The greatest benefit in SQL Server performance can usually be gained when you optimize the following areas:

The biggest performance problems are often caused by deficiencies in these areas.

This chapter focuses on the areas that have been shown to be of practical value in real world situations. You should concentrate on these areas first, because large performance improvements can often be achieved with a relatively small time investment. You can avoid spending significant time and effort on areas that may not yield sizable improvements.