SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

The fifth database - ISUG 101
The fifth database - ISUG 101The fifth database - ISUG 101
The fifth database - ISUG 101
sqlserver.co.il
 
MongoDB Replication and Sharding
MongoDB Replication and ShardingMongoDB Replication and Sharding
MongoDB Replication and Sharding
Tharun Srinivasa
 
Next generation databases july2010
Next generation databases july2010Next generation databases july2010
Next generation databases july2010
Guy Harrison
 

Mais procurados (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
 

Semelhante a 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 2010
Mike Watson
 
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
Michael Noel
 
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
Michael Noel
 
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
Michael Noel
 

Semelhante a 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
 

Mais de Enrique 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 goodness
Enrique Lima
 
Look into Azure Active Directory
Look into Azure Active DirectoryLook into Azure Active Directory
Look into Azure Active Directory
Enrique 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 8
Enrique 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 SharePoint
Enrique Lima
 
The difference between learning and training
The difference between learning and trainingThe difference between learning and training
The difference between learning and training
Enrique Lima
 
Requirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsaRequirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsa
Enrique 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 LightSwitch
Enrique Lima
 
If Dr. Seuss explained the Cloud
If Dr. Seuss explained the CloudIf Dr. Seuss explained the Cloud
If Dr. Seuss explained the Cloud
Enrique Lima
 
Azure Inside and Out
Azure Inside and OutAzure Inside and Out
Azure Inside and Out
Enrique Lima
 
Azure for the ITPro
Azure for the ITProAzure for the ITPro
Azure for the ITPro
Enrique 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 Success
Enrique Lima
 

Mais 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
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

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