SlideShare a Scribd company logo
1 of 22
What you need to know to have a healthy
 SharePoint environment




Enrique Lima
Pinnacle of Indiana
elima@pinnacleofindiana.com

Twitter: @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 2010
Items per view           2000              5000
Docs per Library         5M                10 M
Database 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
                                                     LUN
C:            System (OS)                    1        1
D:            User Data                      2        2
L:            SQL Log Files                  3        3
P:            Page File                      4        1
R:            Local Backup Store             5        5
S:            SQL Server System Databases    6        2
T:            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

More Related Content

What's hot

DB2 and storage management
DB2 and storage managementDB2 and storage management
DB2 and storage managementCraig Mullins
 
Architecture of exadata database machine – Part II
Architecture of exadata database machine – Part IIArchitecture of exadata database machine – Part II
Architecture of exadata database machine – Part IIParesh Nayak,OCP®,Prince2®
 
Big data with HDFS and Mapreduce
Big data  with HDFS and MapreduceBig data  with HDFS and Mapreduce
Big data with HDFS and Mapreducesenthil0809
 
The fifth database - ISUG 101
The fifth database - ISUG 101The fifth database - ISUG 101
The fifth database - ISUG 101sqlserver.co.il
 
MongoDB Replication and Sharding
MongoDB Replication and ShardingMongoDB Replication and Sharding
MongoDB Replication and ShardingTharun Srinivasa
 
Next generation databases july2010
Next generation databases july2010Next generation databases july2010
Next generation databases july2010Guy Harrison
 
Memory management in sql server
Memory management in sql serverMemory management in sql server
Memory management in sql serverPrashant Kumar
 
SQL Server 2017 - Mejoras Impulsadas por la Comunidad
SQL Server 2017 - Mejoras Impulsadas por la ComunidadSQL Server 2017 - Mejoras Impulsadas por la Comunidad
SQL Server 2017 - Mejoras Impulsadas por la ComunidadJavier Villegas
 
Using oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveUsing oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveSecure-24
 
S3 l3 db2 environment - instances
S3 l3   db2 environment - instancesS3 l3   db2 environment - instances
S3 l3 db2 environment - instancesMohammad Khan
 
Big Data: Using free Bluemix Analytics Exchange Data with Big SQL
Big Data: Using free Bluemix Analytics Exchange Data with Big SQL Big Data: Using free Bluemix Analytics Exchange Data with Big SQL
Big Data: Using free Bluemix Analytics Exchange Data with Big SQL Cynthia Saracco
 
Hands-on-Lab: Adding Value to HBase with IBM InfoSphere BigInsights and BigSQL
Hands-on-Lab: Adding Value to HBase with IBM InfoSphere BigInsights and BigSQLHands-on-Lab: Adding Value to HBase with IBM InfoSphere BigInsights and BigSQL
Hands-on-Lab: Adding Value to HBase with IBM InfoSphere BigInsights and BigSQLPiotr Pruski
 
MySQL 8 Tips and Tricks from Symfony USA 2018, San Francisco
MySQL 8 Tips and Tricks from Symfony USA 2018, San FranciscoMySQL 8 Tips and Tricks from Symfony USA 2018, San Francisco
MySQL 8 Tips and Tricks from Symfony USA 2018, San FranciscoDave Stokes
 
Microsoft SQL Server internals & architecture
Microsoft SQL Server internals & architectureMicrosoft SQL Server internals & architecture
Microsoft SQL Server internals & architectureKevin Kline
 
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3Naji El Kotob
 
Big Data: Working with Big SQL data from Spark
Big Data:  Working with Big SQL data from Spark Big Data:  Working with Big SQL data from Spark
Big Data: Working with Big SQL data from Spark Cynthia Saracco
 
Practical MS SQL Introduction
Practical MS SQL IntroductionPractical MS SQL Introduction
Practical MS SQL IntroductionNaji El Kotob
 

What's hot (20)

DB2 and storage management
DB2 and storage managementDB2 and storage management
DB2 and storage management
 
Architecture of exadata database machine – Part II
Architecture of exadata database machine – Part IIArchitecture of exadata database machine – Part II
Architecture of exadata database machine – Part II
 
Big data with HDFS and Mapreduce
Big data  with HDFS and MapreduceBig data  with HDFS and Mapreduce
Big data with HDFS and Mapreduce
 
The fifth database - ISUG 101
The fifth database - ISUG 101The fifth database - ISUG 101
The fifth database - ISUG 101
 
MongoDB Replication and Sharding
MongoDB Replication and ShardingMongoDB Replication and Sharding
MongoDB Replication and Sharding
 
Next generation databases july2010
Next generation databases july2010Next generation databases july2010
Next generation databases july2010
 
Memory management in sql server
Memory management in sql serverMemory management in sql server
Memory management in sql server
 
SQL Server 2017 - Mejoras Impulsadas por la Comunidad
SQL Server 2017 - Mejoras Impulsadas por la ComunidadSQL Server 2017 - Mejoras Impulsadas por la Comunidad
SQL Server 2017 - Mejoras Impulsadas por la Comunidad
 
Using oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveUsing oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archive
 
S3 l3 db2 environment - instances
S3 l3   db2 environment - instancesS3 l3   db2 environment - instances
S3 l3 db2 environment - instances
 
Big Data: Using free Bluemix Analytics Exchange Data with Big SQL
Big Data: Using free Bluemix Analytics Exchange Data with Big SQL Big Data: Using free Bluemix Analytics Exchange Data with Big SQL
Big Data: Using free Bluemix Analytics Exchange Data with Big SQL
 
Hands-on-Lab: Adding Value to HBase with IBM InfoSphere BigInsights and BigSQL
Hands-on-Lab: Adding Value to HBase with IBM InfoSphere BigInsights and BigSQLHands-on-Lab: Adding Value to HBase with IBM InfoSphere BigInsights and BigSQL
Hands-on-Lab: Adding Value to HBase with IBM InfoSphere BigInsights and BigSQL
 
DB2 TABLESPACES
DB2 TABLESPACESDB2 TABLESPACES
DB2 TABLESPACES
 
MySQL 8 Tips and Tricks from Symfony USA 2018, San Francisco
MySQL 8 Tips and Tricks from Symfony USA 2018, San FranciscoMySQL 8 Tips and Tricks from Symfony USA 2018, San Francisco
MySQL 8 Tips and Tricks from Symfony USA 2018, San Francisco
 
Microsoft SQL Server internals & architecture
Microsoft SQL Server internals & architectureMicrosoft SQL Server internals & architecture
Microsoft SQL Server internals & architecture
 
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3
 
Mysql database
Mysql databaseMysql database
Mysql database
 
Big Data: Working with Big SQL data from Spark
Big Data:  Working with Big SQL data from Spark Big Data:  Working with Big SQL data from Spark
Big Data: Working with Big SQL data from Spark
 
Hadoop admin
Hadoop adminHadoop admin
Hadoop admin
 
Practical MS SQL Introduction
Practical MS SQL IntroductionPractical MS SQL Introduction
Practical MS SQL Introduction
 

Similar to Sql Health in a SharePoint environment

Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010Mike Watson
 
SharePoint and Large Scale SQL Deployments - NZSPC
SharePoint and Large Scale SQL Deployments - NZSPCSharePoint and Large Scale SQL Deployments - NZSPC
SharePoint and Large Scale SQL Deployments - NZSPCguest7c2e070
 
Large Scale SharePoint SQL Deployments
Large Scale SharePoint SQL DeploymentsLarge Scale SharePoint SQL Deployments
Large Scale SharePoint SQL DeploymentsJoel Oleson
 
Large Scale SQL Considerations for SharePoint Deployments
Large Scale SQL Considerations for SharePoint DeploymentsLarge Scale SQL Considerations for SharePoint Deployments
Large Scale SQL Considerations for SharePoint DeploymentsJoel Oleson
 
Unity Connect - Getting SQL Spinning with SharePoint - Best Practices for the...
Unity Connect - Getting SQL Spinning with SharePoint - Best Practices for the...Unity Connect - Getting SQL Spinning with SharePoint - Best Practices for the...
Unity Connect - Getting SQL Spinning with SharePoint - Best Practices for the...Knut Relbe-Moe [MVP, MCT]
 
SPSMadrid Get sql spinning with SharePoint. Best practice for the back end
SPSMadrid Get sql spinning with SharePoint. Best practice for the back endSPSMadrid Get sql spinning with SharePoint. Best practice for the back end
SPSMadrid Get sql spinning with SharePoint. Best practice for the back endKnut Relbe-Moe [MVP, MCT]
 
Real world business workflow with SharePoint designer 2013
Real world business workflow with SharePoint designer 2013Real world business workflow with SharePoint designer 2013
Real world business workflow with SharePoint designer 2013Ivan Sanders
 
SharePoint Intelligence Real World Business Workflow With Share Point Designe...
SharePoint Intelligence Real World Business Workflow With Share Point Designe...SharePoint Intelligence Real World Business Workflow With Share Point Designe...
SharePoint Intelligence Real World Business Workflow With Share Point Designe...Ivan Sanders
 
Optimize SQL server performance for SharePoint
Optimize SQL server performance for SharePointOptimize SQL server performance for SharePoint
Optimize SQL server performance for SharePointserge luca
 
SharePoint 2010 database maintenance
SharePoint 2010 database maintenanceSharePoint 2010 database maintenance
SharePoint 2010 database maintenanceMatt Ranlett
 
Building the Perfect SharePoint 2010 Farm
Building the Perfect SharePoint 2010 FarmBuilding the Perfect SharePoint 2010 Farm
Building the Perfect SharePoint 2010 FarmMichael Noel
 
Building the Perfect SharePoint 2010 Farm - SPS Sacramento
Building the Perfect SharePoint 2010 Farm - SPS SacramentoBuilding the Perfect SharePoint 2010 Farm - SPS Sacramento
Building the Perfect SharePoint 2010 Farm - SPS SacramentoMichael Noel
 
Building the Perfect SharePoint 2010 Farm - Sharing the Point South America
Building the Perfect SharePoint 2010 Farm - Sharing the Point South AmericaBuilding the Perfect SharePoint 2010 Farm - Sharing the Point South America
Building the Perfect SharePoint 2010 Farm - Sharing the Point South AmericaMichael Noel
 
Building the Perfect SharePoint 2010 Farm - SharePoint Saturday NYC 2011
Building the Perfect SharePoint 2010 Farm - SharePoint Saturday NYC 2011Building the Perfect SharePoint 2010 Farm - SharePoint Saturday NYC 2011
Building the Perfect SharePoint 2010 Farm - SharePoint Saturday NYC 2011Michael Noel
 
Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012
Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012
Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012Michael Noel
 
SharePoint Storage Best Practices
SharePoint Storage Best PracticesSharePoint Storage Best Practices
SharePoint Storage Best PracticesMark Ginnebaugh
 
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011Michael Noel
 
Sql Server Tuning for SharePoint : what every consultant must know (Office 36...
Sql Server Tuning for SharePoint : what every consultant must know (Office 36...Sql Server Tuning for SharePoint : what every consultant must know (Office 36...
Sql Server Tuning for SharePoint : what every consultant must know (Office 36...serge luca
 
NZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices Session
NZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices SessionNZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices Session
NZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices SessionMichael Noel
 

Similar to Sql Health in a SharePoint environment (20)

Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010Sql And Storage Considerations For Share Point Server 2010
Sql And Storage Considerations For Share Point Server 2010
 
SharePoint and Large Scale SQL Deployments - NZSPC
SharePoint and Large Scale SQL Deployments - NZSPCSharePoint and Large Scale SQL Deployments - NZSPC
SharePoint and Large Scale SQL Deployments - NZSPC
 
Large Scale SharePoint SQL Deployments
Large Scale SharePoint SQL DeploymentsLarge Scale SharePoint SQL Deployments
Large Scale SharePoint SQL Deployments
 
Large Scale SQL Considerations for SharePoint Deployments
Large Scale SQL Considerations for SharePoint DeploymentsLarge Scale SQL Considerations for SharePoint Deployments
Large Scale SQL Considerations for SharePoint Deployments
 
Unity Connect - Getting SQL Spinning with SharePoint - Best Practices for the...
Unity Connect - Getting SQL Spinning with SharePoint - Best Practices for the...Unity Connect - Getting SQL Spinning with SharePoint - Best Practices for the...
Unity Connect - Getting SQL Spinning with SharePoint - Best Practices for the...
 
SPSMadrid Get sql spinning with SharePoint. Best practice for the back end
SPSMadrid Get sql spinning with SharePoint. Best practice for the back endSPSMadrid Get sql spinning with SharePoint. Best practice for the back end
SPSMadrid Get sql spinning with SharePoint. Best practice for the back end
 
Real world business workflow with SharePoint designer 2013
Real world business workflow with SharePoint designer 2013Real world business workflow with SharePoint designer 2013
Real world business workflow with SharePoint designer 2013
 
Optimizing SQL Server 2012 for SharePoint 2013
Optimizing SQL Server 2012 for SharePoint 2013Optimizing SQL Server 2012 for SharePoint 2013
Optimizing SQL Server 2012 for SharePoint 2013
 
SharePoint Intelligence Real World Business Workflow With Share Point Designe...
SharePoint Intelligence Real World Business Workflow With Share Point Designe...SharePoint Intelligence Real World Business Workflow With Share Point Designe...
SharePoint Intelligence Real World Business Workflow With Share Point Designe...
 
Optimize SQL server performance for SharePoint
Optimize SQL server performance for SharePointOptimize SQL server performance for SharePoint
Optimize SQL server performance for SharePoint
 
SharePoint 2010 database maintenance
SharePoint 2010 database maintenanceSharePoint 2010 database maintenance
SharePoint 2010 database maintenance
 
Building the Perfect SharePoint 2010 Farm
Building the Perfect SharePoint 2010 FarmBuilding the Perfect SharePoint 2010 Farm
Building the Perfect SharePoint 2010 Farm
 
Building the Perfect SharePoint 2010 Farm - SPS Sacramento
Building the Perfect SharePoint 2010 Farm - SPS SacramentoBuilding the Perfect SharePoint 2010 Farm - SPS Sacramento
Building the Perfect SharePoint 2010 Farm - SPS Sacramento
 
Building the Perfect SharePoint 2010 Farm - Sharing the Point South America
Building the Perfect SharePoint 2010 Farm - Sharing the Point South AmericaBuilding the Perfect SharePoint 2010 Farm - Sharing the Point South America
Building the Perfect SharePoint 2010 Farm - Sharing the Point South America
 
Building the Perfect SharePoint 2010 Farm - SharePoint Saturday NYC 2011
Building the Perfect SharePoint 2010 Farm - SharePoint Saturday NYC 2011Building the Perfect SharePoint 2010 Farm - SharePoint Saturday NYC 2011
Building the Perfect SharePoint 2010 Farm - SharePoint Saturday NYC 2011
 
Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012
Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012
Building the Perfect SharePoint 2010 Farm - MS Days Bulgaria 2012
 
SharePoint Storage Best Practices
SharePoint Storage Best PracticesSharePoint Storage Best Practices
SharePoint Storage Best Practices
 
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011
 
Sql Server Tuning for SharePoint : what every consultant must know (Office 36...
Sql Server Tuning for SharePoint : what every consultant must know (Office 36...Sql Server Tuning for SharePoint : what every consultant must know (Office 36...
Sql Server Tuning for SharePoint : what every consultant must know (Office 36...
 
NZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices Session
NZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices SessionNZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices Session
NZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices Session
 

More from Enrique Lima

Enrique lima azure-it-pro-ps
Enrique lima azure-it-pro-psEnrique lima azure-it-pro-ps
Enrique lima azure-it-pro-psEnrique Lima
 
A lap around pdt and other automation goodness
A lap around pdt and other automation goodnessA lap around pdt and other automation goodness
A lap around pdt and other automation goodnessEnrique Lima
 
Look into Azure Active Directory
Look into Azure Active DirectoryLook into Azure Active Directory
Look into Azure Active DirectoryEnrique Lima
 
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8Enrique Lima
 
Letting the cards speak: Agile planning for SharePoint
Letting the cards speak: Agile planning for SharePointLetting the cards speak: Agile planning for SharePoint
Letting the cards speak: Agile planning for SharePointEnrique Lima
 
Business Intelligence: Leveraging SharePoint to drive business results
Business Intelligence: Leveraging SharePoint to drive business resultsBusiness Intelligence: Leveraging SharePoint to drive business results
Business Intelligence: Leveraging SharePoint to drive business resultsEnrique Lima
 
The difference between learning and training
The difference between learning and trainingThe difference between learning and training
The difference between learning and trainingEnrique Lima
 
Requirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsaRequirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsaEnrique Lima
 
SharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitchSharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitchEnrique Lima
 
If Dr. Seuss explained the Cloud
If Dr. Seuss explained the CloudIf Dr. Seuss explained the Cloud
If Dr. Seuss explained the CloudEnrique Lima
 
Azure Inside and Out
Azure Inside and OutAzure Inside and Out
Azure Inside and OutEnrique Lima
 
Azure for the ITPro
Azure for the ITProAzure for the ITPro
Azure for the ITProEnrique Lima
 
Requirements Management: From Vision to Mission to Success
Requirements Management: From Vision to Mission to SuccessRequirements Management: From Vision to Mission to Success
Requirements Management: From Vision to Mission to SuccessEnrique Lima
 

More from Enrique Lima (13)

Enrique lima azure-it-pro-ps
Enrique lima azure-it-pro-psEnrique lima azure-it-pro-ps
Enrique lima azure-it-pro-ps
 
A lap around pdt and other automation goodness
A lap around pdt and other automation goodnessA lap around pdt and other automation goodness
A lap around pdt and other automation goodness
 
Look into Azure Active Directory
Look into Azure Active DirectoryLook into Azure Active Directory
Look into Azure Active Directory
 
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8
 
Letting the cards speak: Agile planning for SharePoint
Letting the cards speak: Agile planning for SharePointLetting the cards speak: Agile planning for SharePoint
Letting the cards speak: Agile planning for SharePoint
 
Business Intelligence: Leveraging SharePoint to drive business results
Business Intelligence: Leveraging SharePoint to drive business resultsBusiness Intelligence: Leveraging SharePoint to drive business results
Business Intelligence: Leveraging SharePoint to drive business results
 
The difference between learning and training
The difference between learning and trainingThe difference between learning and training
The difference between learning and training
 
Requirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsaRequirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsa
 
SharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitchSharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitch
 
If Dr. Seuss explained the Cloud
If Dr. Seuss explained the CloudIf Dr. Seuss explained the Cloud
If Dr. Seuss explained the Cloud
 
Azure Inside and Out
Azure Inside and OutAzure Inside and Out
Azure Inside and Out
 
Azure for the ITPro
Azure for the ITProAzure for the ITPro
Azure for the ITPro
 
Requirements Management: From Vision to Mission to Success
Requirements Management: From Vision to Mission to SuccessRequirements Management: From Vision to Mission to Success
Requirements Management: From Vision to Mission to Success
 

Recently uploaded

Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingScyllaDB
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseWSO2
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformWSO2
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsLeah Henrickson
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringWSO2
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaWSO2
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingWSO2
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxFIDO Alliance
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxFIDO Alliance
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governanceWSO2
 
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...SOFTTECHHUB
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 

Recently uploaded (20)

Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 

Sql Health in a SharePoint environment

  • 1. What you need to know to have a healthy SharePoint environment Enrique Lima Pinnacle of Indiana elima@pinnacleofindiana.com Twitter: @enriquelima
  • 2. 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
  • 3. 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
  • 4. 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
  • 5. 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
  • 6. 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
  • 7. 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
  • 8. 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
  • 9. 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.
  • 10. SharePoint 2007 SharePoint 2010 Items per view 2000 5000 Docs per Library 5M 10 M Database Size 100GB 200GB (1TB for workloads) Content DB per Web App 100 300
  • 11. Plan for your SQL Server spread.  Negotiate Volume  Size  Placement  LUNs are a precious thing …  … but so is the performance of your environment
  • 12. Drive Letter Purpose LUN Negotiated LUN C: System (OS) 1 1 D: User Data 2 2 L: SQL Log Files 3 3 P: Page File 4 1 R: Local Backup Store 5 5 S: SQL Server System Databases 6 2 T: TempDB 7 4
  • 13. 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
  • 14. 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
  • 15. 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
  • 16. 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
  • 17. 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
  • 18. Simple  Bulk-logged  Full
  • 19. 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
  • 20. Get to know SQL Server  Get to know SharePoint  Understand the Metrics and Performance Counters
  • 21. http://mtme.me/7b8619
  • 22. 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