Best Practices for Tuning Microsoft SQL Server on the HP ProLiant DL980
Technical white paper
Best Practices for Tuning
Microsoft SQL Server on the
HP ProLiant DL980
Table of contents
Introduction .................................................................................................................................................................................... 2
Prerequisite reading and system configuration ..................................................................................................................... 2
Server recommendations ............................................................................................................................................................ 3
BIOS settings .............................................................................................................................................................................. 3
Hyper-threading considerations ............................................................................................................................................ 3
Card placement: Understanding processor enumeration and I/O slots ....................................................................... 4
Recommended software: HP Enterprise SQL Optimizer (HP ESO)................................................................................. 5
Operating system recommendations ....................................................................................................................................... 6
Windows (all versions) ............................................................................................................................................................. 6
Windows Server 2008 SP2 and Windows Server 2008 R2 .............................................................................................. 7
Windows Server 2008 R2 and Windows Server 2012 ...................................................................................................... 7
Storage recommendations ......................................................................................................................................................... 8
Provide sufficient I/O and storage to run SQL Server ....................................................................................................... 8
Use the recommended Storport driver with fibre channel host bus adapters............................................................ 9
Verify maximum queue depth is greater than or equal to the number of spindles................................................... 9
Verify switch port speed is set to maximum ..................................................................................................................... 10
Network recommendations ...................................................................................................................................................... 10
Configure receive side scaling (RSS) ................................................................................................................................... 10
Enable options for offload processing ............................................................................................................................... 11
SQL Server tuning recommendations ..................................................................................................................................... 12
Use startup options to lock pages in memory.................................................................................................................. 12
Use SQL Server startup flags ................................................................................................................................................ 13
Ensure SQL Server starts up immediately after system boot ....................................................................................... 13
Enable write caching on the log disk .................................................................................................................................. 13
Segregate network processing from SQL processing .................................................................................................... 14
Use data compression appropriately ................................................................................................................................. 15
Application-dependent SQL parameter recommendations............................................................................................... 15
For OLTP workloads ............................................................................................................................................................... 15
For business intelligence workloads .................................................................................................................................. 18
Conclusion ..................................................................................................................................................................................... 19
For more information ................................................................................................................................................................. 20
Documentation feedback .......................................................................................................................................................... 20