SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
Intro to SharePoint
for SQL Server
DBA’s
Steve Knutson | Microsoft MVP Office Servers and Services
Stratos Technology Partners Managing Director
#614 SQL Saturday South Island
Who am I?
steve@stp.co.nz | @nztechtweet
Agenda
• A bit about SharePoint Architecture
• SharePoint Databases
• How big, how many and how fast?
• Backup Recovery
• Maintenance do’s and don’ts
• If you only remember a few things
SharePoint Architecture 101
SharePoint Server
(Web and App roles)
SQL Server
Services ContentConfig
Suitable for:
• Dev and UAT
• Small Farms
Or this…
SharePoint Server
(App roles)
SQL Server
Services ContentConfig
SharePoint Server
(Web roles)
Or this!
SharePoint Server
(App roles)
SQL Server (cluster)
Services ContentConfig
SharePoint Server
(Web roles)
SharePoint Server
(App roles)
SharePoint Server
(Web roles)
What are all these databases for?
SharePoint has databases for three purposes
• Farm configuration – contains the
configuration of the entire SharePoint farm
• Service Applications – configuration and data
for SharePoint application services e.g.
Search, User Profile, Managed Metadata etc
• Content databases – contains user data e.g.
site configuration and data
A transaction is a document
SharePoint workloads are different in several
ways
• Content databases can contain documents. An
“HTTP Get” from SharePoint can return a document
(they can be big!)
• Read to Write ratios can vary – rule of thumb 80%
read, 20% write
• A ‘Full’ Search Crawl will read every item and
document in the Content Databases, generating
high I/O in SQL.
Temp DB
• Put on the fastest storage
• Use a dedicated LUN if possible
• Use “MB” rather than “%” auto-grow
• TempDB size = [MAX DB SIZE (KB)] X [0.25] / [No. CORES] = DATA FILE
SIZE (KB)
Capacity Planning
• Soft limits (there are no hard limits)
• 50,000 site collections per content db
• 1TB per content db (but smaller is recommended)
• 8 Web Front Ends per SQL server
• Understand the size and growth profile of
content
• Versioning requirements
• High growth vs archival
• Access frequency
• 80% Read, 20% write
SQL Server Memory, Disk and Network
• RAM – Minimum 4GB (Dev), Good 8-16GB,
Better >16GB
• CPU cache - >2MB L2 Cache
• CPU cores – Good 4 cores, Better >4 cores
• Disk latency – Good < 10msec, Better
<10msec (Data) <5msec (Tlog)
• Network latency (SQL to SP server) – Less
than 1ms
SQL and SharePoint Server Config
• Keep up to date with patches but confirm SP
supported version
• Use a dedicated SQL server if possible
• Plan your content databases and “scale out”
if necessary
• Use SQL Aliases
Content Databases
• Using dedicated content databases per site
collection allows you to recover individual site
collections and other management flexibility
• This is important for recovery and DR
Remote BLOB Storage
• Has some limitations
• No encryption or compression
• Best for…
• Few large BLOBs (mostly read access)
• Worst for…
• Lots of smaller BLOBs (or intensive write access)
• Requires Enterprise licensing
• Third-party add-ons make this much better
• Adds complexity
Business Data Connectivity
• Can present SQL views / tables in
SharePoint
• Can write data back into SQL
SharePoint also supports oData and REST
• Use SSIS to pull data from lists (on-premises
& cloud)
Access Services
• Access databases published to SharePoint
• Uses SQL to host tables NOT Access
• NB: Access Services is end of life for
SharePoint Online
Business Intelligence
Services (on-premises)
• PowerPivot
• PerformancePoint
• SQL Server Reporting Services
Cloud
• PowerBI (Pro license)
Secure Store
• Manages credentials for BI Services
• Works with Microsoft and non-Microsoft data
sources
• Authentication:
• Pass-through (logged in user)
• Data access account
• Non-windows accounts
• Reduces need for Kerberos (but isn't a
complete replacement)
Which Recovery model?
Microsoft recommend using both the Simple
and Full recovery models.
Full Model for these databases
• Configuration, Admin Content, Content,
Secure Store, BDC and PerformancePoint
Simple Model for these databases:
• Search and User Profile Service
Backup and Restore
• Understand what you might need to recover
• Library, List, File or list item
• Site
• Site Collection
• Web application
• Farm
• Use the recycle bins first
• Unattached database recovery
• Get sign-off on your RTO and RPO’s, don’t
assume they are the same as other systems
Maintenance
Indexes - Fragments happen! (who said by
design?)
• Performance degrades as fragmentation
increases – more I/O
• Content and Search DB’s are most
susceptible
• Use sys.dm_db_index_physical_stats, it is
more accurate that DBCC Showconfig
Maintenance Do’s
• Auto-defrag (Content Databases only)
• Shrink content db’s (but not other database
types)
• Update statistics
• Change the server wide fill factor to 70%
• Use DBCC CheckDB to check for
consistency errors
• Check that your backups are working
• Do maintenance during off-peak hours
Maintenance Don’ts
• Use maintenance plans to shrink databases
• Drop and recreate indexes! (definitely don’t
do this…)
• Shrink any databases other than Content
DB’s
• Auto-shrink databases
• Run maintenance tasks like DBCC or index
rebuilds during business hours
• Directly update SharePoint databases!!!
Know your environment
SharePoint is a platform with a great deal of
flexibility and wide range of uses. Your
environment will be unique, so take time to
understand normal:
• Setup performance counters
• Monitor your environment doing Search Crawls
• Be proactive about database growth
• Prepare for bulk data migrations
• Practice recovery scenarios
If you only remember a few things
• Always use a SQL Alias for SharePoint
• Use multiple content databases if you have
lots of data (plan for scale)
• You can scale out or scale up
• Capacity Planning is important
• Measure “YOUR” environment
• Understand “YOUR” recovery options
Q & A time
SQL SATURDAY | #614 | South Island 2017
Steve Knutson | Microsoft MVP
Please fill out your evaluation forms.
You have them in your A4 pack from registration.
Please put them in the box at the front of the room.
There are spot prizes for completed evaluation forms.
SQL SATURDAY | #614 | South Island 2017
Steve Knutson | Microsoft MVP
Please fill out your evaluation forms.
You have them in your A4 pack from registration.
Please put them in the box at the front of the room.
There are spot prizes for completed evaluation forms.
Thank you to our sponsors:
Gold Sponsors
Silver Sponsors
Bronze Sponsors

Contenu connexe

Tendances

DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSEDB
 
SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4Gianluca Hotz
 
IN-MEMORY DATABASE SYSTEMS FOR BIG DATA MANAGEMENT.SAP HANA DATABASE.
IN-MEMORY DATABASE SYSTEMS FOR BIG DATA MANAGEMENT.SAP HANA DATABASE.IN-MEMORY DATABASE SYSTEMS FOR BIG DATA MANAGEMENT.SAP HANA DATABASE.
IN-MEMORY DATABASE SYSTEMS FOR BIG DATA MANAGEMENT.SAP HANA DATABASE.George Joseph
 
Introduction to CosmosDB - Azure Bootcamp 2018
Introduction to CosmosDB - Azure Bootcamp 2018Introduction to CosmosDB - Azure Bootcamp 2018
Introduction to CosmosDB - Azure Bootcamp 2018Josh Carlisle
 
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business Intelligence
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business IntelligenceUNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business Intelligence
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business IntelligenceJonathan Pletzke
 
SPS Kansas City: What SharePoint Admin need to know about SQL
SPS Kansas City: What SharePoint Admin need to know about SQLSPS Kansas City: What SharePoint Admin need to know about SQL
SPS Kansas City: What SharePoint Admin need to know about SQLJ.D. Wade
 
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
 
NoSql Data Management
NoSql Data ManagementNoSql Data Management
NoSql Data Managementsameerfaizan
 
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
 
Comparative study of modern databases
Comparative study of modern databasesComparative study of modern databases
Comparative study of modern databasesAnirban Konar
 
SQL server 2016 New Features
SQL server 2016 New FeaturesSQL server 2016 New Features
SQL server 2016 New Featuresaminmesbahi
 
NoSql - mayank singh
NoSql - mayank singhNoSql - mayank singh
NoSql - mayank singhMayank Singh
 
Sap bods training in hyderabad
Sap bods training in hyderabadSap bods training in hyderabad
Sap bods training in hyderabadRajitha D
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databasesAshwani Kumar
 
Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016Softchoice Corporation
 
Data Modeling for NoSQL
Data Modeling for NoSQLData Modeling for NoSQL
Data Modeling for NoSQLTony Tam
 
SQL Server 2016 Editions
SQL Server 2016 Editions SQL Server 2016 Editions
SQL Server 2016 Editions Onomi
 
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
 

Tendances (20)

DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWS
 
SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4
 
IN-MEMORY DATABASE SYSTEMS FOR BIG DATA MANAGEMENT.SAP HANA DATABASE.
IN-MEMORY DATABASE SYSTEMS FOR BIG DATA MANAGEMENT.SAP HANA DATABASE.IN-MEMORY DATABASE SYSTEMS FOR BIG DATA MANAGEMENT.SAP HANA DATABASE.
IN-MEMORY DATABASE SYSTEMS FOR BIG DATA MANAGEMENT.SAP HANA DATABASE.
 
Introduction to azure document db
Introduction to azure document dbIntroduction to azure document db
Introduction to azure document db
 
Introduction to CosmosDB - Azure Bootcamp 2018
Introduction to CosmosDB - Azure Bootcamp 2018Introduction to CosmosDB - Azure Bootcamp 2018
Introduction to CosmosDB - Azure Bootcamp 2018
 
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business Intelligence
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business IntelligenceUNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business Intelligence
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business Intelligence
 
What database
What databaseWhat database
What database
 
SPS Kansas City: What SharePoint Admin need to know about SQL
SPS Kansas City: What SharePoint Admin need to know about SQLSPS Kansas City: What SharePoint Admin need to know about SQL
SPS Kansas City: What SharePoint Admin need to know about SQL
 
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...
 
NoSql Data Management
NoSql Data ManagementNoSql Data Management
NoSql Data Management
 
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
 
Comparative study of modern databases
Comparative study of modern databasesComparative study of modern databases
Comparative study of modern databases
 
SQL server 2016 New Features
SQL server 2016 New FeaturesSQL server 2016 New Features
SQL server 2016 New Features
 
NoSql - mayank singh
NoSql - mayank singhNoSql - mayank singh
NoSql - mayank singh
 
Sap bods training in hyderabad
Sap bods training in hyderabadSap bods training in hyderabad
Sap bods training in hyderabad
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databases
 
Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016
 
Data Modeling for NoSQL
Data Modeling for NoSQLData Modeling for NoSQL
Data Modeling for NoSQL
 
SQL Server 2016 Editions
SQL Server 2016 Editions SQL Server 2016 Editions
SQL Server 2016 Editions
 
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
 

Similaire à Introduction to SharePoint for SQLserver DBAs

SharePoint 2010 database maintenance
SharePoint 2010 database maintenanceSharePoint 2010 database maintenance
SharePoint 2010 database maintenanceMatt Ranlett
 
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...BIWUG
 
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
 
How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmNigel Price
 
Share point 2010 performance and capacity planning best practices
Share point 2010 performance and capacity planning best practicesShare point 2010 performance and capacity planning best practices
Share point 2010 performance and capacity planning best practicesEric Shupps
 
Get your SharePoint spinning with SQL Server
Get your SharePoint spinning with SQL ServerGet your SharePoint spinning with SQL Server
Get your SharePoint spinning with SQL ServerKnut Relbe-Moe [MVP, MCT]
 
What's new in SharePoint 2016
What's new in SharePoint 2016What's new in SharePoint 2016
What's new in SharePoint 2016Giuseppe Marchi
 
Optimize SQL server performance for SharePoint
Optimize SQL server performance for SharePointOptimize SQL server performance for SharePoint
Optimize SQL server performance for SharePointserge luca
 
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 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
 
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
 
SharePoint Databases: What you need to know (201609)
SharePoint Databases: What you need to know (201609)SharePoint Databases: What you need to know (201609)
SharePoint Databases: What you need to know (201609)Alan Eardley
 
SharePoint Saturday San Antonio: SharePoint 2010 Performance
SharePoint Saturday San Antonio: SharePoint 2010 PerformanceSharePoint Saturday San Antonio: SharePoint 2010 Performance
SharePoint Saturday San Antonio: SharePoint 2010 PerformanceBrian Culver
 
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site ReviewECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site ReviewKenny Buntinx
 
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
 
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
 
Storing and managing your content in share point spsnyc
Storing and managing your content in share point spsnycStoring and managing your content in share point spsnyc
Storing and managing your content in share point spsnycBaris Bruce Tuncertan
 
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
 
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...Michael Noel
 

Similaire à Introduction to SharePoint for SQLserver DBAs (20)

SharePoint 2010 database maintenance
SharePoint 2010 database maintenanceSharePoint 2010 database maintenance
SharePoint 2010 database maintenance
 
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!
 
How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_Farm
 
Share point 2010 performance and capacity planning best practices
Share point 2010 performance and capacity planning best practicesShare point 2010 performance and capacity planning best practices
Share point 2010 performance and capacity planning best practices
 
Get your SharePoint spinning with SQL Server
Get your SharePoint spinning with SQL ServerGet your SharePoint spinning with SQL Server
Get your SharePoint spinning with SQL Server
 
What's new in SharePoint 2016
What's new in SharePoint 2016What's new in SharePoint 2016
What's new in SharePoint 2016
 
Optimize SQL server performance for SharePoint
Optimize SQL server performance for SharePointOptimize SQL server performance for SharePoint
Optimize SQL server performance for SharePoint
 
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 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...
 
SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)
 
SharePoint Databases: What you need to know (201609)
SharePoint Databases: What you need to know (201609)SharePoint Databases: What you need to know (201609)
SharePoint Databases: What you need to know (201609)
 
SharePoint Saturday San Antonio: SharePoint 2010 Performance
SharePoint Saturday San Antonio: SharePoint 2010 PerformanceSharePoint Saturday San Antonio: SharePoint 2010 Performance
SharePoint Saturday San Antonio: SharePoint 2010 Performance
 
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site ReviewECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
 
Sharepoint Deployments
Sharepoint DeploymentsSharepoint Deployments
Sharepoint Deployments
 
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
 
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...
 
Storing and managing your content in share point spsnyc
Storing and managing your content in share point spsnycStoring and managing your content in share point spsnyc
Storing and managing your content in share point spsnyc
 
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
 
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...
SPSSac2014 - SharePoint Infrastructure Tips and Tricks for On-Premises and Hy...
 

Dernier

How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 

Dernier (20)

How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 

Introduction to SharePoint for SQLserver DBAs

  • 1. Intro to SharePoint for SQL Server DBA’s Steve Knutson | Microsoft MVP Office Servers and Services Stratos Technology Partners Managing Director #614 SQL Saturday South Island
  • 2. Who am I? steve@stp.co.nz | @nztechtweet
  • 3. Agenda • A bit about SharePoint Architecture • SharePoint Databases • How big, how many and how fast? • Backup Recovery • Maintenance do’s and don’ts • If you only remember a few things
  • 4. SharePoint Architecture 101 SharePoint Server (Web and App roles) SQL Server Services ContentConfig Suitable for: • Dev and UAT • Small Farms
  • 5. Or this… SharePoint Server (App roles) SQL Server Services ContentConfig SharePoint Server (Web roles)
  • 6. Or this! SharePoint Server (App roles) SQL Server (cluster) Services ContentConfig SharePoint Server (Web roles) SharePoint Server (App roles) SharePoint Server (Web roles)
  • 7. What are all these databases for? SharePoint has databases for three purposes • Farm configuration – contains the configuration of the entire SharePoint farm • Service Applications – configuration and data for SharePoint application services e.g. Search, User Profile, Managed Metadata etc • Content databases – contains user data e.g. site configuration and data
  • 8. A transaction is a document SharePoint workloads are different in several ways • Content databases can contain documents. An “HTTP Get” from SharePoint can return a document (they can be big!) • Read to Write ratios can vary – rule of thumb 80% read, 20% write • A ‘Full’ Search Crawl will read every item and document in the Content Databases, generating high I/O in SQL.
  • 9. Temp DB • Put on the fastest storage • Use a dedicated LUN if possible • Use “MB” rather than “%” auto-grow • TempDB size = [MAX DB SIZE (KB)] X [0.25] / [No. CORES] = DATA FILE SIZE (KB)
  • 10. Capacity Planning • Soft limits (there are no hard limits) • 50,000 site collections per content db • 1TB per content db (but smaller is recommended) • 8 Web Front Ends per SQL server • Understand the size and growth profile of content • Versioning requirements • High growth vs archival • Access frequency • 80% Read, 20% write
  • 11. SQL Server Memory, Disk and Network • RAM – Minimum 4GB (Dev), Good 8-16GB, Better >16GB • CPU cache - >2MB L2 Cache • CPU cores – Good 4 cores, Better >4 cores • Disk latency – Good < 10msec, Better <10msec (Data) <5msec (Tlog) • Network latency (SQL to SP server) – Less than 1ms
  • 12. SQL and SharePoint Server Config • Keep up to date with patches but confirm SP supported version • Use a dedicated SQL server if possible • Plan your content databases and “scale out” if necessary • Use SQL Aliases
  • 13. Content Databases • Using dedicated content databases per site collection allows you to recover individual site collections and other management flexibility • This is important for recovery and DR
  • 14. Remote BLOB Storage • Has some limitations • No encryption or compression • Best for… • Few large BLOBs (mostly read access) • Worst for… • Lots of smaller BLOBs (or intensive write access) • Requires Enterprise licensing • Third-party add-ons make this much better • Adds complexity
  • 15. Business Data Connectivity • Can present SQL views / tables in SharePoint • Can write data back into SQL SharePoint also supports oData and REST • Use SSIS to pull data from lists (on-premises & cloud)
  • 16. Access Services • Access databases published to SharePoint • Uses SQL to host tables NOT Access • NB: Access Services is end of life for SharePoint Online
  • 17. Business Intelligence Services (on-premises) • PowerPivot • PerformancePoint • SQL Server Reporting Services Cloud • PowerBI (Pro license)
  • 18. Secure Store • Manages credentials for BI Services • Works with Microsoft and non-Microsoft data sources • Authentication: • Pass-through (logged in user) • Data access account • Non-windows accounts • Reduces need for Kerberos (but isn't a complete replacement)
  • 19. Which Recovery model? Microsoft recommend using both the Simple and Full recovery models. Full Model for these databases • Configuration, Admin Content, Content, Secure Store, BDC and PerformancePoint Simple Model for these databases: • Search and User Profile Service
  • 20. Backup and Restore • Understand what you might need to recover • Library, List, File or list item • Site • Site Collection • Web application • Farm • Use the recycle bins first • Unattached database recovery • Get sign-off on your RTO and RPO’s, don’t assume they are the same as other systems
  • 21. Maintenance Indexes - Fragments happen! (who said by design?) • Performance degrades as fragmentation increases – more I/O • Content and Search DB’s are most susceptible • Use sys.dm_db_index_physical_stats, it is more accurate that DBCC Showconfig
  • 22. Maintenance Do’s • Auto-defrag (Content Databases only) • Shrink content db’s (but not other database types) • Update statistics • Change the server wide fill factor to 70% • Use DBCC CheckDB to check for consistency errors • Check that your backups are working • Do maintenance during off-peak hours
  • 23. Maintenance Don’ts • Use maintenance plans to shrink databases • Drop and recreate indexes! (definitely don’t do this…) • Shrink any databases other than Content DB’s • Auto-shrink databases • Run maintenance tasks like DBCC or index rebuilds during business hours • Directly update SharePoint databases!!!
  • 24. Know your environment SharePoint is a platform with a great deal of flexibility and wide range of uses. Your environment will be unique, so take time to understand normal: • Setup performance counters • Monitor your environment doing Search Crawls • Be proactive about database growth • Prepare for bulk data migrations • Practice recovery scenarios
  • 25. If you only remember a few things • Always use a SQL Alias for SharePoint • Use multiple content databases if you have lots of data (plan for scale) • You can scale out or scale up • Capacity Planning is important • Measure “YOUR” environment • Understand “YOUR” recovery options
  • 26. Q & A time
  • 27. SQL SATURDAY | #614 | South Island 2017 Steve Knutson | Microsoft MVP Please fill out your evaluation forms. You have them in your A4 pack from registration. Please put them in the box at the front of the room. There are spot prizes for completed evaluation forms.
  • 28. SQL SATURDAY | #614 | South Island 2017 Steve Knutson | Microsoft MVP Please fill out your evaluation forms. You have them in your A4 pack from registration. Please put them in the box at the front of the room. There are spot prizes for completed evaluation forms.
  • 29. Thank you to our sponsors: Gold Sponsors Silver Sponsors Bronze Sponsors