SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

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
 

Tendances (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
 

Similaire à 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
 

Similaire à 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
 

Plus de 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
 

Plus de 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
 

Dernier

Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 

Dernier (20)

Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 

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