If you’re having performance problems in your SharePoint environment try looking at the following settings for your SQL Server. I’ve used these at my clients and have seen performance increases. I hope they help.
For your network:
- Keep Latency to <1ms
- Stay on the LAN or optimize WAN throughput
- Use two NICs in web servers and application servers – 1 to host the site consumer traffic, 1 to handle inter-server communication with the SQL Server
For your SQL Server:
- Ensure that disk I/O channels are not shared with non-SQL Server logging (like IIS) or page files
For your Instance:
- Disable Auto Create Statistics if it has been enabled
- Set the MAXDOP (Maximum degree of parallelism) value to 1
- Use aliases for maintenance
For your Database:
-
Use the following to prioritize from fastest disks to slowest:
- Tempdb and transaction log files
- Database transaction logs
- Search (except admin)
- Database data files – if the site is primarily used for publishing and read-only consumers, prioritize data over logs
- Create additional tempdb data and database data files to equal the number of cores – i.e. Dual Core, 2 tempdb data files
- Put database data files and transaction logs on separate disks
- Only create files in the primary file group for content databases
- Additional data files (tempdb or content) should be the same size
- Pre-grow data and log files to their estimated size
For your Content:
- Plan site collection complexity and depth and use multiple databases to keep size manageable
