• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Sql Health in a SharePoint environment
 

Sql Health in a SharePoint environment

on

  • 2,539 views

What you need to know to have a healthy SharePoint environment

What you need to know to have a healthy SharePoint environment

Statistics

Views

Total Views
2,539
Views on SlideShare
1,473
Embed Views
1,066

Actions

Likes
0
Downloads
18
Comments
0

9 Embeds 1,066

http://geekswithblogs.net 1044
http://feeds2.feedburner.com 6
http://www.newsblur.com 5
http://www.linkedin.com 4
http://www.funnydomainnames.com 2
http://feeds.feedburner.com 2
http://www.copyscape.com 1
http://backstick2.rssing.com 1
https://www.linkedin.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Sql Health in a SharePoint environment Sql Health in a SharePoint environment Presentation Transcript

    • What you need to know to have a healthy SharePoint environmentEnrique LimaPinnacle of Indianaelima@pinnacleofindiana.comTwitter: @enriquelima
    •  Enrique Lima elima@pinnacleofindiana.com SharePoint Practice Lead Pinnacle of Indiana Microsoft Community Contributor Member of the Geekswithblogs.net Community - Influencer  http://geekswithblogs.net/enriquelima @enriquelima - twitter.com/enriquelima Member of INETA
    •  Try to stay awake! Importance of SQL Server SharePoint and SQL Server Capacity Planning Configuration Physical vs. Virtual Processor Memory Storage tempdb Content In Closing
    •  Industry seems to be focused more on the development of the SharePoint solutions Little focus on infrastructure  SQL Server  Storage  Capacity / Performance Planning  Disaster Recovery  High-Availability Management does not even know SharePoint runs on SQL Server SQL Server can be “scary stuff” Get to know the Health Analyzer and it’s “quirks”. Database maintenance for SharePoint Server 2010
    •  SharePoint 2010 Health Analyzer Routine database maintenance  Check database integrity (DBCC CHECKDB)  Defragmenting indexes – rebuild/reorg.  Fill Factor Monitor Performance  SQL Server Perspective ▪ CPU ▪ Memory ▪ Disk I/O
    •  SQL Server configuration  Do not enable auto-create statistics  Set max degree of parallelism (MAXDOP) to 1  Configure SQL Server connection aliases for each database server in your farm  Autogrowth setting for file size ▪ Content ▪ Search
    •  Know your limits, Software Boundaries Yes, there is a formula:  Database size = ((D × V) × S) + (10 KB × (L + (V × D)))  D = # of Docs  V = # of non-current versions  S = Avg. Size of Docs  L = List Items
    •  Number of Docs (D) 200,000 Average Size of Docs (S) 250KB List Items (L) 600,000 Number of non-current versions (V) 2 (Assume max 10 allowed) Database size = (((200,000 x 2)) × 250) + ((10 KB × (600,000 + (200,000 x 2))) = 110,000,000 KB or 105 GB
    •  Boundaries  Absolute limit  Example: 2GB document size limit Thresholds  A default value that cannot be exceeded unless the value is modified  Exceeding threshold may impact performance  Example: Document size limit of 50MB by default Supported Limit  Defined by testing and represent a known limitation of the product  Exceeding supported limit may cause unexpected results, significant performance degradation or other detrimental effects  Example: Support 500,000 site collections per web app.
    • SharePoint 2007 SharePoint 2010Items per view 2000 5000Docs per Library 5M 10 MDatabase Size 100GB 200GB (1TB for workloads)Content DB per Web App 100 300
    •  Plan for your SQL Server spread. Negotiate Volume  Size  Placement LUNs are a precious thing … … but so is the performance of your environment
    • Drive Letter Purpose LUN Negotiated LUNC: System (OS) 1 1D: User Data 2 2L: SQL Log Files 3 3P: Page File 4 1R: Local Backup Store 5 5S: SQL Server System Databases 6 2T: TempDB 7 4
    •  Of course it can be virtualized. Virtual is not as forgiving as Physical Know and work with memory management Understand SQL Server in Virtual environments will test more than just compute. Disk I/O, SQL I/O is very important
    •  IMPORTANT TO CAPACITY PLAN MEMORY CORRECTLY FOR LARGE NUMBER OF CPUS  Rule of thumb: 4-6GB per core Worker Thread configuration: CPUs 32-bit 64-bit Up to 4 256 512 8 288 576 16 352 704 32 480 960
    •  Adjust the Out of Box Memory Limit If Virtual:  Configure a minimum of memory to work with  Be careful with over allocation of memory in the pool Magic Formula:  Memory to Allocate = Server Memory * 0.8
    •  Measure I/O Performance  SQLIO  CrystalDiskMark NTFS Allocation and Sector Alignment Be mindful of Thin Provisioning Separation of I/O intensive databases  Content  Search Do not forget about  Versioning  Recycle Bin Mind your Free Space
    •  SharePoint 2010 heavily uses the tempdb system database Don’t forget that tempdb is used for other purposes, some of which are I/O intensive  DBCC CHECKDB  Index Rebuilds Best practices:  Multiple data files ▪ On separate LUN ▪ Equal in size ▪ Auto-growth in MB (decent size) Log file on separate LUN
    •  Simple Bulk-logged Full
    •  Organizations will use SharePoint to store content  It starts by referring to it as a “next generation file share”  But can (hopefully) evolve to a Corporate Knowledge approach All content is stored in one or more content databases  “All eggs are in one basket”  Disaster recovery is critical  Availability is important Performance of content database(s) is key to the user experience  Capacity planning  Performance planning Provisioning of DBs  Central Admin  DBA Created
    •  Get to know SQL Server Get to know SharePoint Understand the Metrics and Performance Counters
    •  http://mtme.me/7b8619
    •  Storage and SQL Server capacity planning and configuration. http://technet.microsoft.com/en- us/library/cc298801.aspx Software boundaries and limits. http://technet.microsoft.com/en- us/library/cc262787.aspx Database Types. http://technet.microsoft.com/library/cc67886 8(office.14).aspx