1 | sharepoint saturday st. louis 2015 sql server best practices for sharepoint on-prem
TRANSCRIPT
1 | SharePoint Saturday St. Louis 2015
SQL Server Best Practices for SharePoint On-Prem
2 | SharePoint Saturday St. Louis 20152 | SharePoint Saturday St. Louis 2015
Session Evaluations
Schedule and evaluate each session you attend via our mobile app that can be used across devices at
http://spsaturday. azurewebsites.net
You will be able to evaluate sessions added to your “My Sessions” 25 minutes before the scheduled end time
Evaluations are stored anonymously and your feedback is appreciated
The app will be the only method available to submit session evaluations for the event and we hope you find it intuitive and convenient
2 | SharePoint Saturday St. Louis 2015
3 | SharePoint Saturday St. Louis 20153 | SharePoint Saturday St. Louis 2015
Housekeeping
Follow SharePoint Saturday St. Louis on Twitter @spsstlouis and hashtag #spsstl
Play “Sponsor Bingo” to register for your chance to win one of the many great giveaways at the end of the day
Schedule and evaluate each session you attend via our mobile app that can be used across devices at:
http://spsaturday. azurewebsites.net
4 | SharePoint Saturday St. Louis 20154 | SharePoint Saturday St. Louis 2015
Ajay Iyer [email protected]
Lumeris (Sr. SharePoint Administrator)
SharePoint Experience – 8 years Ask me about – SP Solution
Architecture, SP administration Microsoft Certified –
SP2007/2010/2013 Twitter: @shankarajay1
Biography
4 | SharePoint Saturday St. Louis 2015
5 | SharePoint Saturday St. Louis 20155 | SharePoint Saturday St. Louis 2015
Outline
6 | SharePoint Saturday St . Louis 2015
• Review most common mistakes with SharePoint environment configurations• Best Practices for setting up SQL Server
for SharePoint• SQL Servers Security model• Optimizing SQL Server performance
• SQL Server – Physical or Virtual?
Outline
6 | SharePoint Saturday St. Louis 2015
Most Common Mistakes with SharePoint Configurations
7 | SharePoint Saturday St. Louis 20157 | SharePoint Saturday St. Louis 2015
Most common mistakes
Setting up SQL instance on a shared SQL server SysAdmin rights for all SharePoint accounts DBs with guids (WSS_Content_qpdspd8932rrt) DBs set with improper growth rates
8 | SharePoint Saturday St. Louis 2015
Best Practices for Setting up SQL Server for SharePoint
9 | SharePoint Saturday St. Louis 20159 | SharePoint Saturday St. Louis 2015
Best Practices for setting up SQL for SharePoint
Always use a dedicated SQL server Supported Versions of SQL:
SQL Server 2014 (supported with Service Pack 1 of SharePoint 2013)
SQL Server 2012 SQL Server 2008 R2 w/SP1
64-bit, 8 cores, 16GB RAM Make sure you set the default collation for DBs to
Latin1_General_CI_AS_KS_WS (Case insensitive, Accent sensitive, Kana sensitive, Width sensitive)
Set MAXDOP to 1 Do NOT enable Auto-Create Statistics
10 | SharePoint Saturday St. Louis 201510 | SharePoint Saturday St. Louis 2015
Best Practices for setting up SQL for SharePoint
SQL Server Security
SP Install Account = SysAdmin rights on SQL Instance SP Farm Account = DBCreator & SecurityAdmin on SQL
Instance If possible, configure SQL instance on non-standard ports
(anything except 1433 & 1434) Block ports 1433 & 1434 on SQL Server for incoming &
outgoing traffic Create DNS aliases for DR & security purposes
11 | SharePoint Saturday St. Louis 201511 | SharePoint Saturday St. Louis 2015
Best Practices for setting up SQL for SharePoint
Best practices for optimizing SQL Server performance
If possible, keep your crawl DB on separate disks If possible, put the following on the fastest drives
Tempdb Content DBs Search DBs except for search admin db
DB Growth Rates Pre-size DBs based on requirements Always set autogrowth values to a fixed number of
megabytes
12 | SharePoint Saturday St. Louis 201512 | SharePoint Saturday St. Louis 2015
Best Practices for setting up SQL for SharePoint
Best practices for optimizing SQL Server performance
Keep a close eye on the recovery options for your DBs.
Simple Recovery
SharePoint_Config
Search Admin DB
Analytics Reporting
Crawl DB
Link DBSharePoint Usage Logging DB
User Profile DB
Synch DB
Social Tagging DBMaster DBTemp DB
13 | SharePoint Saturday St. Louis 201513 | SharePoint Saturday St. Louis 2015
Best Practices for setting up SQL for SharePoint
Mirroring Options
• Log Shipping• SQL Clustering• Always On Availability Groups
14 | SharePoint Saturday St. Louis 2015
SQL Server – Physical vs. Virtual?
15 | SharePoint Saturday St. Louis 201515 | SharePoint Saturday St. Louis 2015
Outline
6 | SharePoint Saturday St . Louis 2015
Thanks to Our Sponsors!
Gold Silver Raffle