SlideShare a Scribd company logo
1 of 28
blog.eardley.org.uk
SharePoint Databases
What you need to know
Alan Eardley - @al_eardley
SQL & SharePoint Saturday
10 September 2016
blog.eardley.org.uk
blog.eardley.org.uk
Who Am I?
• SharePoint Architect at CPS
• Developer, DBA, Business Analyst, Project Manager, Architect
• SQL Server 7.0 - 2016
• SharePoint 2003 – 2016
• Office 365, Azure, Project Server/Online, Dynamics CRM
• Twitter: @Al_Eardley
• E-mail: Alan.Eardley@Outlook.com
• Blog: http://blog.eardley.org.uk
blog.eardley.org.uk
What will I cover?
• What does it do?
• How does it work?
• How does it use SQL?
What is SharePoint?
• How many databases does it need?
• How does it grow?
• HA & DR
Planning
• Are there any pre-requisites?
• How do I help with the build?
Roll-out
This relates to on-premises SharePoint
NOT Office 365
blog.eardley.org.uk
SharePoint – What does it do?
Document
Management
Process
Management
Search
Publishing Collaboration
Business
Intelligence
blog.eardley.org.uk
SharePoint – How does it work?
Lists & LibrariesSitesSite CollectionsWeb Applications
Intranet
Departments
HR
IT
Documents
Knowledge Base
Help Desk
Issues
Sales
Projects
Upgrade to Win
10
Risks
Issues
Tasks
Build new
Product
My Sites
Client Extranet
blog.eardley.org.uk
SharePoint – How does it work?
Business
Connectivity
Services
Managed
Metadata
Services
PerformancePoint
Services
Project Server Search
User Profile
Service
blog.eardley.org.uk
SharePoint – How does it use SQL?
• Most Service Applications utilise at least
one database
Service
Applications
• At least one database per Web Application
• Each site collection can have a database
Content
Databases
• Multiple DatabasesMy Sites
Databases should not exceed 200GB in
size
With the exception of Records Centre
databases
blog.eardley.org.uk
Remote BLOB Storage
• SharePoint 2016 only
• SQL Server 2014 (SP1)
• SQL Server 2016
• Uses FILESTREAM
• RBS Driver required on every SQL and SharePoint Server
blog.eardley.org.uk
Planning – How many databases does it
need?
• Types of Database
– Administration
– Content
– Service Applications
• How many databases will be required?
• How large do they need to be?
• How fast will they grow?
blog.eardley.org.uk
Service Applications with Databases
• App Management Service
• Apps for SharePoint
• Business Data Connectivity
• Managed Metadata
• PerformancePoint Services
• Search Service *
• Secure Store Service
• SharePoint Translation
Service
• SQL Server Power Pivot
Service
• State Service
• Subscription Settings Service
• Usage and Health data
collection
• User Profile Service *
• Word Automation Services
blog.eardley.org.uk
Versions
• SQL Server Power Pivot for SharePoint
– SharePoint 2016
– SQL Server 2016 (Ent)
– SQL Server 2016 AS
• SQL Server Reporting Services
– SharePoint 2016
– SQL Server 2016
– SQL Server 2016 RS
blog.eardley.org.uk
Backup
• As a DBA, same as any other application
– Full backups
– Differential backups
– Transaction backups
• Check consistency
• Fragmentation
– Check for index fragmentation
– Check for drive fragmentation
blog.eardley.org.uk
Recovery Overview
Site
• Everyone
• 30 days
• Items and documents
• Automatically moved
to site collection
recycle bin
Site Collection
• Site collection
administrator
• First in – first out
• Includes sites
blog.eardley.org.uk
Recovery
• When a site is required to be restored
• When a site collection has been deleted
Content
Databases
• When a Service application needs to
rebuilt
Service
Application
• When a farm needs to be recoveredCentral Admin
blog.eardley.org.uk
High Availability
• Mirroring
– SharePoint supports mirroring (although it is deprecated)
• Clustering
– Preferable to mirroring as it is at server level
• Always On Availability Groups
– Failover unit = group of databases
– No single point of dependency
blog.eardley.org.uk
• Web Front EndPresentation
• Application Server
• Workflow Manager
• Office Online Server
Application
• SQL ServerData
WorkflowManager
DataLayer
StorageLayer
DataLayer
OfficeOnlineServer
SharePoint -
WFE
SharePoint -
WFE
WorkFlow
Manager
WorkFlow
Manager
WorkFlow
Manager
Load Balancer
Load Balancer
SharePoint -
App
SharePoint -
App
Database
Server
Database
Server
Always On Availability
Group
Firewall
Load Balancer
Office Online
Server
Office Online
Server
Active
Directory
SAN SAN
blog.eardley.org.uk
Shared Services FarmsShared Services Farm
Content FarmLegacy Farm Project Server Farm
User Profile Service
Search
Managed Metadata ServicesSecure Store
Business Connectivity Services
blog.eardley.org.uk
Hybrid
OfficeOnlineServer
Load Balancer
Office Online
Server
Office Online
ServerSharePoint Farm
Azure Active DirectoryOffice 365
Azure AD Connect
Active
Directory
Cloud Search Service
Reverse
Proxy
Reverse
Proxy
Search
Office Online Server
BCS
blog.eardley.org.uk
Multiple Farms, Multiple Data Centres
Data Centre BData Centre A
SharePoint Farm
Firewall
SharePoint Farm
Firewall
Always On Availability
Group
SAN
Database
Server
Database
Server
SAN
Database
Server
SAN
Always On Availability
Group
blog.eardley.org.uk
Data Level
Domain
Data Centre B
WindowsServerFailoverCluster
Data Centre A
WindowsServerFailoverCluster
Asynchronous
Synchronous Synchronous
Domain
Controller
Scheduled
Backup and
Restore
blog.eardley.org.uk
How Can I Help?
• Set up SQL Instance correctly
• Understand the database usage profilesConfiguration
• Standards and processes
• PowerShellInstallation
• Monitor
• Plan for growth
• Backup
Maintenance
blog.eardley.org.uk
Instance Configuration
• Used a dedicated instance
• Default Collation - Latin1_General_CI_AS_KS_WS
• MAXDOP = 1
• Define the maximum memory
• Make a note of the Port Number the Instance is listening on
• Use DNS aliases
blog.eardley.org.uk
Database Configuration
• Disable auto-create statistics
• Single file group per DB
• Use multiple data files for heavy-use content DBs
• Use backup compression
blog.eardley.org.uk
Support
• The general rules to not invalidate Microsoft Support are:
– Do not add anything to the SharePoint databases
• Stored Procedures
• Triggers
• Tables
• Indexes
– Do not run frequent queries against the SharePoint Databases
– Do not run DBCC CHECKDB with REPAIR_ALLOW_DATA_LOSS
blog.eardley.org.uk
Summary
• The number of databases depends on the service applications
• The size of the databases will depend on
– The number of users
– The number of documents and the amount of content
– The amount of usage of SharePoint
• A database instance for SharePoint has specific requirements
• HA and DR strategies are a combination of SharePoint and SQL approaches
• SharePoint databases are the same as any other databases
blog.eardley.org.uk
SharePoint Database References
blog.eardley.org.uk/2015/03/sharepoint-databases-knowledge-base/
• A combination of Microsoft documentation
– SQL based
– SharePoint based
• Initial sizes
• Growth
• Usage
• HA/DR
• Links to Power Shell to create the databases
blog.eardley.org.uk
Thank-you
Alan Eardley – Alan.Eardley@outlook.com
blog.eardley.org.uk
@al_eardley
Office 365 | SharePoint | Project Server | CRM | Recruitment

More Related Content

What's hot

Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global
Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global
Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global Lucidworks
 
What SQL DBA's need to know about SharePoint-St. Louis 2013
What SQL DBA's need to know about SharePoint-St. Louis 2013What SQL DBA's need to know about SharePoint-St. Louis 2013
What SQL DBA's need to know about SharePoint-St. Louis 2013J.D. Wade
 
12 SQL On-Hadoop Tools
12 SQL On-Hadoop Tools12 SQL On-Hadoop Tools
12 SQL On-Hadoop ToolsXplenty
 
Building a Scalable and Modern Infrastructure at CARFAX
Building a Scalable and Modern Infrastructure at CARFAXBuilding a Scalable and Modern Infrastructure at CARFAX
Building a Scalable and Modern Infrastructure at CARFAXMongoDB
 
Introduction to Azure DocumentDB
Introduction to Azure DocumentDBIntroduction to Azure DocumentDB
Introduction to Azure DocumentDBIke Ellis
 
Gs08 modernize your data platform with sql technologies wash dc
Gs08 modernize your data platform with sql technologies   wash dcGs08 modernize your data platform with sql technologies   wash dc
Gs08 modernize your data platform with sql technologies wash dcBob Ward
 
Introducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseGrant Fritchey
 
Strata+Hadoop World NY 2016 - Avinash Ramineni
Strata+Hadoop World NY 2016 - Avinash RamineniStrata+Hadoop World NY 2016 - Avinash Ramineni
Strata+Hadoop World NY 2016 - Avinash RamineniAvinash Ramineni
 
Working with Data in Service Workers
Working with Data in Service WorkersWorking with Data in Service Workers
Working with Data in Service WorkersGil Fink
 
How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmNigel Price
 
SPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePoint
SPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePointSPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePoint
SPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePointScott Hoag
 
Supercharging Backups and Restores (For Fun and Profit!) (SQL Saturday Boston...
Supercharging Backups and Restores (For Fun and Profit!) (SQL Saturday Boston...Supercharging Backups and Restores (For Fun and Profit!) (SQL Saturday Boston...
Supercharging Backups and Restores (For Fun and Profit!) (SQL Saturday Boston...Bob Pusateri
 
DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSEDB
 
Brk3043 azure sql db intelligent cloud database for app developers - wash dc
Brk3043 azure sql db   intelligent cloud database for app developers - wash dcBrk3043 azure sql db   intelligent cloud database for app developers - wash dc
Brk3043 azure sql db intelligent cloud database for app developers - wash dcBob Ward
 
CosmosDB for DBAs & Developers
CosmosDB for DBAs & DevelopersCosmosDB for DBAs & Developers
CosmosDB for DBAs & DevelopersNiko Neugebauer
 
Session #2, tech session: Build realtime search by Sylvain Utard from Algolia
Session #2, tech session: Build realtime search by Sylvain Utard from AlgoliaSession #2, tech session: Build realtime search by Sylvain Utard from Algolia
Session #2, tech session: Build realtime search by Sylvain Utard from AlgoliaSaaS Is Beautiful
 

What's hot (20)

Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global
Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global
Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global
 
What SQL DBA's need to know about SharePoint-St. Louis 2013
What SQL DBA's need to know about SharePoint-St. Louis 2013What SQL DBA's need to know about SharePoint-St. Louis 2013
What SQL DBA's need to know about SharePoint-St. Louis 2013
 
Sql over hadoop ver 3
Sql over hadoop ver 3Sql over hadoop ver 3
Sql over hadoop ver 3
 
12 SQL On-Hadoop Tools
12 SQL On-Hadoop Tools12 SQL On-Hadoop Tools
12 SQL On-Hadoop Tools
 
Building a Scalable and Modern Infrastructure at CARFAX
Building a Scalable and Modern Infrastructure at CARFAXBuilding a Scalable and Modern Infrastructure at CARFAX
Building a Scalable and Modern Infrastructure at CARFAX
 
Introduction to Azure DocumentDB
Introduction to Azure DocumentDBIntroduction to Azure DocumentDB
Introduction to Azure DocumentDB
 
Gs08 modernize your data platform with sql technologies wash dc
Gs08 modernize your data platform with sql technologies   wash dcGs08 modernize your data platform with sql technologies   wash dc
Gs08 modernize your data platform with sql technologies wash dc
 
Introducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data Warehouse
 
Strata+Hadoop World NY 2016 - Avinash Ramineni
Strata+Hadoop World NY 2016 - Avinash RamineniStrata+Hadoop World NY 2016 - Avinash Ramineni
Strata+Hadoop World NY 2016 - Avinash Ramineni
 
Working with Data in Service Workers
Working with Data in Service WorkersWorking with Data in Service Workers
Working with Data in Service Workers
 
MySQL@king
MySQL@kingMySQL@king
MySQL@king
 
How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_Farm
 
SPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePoint
SPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePointSPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePoint
SPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePoint
 
Supercharging Backups and Restores (For Fun and Profit!) (SQL Saturday Boston...
Supercharging Backups and Restores (For Fun and Profit!) (SQL Saturday Boston...Supercharging Backups and Restores (For Fun and Profit!) (SQL Saturday Boston...
Supercharging Backups and Restores (For Fun and Profit!) (SQL Saturday Boston...
 
DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWS
 
Migrating Oracle to PostgreSQL
Migrating Oracle to PostgreSQLMigrating Oracle to PostgreSQL
Migrating Oracle to PostgreSQL
 
Brk3043 azure sql db intelligent cloud database for app developers - wash dc
Brk3043 azure sql db   intelligent cloud database for app developers - wash dcBrk3043 azure sql db   intelligent cloud database for app developers - wash dc
Brk3043 azure sql db intelligent cloud database for app developers - wash dc
 
CosmosDB for DBAs & Developers
CosmosDB for DBAs & DevelopersCosmosDB for DBAs & Developers
CosmosDB for DBAs & Developers
 
Session #2, tech session: Build realtime search by Sylvain Utard from Algolia
Session #2, tech session: Build realtime search by Sylvain Utard from AlgoliaSession #2, tech session: Build realtime search by Sylvain Utard from Algolia
Session #2, tech session: Build realtime search by Sylvain Utard from Algolia
 
What database
What databaseWhat database
What database
 

Similar to SharePoint Databases: What you need to know (201609)

SharePoint Databases: What you need to know (201504)
SharePoint Databases: What you need to know (201504)SharePoint Databases: What you need to know (201504)
SharePoint Databases: What you need to know (201504)Alan Eardley
 
SharePoint Databases: What you need to know (201509)
SharePoint Databases: What you need to know (201509)SharePoint Databases: What you need to know (201509)
SharePoint Databases: What you need to know (201509)Alan Eardley
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Brian Culver
 
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...J.D. Wade
 
What SQL DBAs need to know about SharePoint-Indianapolis 2013
What SQL DBAs need to know about SharePoint-Indianapolis 2013What SQL DBAs need to know about SharePoint-Indianapolis 2013
What SQL DBAs need to know about SharePoint-Indianapolis 2013J.D. Wade
 
SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)Brian Culver
 
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...Toni Frankola
 
Best Practices to SharePoint Architecture Fundamentals NZ & AUS
Best Practices to SharePoint Architecture Fundamentals NZ & AUSBest Practices to SharePoint Architecture Fundamentals NZ & AUS
Best Practices to SharePoint Architecture Fundamentals NZ & AUSguest7c2e070
 
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013Kashish Sukhija
 
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013J.D. Wade
 
SharePoint Saturday The Conference 2011 - SP2010 Performance
SharePoint Saturday The Conference 2011 - SP2010 PerformanceSharePoint Saturday The Conference 2011 - SP2010 Performance
SharePoint Saturday The Conference 2011 - SP2010 PerformanceBrian Culver
 
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...European SharePoint Conference
 
Unbreakable SharePoint 2013 with SQL Server Always On Availability Groups (HA...
Unbreakable SharePoint 2013 with SQL Server Always On Availability Groups (HA...Unbreakable SharePoint 2013 with SQL Server Always On Availability Groups (HA...
Unbreakable SharePoint 2013 with SQL Server Always On Availability Groups (HA...serge luca
 
Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...
Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...
Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...Chirag Patel
 
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...Datapolis
 
SQL Server Upgrade and Consolidation - Methodology and Approach
SQL Server Upgrade and Consolidation - Methodology and ApproachSQL Server Upgrade and Consolidation - Methodology and Approach
SQL Server Upgrade and Consolidation - Methodology and ApproachIndra Dharmawan
 
SharePoint Saturday Paris 2015 Validating SharePoint 2013 Farm Before Go-Live
SharePoint Saturday Paris 2015   Validating SharePoint 2013 Farm Before Go-LiveSharePoint Saturday Paris 2015   Validating SharePoint 2013 Farm Before Go-Live
SharePoint Saturday Paris 2015 Validating SharePoint 2013 Farm Before Go-LiveChirag Patel
 
A Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
A Real World Guide to Building Highly Available Fault Tolerant SharePoint FarmsA Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
A Real World Guide to Building Highly Available Fault Tolerant SharePoint FarmsEric Shupps
 

Similar to SharePoint Databases: What you need to know (201609) (20)

SharePoint Databases: What you need to know (201504)
SharePoint Databases: What you need to know (201504)SharePoint Databases: What you need to know (201504)
SharePoint Databases: What you need to know (201504)
 
SharePoint Databases: What you need to know (201509)
SharePoint Databases: What you need to know (201509)SharePoint Databases: What you need to know (201509)
SharePoint Databases: What you need to know (201509)
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!
 
SharePointDetails.ppt
SharePointDetails.pptSharePointDetails.ppt
SharePointDetails.ppt
 
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
 
What SQL DBAs need to know about SharePoint-Indianapolis 2013
What SQL DBAs need to know about SharePoint-Indianapolis 2013What SQL DBAs need to know about SharePoint-Indianapolis 2013
What SQL DBAs need to know about SharePoint-Indianapolis 2013
 
SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)
 
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
 
Best Practices to SharePoint Architecture Fundamentals NZ & AUS
Best Practices to SharePoint Architecture Fundamentals NZ & AUSBest Practices to SharePoint Architecture Fundamentals NZ & AUS
Best Practices to SharePoint Architecture Fundamentals NZ & AUS
 
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
 
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
 
SharePoint 2016 Upgrade Planning
SharePoint 2016 Upgrade PlanningSharePoint 2016 Upgrade Planning
SharePoint 2016 Upgrade Planning
 
SharePoint Saturday The Conference 2011 - SP2010 Performance
SharePoint Saturday The Conference 2011 - SP2010 PerformanceSharePoint Saturday The Conference 2011 - SP2010 Performance
SharePoint Saturday The Conference 2011 - SP2010 Performance
 
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
 
Unbreakable SharePoint 2013 with SQL Server Always On Availability Groups (HA...
Unbreakable SharePoint 2013 with SQL Server Always On Availability Groups (HA...Unbreakable SharePoint 2013 with SQL Server Always On Availability Groups (HA...
Unbreakable SharePoint 2013 with SQL Server Always On Availability Groups (HA...
 
Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...
Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...
Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...
 
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
 
SQL Server Upgrade and Consolidation - Methodology and Approach
SQL Server Upgrade and Consolidation - Methodology and ApproachSQL Server Upgrade and Consolidation - Methodology and Approach
SQL Server Upgrade and Consolidation - Methodology and Approach
 
SharePoint Saturday Paris 2015 Validating SharePoint 2013 Farm Before Go-Live
SharePoint Saturday Paris 2015   Validating SharePoint 2013 Farm Before Go-LiveSharePoint Saturday Paris 2015   Validating SharePoint 2013 Farm Before Go-Live
SharePoint Saturday Paris 2015 Validating SharePoint 2013 Farm Before Go-Live
 
A Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
A Real World Guide to Building Highly Available Fault Tolerant SharePoint FarmsA Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
A Real World Guide to Building Highly Available Fault Tolerant SharePoint Farms
 

More from Alan Eardley

Security & Compliance: Core Concepts Explained
Security & Compliance: Core Concepts ExplainedSecurity & Compliance: Core Concepts Explained
Security & Compliance: Core Concepts ExplainedAlan Eardley
 
Model driven Power Apps for Dummies (and non-Dynamics Folks)
Model driven Power Apps for Dummies (and non-Dynamics Folks) Model driven Power Apps for Dummies (and non-Dynamics Folks)
Model driven Power Apps for Dummies (and non-Dynamics Folks) Alan Eardley
 
Inclusion by Design - Scottish Summit 2020
Inclusion by Design - Scottish Summit 2020Inclusion by Design - Scottish Summit 2020
Inclusion by Design - Scottish Summit 2020Alan Eardley
 
SPS Oslo - To-Do: How to manage tasks effectively
SPS Oslo - To-Do: How to manage tasks effectivelySPS Oslo - To-Do: How to manage tasks effectively
SPS Oslo - To-Do: How to manage tasks effectivelyAlan Eardley
 
Productivity in an age of collaboration sps leicester
Productivity in an age of collaboration   sps leicesterProductivity in an age of collaboration   sps leicester
Productivity in an age of collaboration sps leicesterAlan Eardley
 
Productivity in an age of collaboration sps london 2019
Productivity in an age of collaboration   sps london 2019Productivity in an age of collaboration   sps london 2019
Productivity in an age of collaboration sps london 2019Alan Eardley
 
Security in an age of collaboration 201903 - tvaug
Security in an age of collaboration   201903 - tvaugSecurity in an age of collaboration   201903 - tvaug
Security in an age of collaboration 201903 - tvaugAlan Eardley
 
Cloud First: Be Prepared
Cloud First: Be PreparedCloud First: Be Prepared
Cloud First: Be PreparedAlan Eardley
 
To-Do: How to manage tasks effectively
To-Do: How to manage tasks effectivelyTo-Do: How to manage tasks effectively
To-Do: How to manage tasks effectivelyAlan Eardley
 
Cloud First: Be Prepared
Cloud First: Be PreparedCloud First: Be Prepared
Cloud First: Be PreparedAlan Eardley
 
Cloud First: Be Prepared
Cloud First: Be PreparedCloud First: Be Prepared
Cloud First: Be PreparedAlan Eardley
 
How did we do? Feedback Made Easy
How did we do?  Feedback Made EasyHow did we do?  Feedback Made Easy
How did we do? Feedback Made EasyAlan Eardley
 
To Do: How to manage tasks effectively
To Do: How to manage tasks effectivelyTo Do: How to manage tasks effectively
To Do: How to manage tasks effectivelyAlan Eardley
 
Cloud First: Be Prepared
Cloud First: Be PreparedCloud First: Be Prepared
Cloud First: Be PreparedAlan Eardley
 
Office 365: The Art of the Possible (201603)
Office 365: The Art of the Possible (201603)Office 365: The Art of the Possible (201603)
Office 365: The Art of the Possible (201603)Alan Eardley
 
201509 sp sat-cambridge-o365-theartofthepossible
201509 sp sat-cambridge-o365-theartofthepossible201509 sp sat-cambridge-o365-theartofthepossible
201509 sp sat-cambridge-o365-theartofthepossibleAlan Eardley
 
Office 365 Intranet
Office 365 IntranetOffice 365 Intranet
Office 365 IntranetAlan Eardley
 
How does SharePoint access data
How does SharePoint access dataHow does SharePoint access data
How does SharePoint access dataAlan Eardley
 
To-Do: How to manage tasks effectively
To-Do: How to manage tasks effectivelyTo-Do: How to manage tasks effectively
To-Do: How to manage tasks effectivelyAlan Eardley
 
Office 365 Groups vs. Teams (201705)
Office 365 Groups vs. Teams (201705)Office 365 Groups vs. Teams (201705)
Office 365 Groups vs. Teams (201705)Alan Eardley
 

More from Alan Eardley (20)

Security & Compliance: Core Concepts Explained
Security & Compliance: Core Concepts ExplainedSecurity & Compliance: Core Concepts Explained
Security & Compliance: Core Concepts Explained
 
Model driven Power Apps for Dummies (and non-Dynamics Folks)
Model driven Power Apps for Dummies (and non-Dynamics Folks) Model driven Power Apps for Dummies (and non-Dynamics Folks)
Model driven Power Apps for Dummies (and non-Dynamics Folks)
 
Inclusion by Design - Scottish Summit 2020
Inclusion by Design - Scottish Summit 2020Inclusion by Design - Scottish Summit 2020
Inclusion by Design - Scottish Summit 2020
 
SPS Oslo - To-Do: How to manage tasks effectively
SPS Oslo - To-Do: How to manage tasks effectivelySPS Oslo - To-Do: How to manage tasks effectively
SPS Oslo - To-Do: How to manage tasks effectively
 
Productivity in an age of collaboration sps leicester
Productivity in an age of collaboration   sps leicesterProductivity in an age of collaboration   sps leicester
Productivity in an age of collaboration sps leicester
 
Productivity in an age of collaboration sps london 2019
Productivity in an age of collaboration   sps london 2019Productivity in an age of collaboration   sps london 2019
Productivity in an age of collaboration sps london 2019
 
Security in an age of collaboration 201903 - tvaug
Security in an age of collaboration   201903 - tvaugSecurity in an age of collaboration   201903 - tvaug
Security in an age of collaboration 201903 - tvaug
 
Cloud First: Be Prepared
Cloud First: Be PreparedCloud First: Be Prepared
Cloud First: Be Prepared
 
To-Do: How to manage tasks effectively
To-Do: How to manage tasks effectivelyTo-Do: How to manage tasks effectively
To-Do: How to manage tasks effectively
 
Cloud First: Be Prepared
Cloud First: Be PreparedCloud First: Be Prepared
Cloud First: Be Prepared
 
Cloud First: Be Prepared
Cloud First: Be PreparedCloud First: Be Prepared
Cloud First: Be Prepared
 
How did we do? Feedback Made Easy
How did we do?  Feedback Made EasyHow did we do?  Feedback Made Easy
How did we do? Feedback Made Easy
 
To Do: How to manage tasks effectively
To Do: How to manage tasks effectivelyTo Do: How to manage tasks effectively
To Do: How to manage tasks effectively
 
Cloud First: Be Prepared
Cloud First: Be PreparedCloud First: Be Prepared
Cloud First: Be Prepared
 
Office 365: The Art of the Possible (201603)
Office 365: The Art of the Possible (201603)Office 365: The Art of the Possible (201603)
Office 365: The Art of the Possible (201603)
 
201509 sp sat-cambridge-o365-theartofthepossible
201509 sp sat-cambridge-o365-theartofthepossible201509 sp sat-cambridge-o365-theartofthepossible
201509 sp sat-cambridge-o365-theartofthepossible
 
Office 365 Intranet
Office 365 IntranetOffice 365 Intranet
Office 365 Intranet
 
How does SharePoint access data
How does SharePoint access dataHow does SharePoint access data
How does SharePoint access data
 
To-Do: How to manage tasks effectively
To-Do: How to manage tasks effectivelyTo-Do: How to manage tasks effectively
To-Do: How to manage tasks effectively
 
Office 365 Groups vs. Teams (201705)
Office 365 Groups vs. Teams (201705)Office 365 Groups vs. Teams (201705)
Office 365 Groups vs. Teams (201705)
 

Recently uploaded

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Recently uploaded (20)

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

SharePoint Databases: What you need to know (201609)

  • 1. blog.eardley.org.uk SharePoint Databases What you need to know Alan Eardley - @al_eardley SQL & SharePoint Saturday 10 September 2016
  • 3. blog.eardley.org.uk Who Am I? • SharePoint Architect at CPS • Developer, DBA, Business Analyst, Project Manager, Architect • SQL Server 7.0 - 2016 • SharePoint 2003 – 2016 • Office 365, Azure, Project Server/Online, Dynamics CRM • Twitter: @Al_Eardley • E-mail: Alan.Eardley@Outlook.com • Blog: http://blog.eardley.org.uk
  • 4. blog.eardley.org.uk What will I cover? • What does it do? • How does it work? • How does it use SQL? What is SharePoint? • How many databases does it need? • How does it grow? • HA & DR Planning • Are there any pre-requisites? • How do I help with the build? Roll-out This relates to on-premises SharePoint NOT Office 365
  • 5. blog.eardley.org.uk SharePoint – What does it do? Document Management Process Management Search Publishing Collaboration Business Intelligence
  • 6. blog.eardley.org.uk SharePoint – How does it work? Lists & LibrariesSitesSite CollectionsWeb Applications Intranet Departments HR IT Documents Knowledge Base Help Desk Issues Sales Projects Upgrade to Win 10 Risks Issues Tasks Build new Product My Sites Client Extranet
  • 7. blog.eardley.org.uk SharePoint – How does it work? Business Connectivity Services Managed Metadata Services PerformancePoint Services Project Server Search User Profile Service
  • 8. blog.eardley.org.uk SharePoint – How does it use SQL? • Most Service Applications utilise at least one database Service Applications • At least one database per Web Application • Each site collection can have a database Content Databases • Multiple DatabasesMy Sites Databases should not exceed 200GB in size With the exception of Records Centre databases
  • 9. blog.eardley.org.uk Remote BLOB Storage • SharePoint 2016 only • SQL Server 2014 (SP1) • SQL Server 2016 • Uses FILESTREAM • RBS Driver required on every SQL and SharePoint Server
  • 10. blog.eardley.org.uk Planning – How many databases does it need? • Types of Database – Administration – Content – Service Applications • How many databases will be required? • How large do they need to be? • How fast will they grow?
  • 11. blog.eardley.org.uk Service Applications with Databases • App Management Service • Apps for SharePoint • Business Data Connectivity • Managed Metadata • PerformancePoint Services • Search Service * • Secure Store Service • SharePoint Translation Service • SQL Server Power Pivot Service • State Service • Subscription Settings Service • Usage and Health data collection • User Profile Service * • Word Automation Services
  • 12. blog.eardley.org.uk Versions • SQL Server Power Pivot for SharePoint – SharePoint 2016 – SQL Server 2016 (Ent) – SQL Server 2016 AS • SQL Server Reporting Services – SharePoint 2016 – SQL Server 2016 – SQL Server 2016 RS
  • 13. blog.eardley.org.uk Backup • As a DBA, same as any other application – Full backups – Differential backups – Transaction backups • Check consistency • Fragmentation – Check for index fragmentation – Check for drive fragmentation
  • 14. blog.eardley.org.uk Recovery Overview Site • Everyone • 30 days • Items and documents • Automatically moved to site collection recycle bin Site Collection • Site collection administrator • First in – first out • Includes sites
  • 15. blog.eardley.org.uk Recovery • When a site is required to be restored • When a site collection has been deleted Content Databases • When a Service application needs to rebuilt Service Application • When a farm needs to be recoveredCentral Admin
  • 16. blog.eardley.org.uk High Availability • Mirroring – SharePoint supports mirroring (although it is deprecated) • Clustering – Preferable to mirroring as it is at server level • Always On Availability Groups – Failover unit = group of databases – No single point of dependency
  • 17. blog.eardley.org.uk • Web Front EndPresentation • Application Server • Workflow Manager • Office Online Server Application • SQL ServerData WorkflowManager DataLayer StorageLayer DataLayer OfficeOnlineServer SharePoint - WFE SharePoint - WFE WorkFlow Manager WorkFlow Manager WorkFlow Manager Load Balancer Load Balancer SharePoint - App SharePoint - App Database Server Database Server Always On Availability Group Firewall Load Balancer Office Online Server Office Online Server Active Directory SAN SAN
  • 18. blog.eardley.org.uk Shared Services FarmsShared Services Farm Content FarmLegacy Farm Project Server Farm User Profile Service Search Managed Metadata ServicesSecure Store Business Connectivity Services
  • 19. blog.eardley.org.uk Hybrid OfficeOnlineServer Load Balancer Office Online Server Office Online ServerSharePoint Farm Azure Active DirectoryOffice 365 Azure AD Connect Active Directory Cloud Search Service Reverse Proxy Reverse Proxy Search Office Online Server BCS
  • 20. blog.eardley.org.uk Multiple Farms, Multiple Data Centres Data Centre BData Centre A SharePoint Farm Firewall SharePoint Farm Firewall Always On Availability Group SAN Database Server Database Server SAN Database Server SAN Always On Availability Group
  • 21. blog.eardley.org.uk Data Level Domain Data Centre B WindowsServerFailoverCluster Data Centre A WindowsServerFailoverCluster Asynchronous Synchronous Synchronous Domain Controller Scheduled Backup and Restore
  • 22. blog.eardley.org.uk How Can I Help? • Set up SQL Instance correctly • Understand the database usage profilesConfiguration • Standards and processes • PowerShellInstallation • Monitor • Plan for growth • Backup Maintenance
  • 23. blog.eardley.org.uk Instance Configuration • Used a dedicated instance • Default Collation - Latin1_General_CI_AS_KS_WS • MAXDOP = 1 • Define the maximum memory • Make a note of the Port Number the Instance is listening on • Use DNS aliases
  • 24. blog.eardley.org.uk Database Configuration • Disable auto-create statistics • Single file group per DB • Use multiple data files for heavy-use content DBs • Use backup compression
  • 25. blog.eardley.org.uk Support • The general rules to not invalidate Microsoft Support are: – Do not add anything to the SharePoint databases • Stored Procedures • Triggers • Tables • Indexes – Do not run frequent queries against the SharePoint Databases – Do not run DBCC CHECKDB with REPAIR_ALLOW_DATA_LOSS
  • 26. blog.eardley.org.uk Summary • The number of databases depends on the service applications • The size of the databases will depend on – The number of users – The number of documents and the amount of content – The amount of usage of SharePoint • A database instance for SharePoint has specific requirements • HA and DR strategies are a combination of SharePoint and SQL approaches • SharePoint databases are the same as any other databases
  • 27. blog.eardley.org.uk SharePoint Database References blog.eardley.org.uk/2015/03/sharepoint-databases-knowledge-base/ • A combination of Microsoft documentation – SQL based – SharePoint based • Initial sizes • Growth • Usage • HA/DR • Links to Power Shell to create the databases
  • 28. blog.eardley.org.uk Thank-you Alan Eardley – Alan.Eardley@outlook.com blog.eardley.org.uk @al_eardley Office 365 | SharePoint | Project Server | CRM | Recruitment

Editor's Notes

  1. Web Application – a web site that contains at least one site collection Site Collection – a container for sites and functionality configuration Site – a container of lists and libraries and functionality configuration List – a container of list items Library – a container of documents
  2. To plan we need to know how SharePoint works
  3. Database recovery is generally to large a unit of recovery as users generally want a document or a site Tools available for more granular recovery
  4. SharePoint Service Applications Search User Profile Managed Metadata Secure Store Business Connectivity
  5. Dedicated Instance Because of the security settings required to allow SharePoint to create databases and the default naiming conventions of SharePoint databases a single instance is recommended for each SharePoint Farm More easy to manage when all of the databases within an instance are related to the same SharePoint Farm If other custom databases are required because they are to be accessed from the same farm then they should be added to the same instance, e.g. SSRS or bespoke DBs Easier for HA and DR Collation SharePoint is generally good at handling collations that differ from the recommended collation The SQL generated by the application will explicitly set the collation Issues arise when moving databases where the servers have different collations as comparisons used in TempDB will generate errors MAXDOP As of SharePoint 2013 a MAXDOP setting of 1 is required Another reason to use a dedicated instance if other DB applications require different MAXDOP settings Statistics SharePoint will configure the settings when it is installing and when it is upgrading Maximum memory A simple safety check to prevent the instance claiming too much memory Port Number