The Definitive Guide to SQL Server Performance Optimization
The Definitive Guide to SQL Server Performance Optimization
The Definitive Guide to SQL Server Performance Optimization
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Table of ContentsIntroduction...................................................................................................................................... iBy Sean Daily, Series Edi<strong>to</strong>r ................................................................................... iForeword......................................................................................................................................... iiChapter 1: Introduction <strong>to</strong> <strong>SQL</strong> <strong>Server</strong> <strong>Performance</strong> ......................................................................1Defining <strong>Performance</strong> and Health ...................................................................................................1How <strong>SQL</strong> <strong>Server</strong> Works ..................................................................................................................2<strong>The</strong> Transaction Log............................................................................................................2Indexes .................................................................................................................................4Clustered Indexes.....................................................................................................4Nonclustered Indexes...............................................................................................5<strong>The</strong> Query Engine and Optimizer........................................................................................6Caches..................................................................................................................................8Understanding Hardware <strong>Performance</strong> Components.......................................................................9Disk I/O................................................................................................................................9Network I/O .......................................................................................................................10Processors ..........................................................................................................................11Memory..............................................................................................................................12<strong>SQL</strong> <strong>Server</strong> <strong>Performance</strong> Audit Methodology ..............................................................................13<strong>Performance</strong> Tools.............................................................................................................13What <strong>to</strong> Measure................................................................................................................14Documenting Your Measurements ....................................................................................15Types of Databases ........................................................................................................................16OLTP Databases ................................................................................................................16Data Warehouses ...............................................................................................................18Scaling Concepts............................................................................................................................18Holistic <strong>Performance</strong> .....................................................................................................................19<strong>Server</strong> Hardware ................................................................................................................20Software Settings ...............................................................................................................21Design Issues .....................................................................................................................22Client Considerations.........................................................................................................23Summary........................................................................................................................................24Chapter 2: Measuring <strong>Performance</strong> ...............................................................................................25System (<strong>Performance</strong>) Moni<strong>to</strong>r......................................................................................................25iii