SQL and Storage Considerations for SharePoint Server 2010 <ul><li>Mike Watson </li></ul><ul><li>Sr. Product Manager </li><...
About Mike <ul><li>Product Manager at Quest responsible for availability, scalability, and manageability. </li></ul><ul><l...
<ul><li>www.SharePointMadScientist.com </li></ul>
Agenda <ul><li>What’s new in SharePoint 2010 </li></ul><ul><ul><li>Better Architecture </li></ul></ul><ul><ul><li>More App...
What’s Changed in SharePoint 2010 <ul><li>More functionality out of the box </li></ul><ul><li>Big change to services </li>...
SharePoint 2010: Bigger Than Ever!
But Wait! There’s More!
Services in SharePoint 2007
Services in SharePoint 2010 (a la carte)
 
 
Better Multi-Tenancy  IPSEC or SSL SSL
Tenant Admin Page
Database Mirroring Support <ul><li>Support for automatic failover using SQL mirroring high availability mode </li></ul><ul...
Database Mirroring with SharePoint 2010
Database Mirroring in SharePoint 2010
Demo <ul><li>High Availability using Database Mirroring </li></ul>
Command & Control <ul><li>Throttling – Tell end users to leave you alone. Your busy! </li></ul><ul><li>Large List controls...
Turn on the Developer Dashboard <ul><li>STSADM </li></ul><ul><li>C:Program FilesCommon FilesMicrosoft SharedWeb Server Ext...
Large List Controls Configurable List Throttling And Thresholds You control when and how much! List throttling controls fo...
SQL Best Practices
SQL Health = SharePoint Health! <ul><li>Sub-optimal SQL perf will radiate to other components in the farm. </li></ul>Datab...
Databases in SharePoint 2007
Databases in SharePoint 2010
<ul><li>Use 64Bit! </li></ul><ul><li>Configure Memory </li></ul><ul><ul><li>Min & Max values = Total memory – 2GB for OS o...
Pregrow databases and never autogrow
Best Practices Analyzer Health Rules Runs on a Timer Job Create your own! Repair Auto-magically!
Demo <ul><li>SQL Best Practices using SharePoint Health Analyzer </li></ul>
<ul><li>Virtual is never as good as physical (sharing) </li></ul><ul><li>Some virtualization features don’t work well </li...
 
Assign appropriate hardware to VM’s Web App SQL Processor Minimum 2.5Ghz 2.5Ghz 1.4Ghz Recommended >3Ghz Dual >2.5Ghz Dual...
Storage Best Practices
Manage Storage Capacity
Allocate as many disks as needed to SQL Temp Logs Search Data
Think Disk IO! Not Disk Capacity!
Calculating Disk IO – An Example
Best Practices – SQL Disk IO <ul><li>Allocate separate and dedicated disks with the following specifications: </li></ul><u...
Use RAID 10
Demo <ul><li>Monitoring storage IO </li></ul>
Summary <ul><li>SharePoint 2010 is Big! </li></ul><ul><li>SharePoint 2010 = X…ability </li></ul><ul><li>SQL Optimization a...
Quest Solutions for SharePoint  Site Administrator for SharePoint  Understand, manage and secure  your SharePoint environm...
Upcoming SlideShare
Loading in …5
×

Sql And Storage Considerations For Share Point Server 2010

3,355 views

Published on

Published in: Technology
  • Be the first to comment

Sql And Storage Considerations For Share Point Server 2010

  1. 1. SQL and Storage Considerations for SharePoint Server 2010 <ul><li>Mike Watson </li></ul><ul><li>Sr. Product Manager </li></ul><ul><li>Quest Software </li></ul>
  2. 2. About Mike <ul><li>Product Manager at Quest responsible for availability, scalability, and manageability. </li></ul><ul><li>Previously instructor for the Microsoft Certified Master program on several topics including Backup/Restore, HA, and DR. </li></ul><ul><li>Entrepreneur, Mad Scientist, and soon an Author. </li></ul><ul><li>Previously at Microsoft. Went from support to designing some of Microsoft’s most critical services in just 5 years. </li></ul><ul><li>U.S. Army before that. Computers, Finance, Accounting, and Armor (M1A2 Tank) </li></ul>
  3. 3. <ul><li>www.SharePointMadScientist.com </li></ul>
  4. 4. Agenda <ul><li>What’s new in SharePoint 2010 </li></ul><ul><ul><li>Better Architecture </li></ul></ul><ul><ul><li>More Applications </li></ul></ul><ul><ul><li>Command and Control </li></ul></ul><ul><li>SQL best practices </li></ul><ul><li>Storage best practices </li></ul>
  5. 5. What’s Changed in SharePoint 2010 <ul><li>More functionality out of the box </li></ul><ul><li>Big change to services </li></ul><ul><li>Bigger variety in workloads </li></ul><ul><li>Harder to make recommendations </li></ul><ul><li>Some lessons learned built in </li></ul>
  6. 6. SharePoint 2010: Bigger Than Ever!
  7. 7. But Wait! There’s More!
  8. 8. Services in SharePoint 2007
  9. 9. Services in SharePoint 2010 (a la carte)
  10. 12. Better Multi-Tenancy IPSEC or SSL SSL
  11. 13. Tenant Admin Page
  12. 14. Database Mirroring Support <ul><li>Support for automatic failover using SQL mirroring high availability mode </li></ul><ul><li>Leverage failover partners for each database you create </li></ul><ul><li>Read more about how this works on my blog http://www.sharepointmadscientist.com/Lists/Posts/Post.aspx?ID=46 </li></ul><ul><ul><li>No automatic provisioning </li></ul></ul><ul><ul><li>No automatic failover using high protection mode </li></ul></ul><ul><ul><li>Keep database mirroring best practices in mind. Less than 50 database per instances... since we already have so many, you can see that can be a problem. </li></ul></ul>
  13. 15. Database Mirroring with SharePoint 2010
  14. 16. Database Mirroring in SharePoint 2010
  15. 17. Demo <ul><li>High Availability using Database Mirroring </li></ul>
  16. 18. Command & Control <ul><li>Throttling – Tell end users to leave you alone. Your busy! </li></ul><ul><li>Large List controls – tell end users they’re crazy trying to make that query, but admins, no problem! </li></ul><ul><li>SharePoint designer – maybe not </li></ul><ul><li>Developer Dashboard – Learn just how bad your developers are. </li></ul><ul><li>Sandboxing – More like prison for unsavory code. </li></ul><ul><li>SQL Resource Governor – The nuclear option! </li></ul>
  17. 19. Turn on the Developer Dashboard <ul><li>STSADM </li></ul><ul><li>C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14BIN>stsadm -o setproperty -pn developer-dashboard -pv ondemand </li></ul><ul><li>Powershell </li></ul><ul><li>Run Powershell from the start menu as administrator by right clicking. </li></ul><ul><li>Execute a Dashboard.ps1 script file containing this: </li></ul><ul><li>  </li></ul><ul><li>$ddSettings = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings; </li></ul><ul><li>$ddSettings.DisplayLevel = ‘OnDemand’; </li></ul><ul><li>$ddSettings.RequiredPermissions =’EmptyMask’; </li></ul><ul><li>$ddSettings.TraceEnabled = $true; </li></ul><ul><li>$ddSettings.Update() </li></ul><ul><li>  </li></ul><ul><li>Display Options = “On”, &quot;Off&quot; or &quot;OnDemand&quot; </li></ul>
  18. 20. Large List Controls Configurable List Throttling And Thresholds You control when and how much! List throttling controls forces end users to create more efficient views with < x number of items.
  19. 21. SQL Best Practices
  20. 22. SQL Health = SharePoint Health! <ul><li>Sub-optimal SQL perf will radiate to other components in the farm. </li></ul>Database Management is Paramount!
  21. 23. Databases in SharePoint 2007
  22. 24. Databases in SharePoint 2010
  23. 25. <ul><li>Use 64Bit! </li></ul><ul><li>Configure Memory </li></ul><ul><ul><li>Min & Max values = Total memory – 2GB for OS overhead </li></ul></ul><ul><li>On 32bit configure AWE </li></ul><ul><ul><li>http://technet.microsoft.com/en-us/library/ms175581.aspx </li></ul></ul><ul><li>Configure Temp DB </li></ul><ul><ul><li>Allocate 1 data file per processor core </li></ul></ul><ul><li>Pregrow databases & never autogrow </li></ul><ul><li>Align partitions </li></ul><ul><ul><li>64KB or 256KB </li></ul></ul><ul><li>Use 64KB or larger multiple for RAID stripe size </li></ul><ul><li>Dedicate storage for SQL </li></ul><ul><li>Use RAID 10 </li></ul>Configure SQL to conform w/ best practices
  24. 26. Pregrow databases and never autogrow
  25. 27. Best Practices Analyzer Health Rules Runs on a Timer Job Create your own! Repair Auto-magically!
  26. 28. Demo <ul><li>SQL Best Practices using SharePoint Health Analyzer </li></ul>
  27. 29. <ul><li>Virtual is never as good as physical (sharing) </li></ul><ul><li>Some virtualization features don’t work well </li></ul><ul><ul><li>E.g. Resource pool allocation aka overcommit </li></ul></ul><ul><li>Virtualization introduces some artificial limitations to scaling up </li></ul><ul><ul><li>Processor limitations per machine </li></ul></ul><ul><ul><li>Ability to leverage memory </li></ul></ul><ul><ul><li>Sharing across bottlenecks (hw bus, NIC) </li></ul></ul><ul><li>Some roles work better with virtualization than others… </li></ul>Virtualization is Great But Be Careful!
  28. 31. Assign appropriate hardware to VM’s Web App SQL Processor Minimum 2.5Ghz 2.5Ghz 1.4Ghz Recommended >3Ghz Dual >2.5Ghz Dual >2.0Ghz Best Practice 3.0 Ghz Quad 3.0Ghz Quad Dual 2.0 Quad Memory Minimum 2GB 2GB 512MB Recommended >2GB 4GB >2GB Best Practice 8GB 16GB 32GB
  29. 32. Storage Best Practices
  30. 33. Manage Storage Capacity
  31. 34. Allocate as many disks as needed to SQL Temp Logs Search Data
  32. 35. Think Disk IO! Not Disk Capacity!
  33. 36. Calculating Disk IO – An Example
  34. 37. Best Practices – SQL Disk IO <ul><li>Allocate separate and dedicated disks with the following specifications: </li></ul><ul><ul><li>* Raid 1 or variants (0+1, 1+0) </li></ul></ul><ul><ul><li>** Depends on type and amount of content being indexed </li></ul></ul><ul><ul><li>*** 2000 IOPS minimum. Plan on 1500 IOPS per simultaneous crawl. (e.g. 3 crawls = 4500 IOPS) </li></ul></ul><ul><ul><li>**** Use Raid 5 when redundancy needs are met with replication </li></ul></ul>
  35. 38. Use RAID 10
  36. 39. Demo <ul><li>Monitoring storage IO </li></ul>
  37. 40. Summary <ul><li>SharePoint 2010 is Big! </li></ul><ul><li>SharePoint 2010 = X…ability </li></ul><ul><li>SQL Optimization and Management is Paramount! </li></ul><ul><li>& Storage Optimization too! </li></ul><ul><li>SharePoint scales out well. Adjust SQL accordingly </li></ul>
  38. 41. Quest Solutions for SharePoint Site Administrator for SharePoint Understand, manage and secure your SharePoint environment Migration Manager for SharePoint SharePoint to SharePoint migration File Migrator for SharePoint File shares to SharePoint migration Recovery Manager for SharePoint Granular SharePoint recovery for enterprise-level needs <ul><li>Quest Web Parts </li></ul><ul><li>Enable rapid development of SharePoint applications </li></ul>Public Folder Migrator for SharePoint Exchange Public Folders to SharePoint migration Notes Migrator for SharePoint Notes application content to SharePoint migration Quest SQL Server Solutions Maximize SQL Server performance while simplifying tasks and providing visibility and control

×