Spca2014 thvo sql pub vochten

596 views

Published on

  • Be the first to comment

Spca2014 thvo sql pub vochten

  1. 1. SQL Server for SharePoint Professionals Thomas Vochten November 18, 2014 | SharePoint Connect Amsterdam
  2. 2. About Me Thomas VochtenSharePoint MVP. Platform architect. Speaker. Trainer. Involuntary DBA. Consultant at Xylos. V-TSP at Microsoft. @thomasvochtenhttp://thomasvochten.com mail@thomasvochten.com
  3. 3. Agenda
  4. 4. Meet the involuntary DBA (*) Paul Randal
  5. 5. The DynamicDuo SharePoint & SQL Server
  6. 6. Importanceto SharePoint
  7. 7. SharePoint 2013
  8. 8. Database, anyone?
  9. 9. LIMITS & BOUNDARIES Generalpurpose 200 GB Controlled <4 TB Structured > 4 TB
  10. 10. Limits & boundaries
  11. 11. SupportedVersions of SQL
  12. 12. Enterprise?
  13. 13. System Requirements
  14. 14. Which frustrations?
  15. 15. More frustrations…
  16. 16. SharePoint makesDBA’scry
  17. 17. Get rid of the GUID Grey wizard GOOD White wizardBAD
  18. 18. PowerShell to the rescue http://autospinstaller.codeplex.com
  19. 19. Fundamentals
  20. 20. SQL Server Storage Primer
  21. 21. SQL Server databases
  22. 22. Recovery Modelshttp://technet.microsoft.com/en-us/magazine/2009.02.logging.aspx
  23. 23. Simple or full
  24. 24. DEMO
  25. 25. Preparingthe platform
  26. 26. General considerations
  27. 27. Plan your disks
  28. 28. Prepare your disks Partitionalignment 1024K everywhere Allocation unit size 64K for SQL data& logs
  29. 29. Prepare your disks
  30. 30. SQL Installation
  31. 31. Running Setup
  32. 32. Post setup
  33. 33. DEMO
  34. 34. Configuration Tips
  35. 35. Don’t forget
  36. 36. Instance level settings
  37. 37. Setting MAXDOP is mandatory in SharePoint 2013
  38. 38. Database level settings
  39. 39. SQL Aliases
  40. 40. DEMO
  41. 41. Operational Guidance
  42. 42. Backup/Restore
  43. 43. RequiredReading
  44. 44. Don’t
  45. 45. Do
  46. 46. Check for Consistency
  47. 47. Index fragmentation Check “sys.dm_db_index_physical_stats” Illustration by Paul Randal * Illustration by Paul Randal
  48. 48. Reducing fragmentation
  49. 49. Managing Indexes ALTERINDEXAllDocs_UrlONdbo.AllDocs REBUILDWITH (ONLINE=ON) GO ALTERINDEXtp_SiteId ONdbo.AllLists REORGANIZE GO
  50. 50. Watch out for the shrink
  51. 51. DEMO
  52. 52. Tools & Resources
  53. 53. Database Maintenancehttp://ola.hallengren.com/
  54. 54. Counter Intelligence http://brentozar.com/blitzhttp://sqlserverperformance.wordpress.com/ http://pal.codeplex.com
  55. 55. https://www.microsoftvirtualacademy.com/training-courses/tuning-sql-server-2012-for-sharepoint-2013- jump-start
  56. 56. Resourceshttp://technet.microsoft.com/en-us/library/hh292622.aspxhttp://technet.microsoft.com/en-us/library/cc298801.aspxhttp://technet.microsoft.com/en-us/library/ff945791.aspx http://support.microsoft.com/kb/841057http://technet.microsoft.com/en-us/library/cc262731.aspxhttp://technet.microsoft.com/en-us/library/jj841106.aspx
  57. 57. Resourcesblogtwitterblogtwitterblogtwitterblogtwitter http://thomaslarock.com/rankings #sqlhelp
  58. 58. Key Takeaways
  59. 59. Thank you! @thomasvochten

×