150 likes | 290 Views
Tuning SQL Server for SharePoint Jump Start. Bill Baer | Senior Product Marketing Manager, Microsoft Brian Alderman | Chief Executive Officer | MicroTechPoint. Course Topics. Module Agenda. SQL Server Instance Settings Maximum Memory (Per Instance) Default File Locations Collation
E N D
Tuning SQL Server for SharePoint Jump Start Bill Baer | Senior Product Marketing Manager, Microsoft Brian Alderman | Chief Executive Officer | MicroTechPoint
Module Agenda • SQL Server Instance Settings • Maximum Memory (Per Instance) • Default File Locations • Collation • MAXDOP • Operating System Settings
SQL Server Memory Configuration • Maximum Memory Setting SQL Max Memory = TotalPhyMem - (NumOfSQLThreads * ThreadStackSize) - (1GB * CEILING(NumOfCores/4)) NumOfSQLThreads = 256 + (NumOfProcessors*- 4) * 8 ThreadStackSize = 2MB on x64 or 4 MB on 64-bit (IA64)(* If NumOfProcessors > 4, else 0)
SQL Server Default File Locations Must Restart SQL Server Instance
Operating System Settings • NTFS Allocation Unit Size • 64K is optimal, 4K = 30% Performance Penalty • Use chkdsk <drive>Verify • Use Format to Configure: • Format <drive> /Q • /FS:NTFS /A:64K /V:<volume> /Y
Summary • Modify Memory Settings to Control Memory Usage by SQL Server • Change Default File Locations • Leave MAXDOP at 1 for SharePoint • Verify Operating System Set to 64KB Allocation Unit Size