SlideShare a Scribd company logo
for
Maximum
SharePoint 2010/2013
Performance
http://bassplayerdoc.wordpress.com
EdwinMSarmiento@Outlook.com
@EdwinMSarmiento
http://ca.linkedin.com/in/EdwinMSarmiento
Microsoft MVP - SQL Server
Henry Kremer had a vision of having
human-powered airplanes
“
- Dr. Paul MacCready, American aeronautical engineer -
The problem is that
“
it is
problems
NO DIFFERENT
from how we
performance
duct tape fixes
whatif
problems
we look at the same
Database Configuration for Maximum SharePoint 2010 Performance
let’s look at the
databaseto
improvehow we can
performance
Database Configuration for Maximum SharePoint 2010 Performance
a SharePoint
databaseneeds
8-cores,x64
16 GB
but we already
KNOWthat
but we already
KNOWthat
or do we
MDF/NDF
LDF
a SharePoint
databasehas
MDF/NDF
LDF
a SharePoint
databasehas
which are simply just
a SharePoint
databasehas
MDF/NDF
LDF
which are simply just
a SharePoint
databasehas
MDF/NDF
LDF
their file access patterns
a SharePoint
databasehas
MDF/NDF
LDF
MDF/NDF
read-write
behavior:
a SharePoint
databasehas
MDF/NDF
LDF
LDF
read-write
behavior:
a SharePoint
databasehas
MDF/NDF
LDF
stored inside
a SharePoint
databasehas
MDF/NDF
LDF
stored inside
let’s answer a few
questionsbased on this information
let’s answer a few
based on this information
what would happen if
the files are stored on
multiple disks
questions
let’s answer a few
based on this information
what would happen
if we have
multiple files
questions
let’s answer a few
based on this information
on
multiple disks
multiple files
questions
then
single drive
are we storing
database files in a
then
system drive
are we storing
database files in the
Database Configuration for Maximum SharePoint 2010 Performance
provision
capacity
based on
performance
&
some
some
measure* I/O system performance
BEFORE deployment
*a utility called can be used for this
some
measure* I/O system performance
BEFORE deployment
because you want to know if you’re
getting what was promised
some
create multiple data files
because you can have multiple disks
doing their job for you
*only supported on filegroup
some
create multiple data files
because you can have multiple disks
doing their job for you
*I usually start with data files
some
move database files OUT of
the system partition
because your system partition is already
doing something else
some
use RAID 10
for better protection & write performance
some
physically* separate MDF from LDF
because they have different access patterns
*your may tell you otherwise
some
format the LUNs* with 64K clusters
because SQL Server works in 64K chunks
*for both &
some
pre-size MDF/NDF and LDF files
because you don’t want your storage
to work harder
some
make all file & autogrowth sizes EQUAL
because SQL Server uses the
proportional fill algorithm
some
make all file & autogrowth sizes EQUAL
and because you don’t want your
storage to work harder
hidden
process of reclaiming used disk space
without having to ZERO it out
Database Configuration for Maximum SharePoint 2010 Performance
Database Configuration for Maximum SharePoint 2010 Performance
configuring instant file initialization
log (LDF) files are NOT affected by
instant file initialization
some
pre-size MDF/NDF and LDF files
that’s why you need to
understanding
have you ever
wondered what that
recovery model
is for?
Database Configuration for Maximum SharePoint 2010 Performance
all database changes are written in the log
this allows for point-in-time recoverability
the log gets full over time
the log gets full over time
the log gets full over time
the log gets full over time
the log gets full over time
what happens if it gets FULL?
what happens if it gets FULL?
it
GROWS
we’re assuming autogrowth is configured
what happens if it gets FULL?
and
GROWS
what happens if it gets FULL?
and
when it
it has to ZERO out the file
when it
it has to ZERO out the file
which also means that transactions
are waiting for the autogrowth
process to complete before they can
continue
when the disk containing the log (LDF)
file gets full, the database automatically
becomes read-only
even
log file growth causing
database to be read-only
can we AVOID this
changing to
recovery model
you don’t want to do this if you’re concerned about
point-in-time recoverability
run regular
and
shrinking your databases
effects of shrinking databases
on index fragmentation
configuration
create ¼ the number of files per CPU core
*I usually start with 4 data files of equal size and autogrowth increments
configuration
place database files on faster drive
configuration
place database files on protected drive
*because SQL Server WILL NOT START without tempdb
other configuration
available in SQL Server 2008 and higher
other configuration
the faster the backups complete, the more
resources are available for the database
other configuration
also very useful for high
availability and disaster recovery
other configuration
this is documented - http://technet.microsoft.com/en-us/library/cc298801.aspx#Section6
we, DBAs, are confused because this
is not OUR best practice
*look for the proc_UpdateStatistics stored procedure
other configuration
we, DBAs, are confused because this
is not OUR best practice
this is documented - http://technet.microsoft.com/en-us/library/cc298801.aspx#Section6
*look for the proc_UpdateStatistics stored procedure
other configuration
we, DBAs, are confused because this
is not OUR best practice
this is documented - http://technet.microsoft.com/en-us/library/cc298801.aspx#Section6
other configuration
we want to avoid PAGE SPLITS
other configuration
applies to Standard Edition
*because Enterprise Edition already has this by default
checking and setting
database configuration
http://technet.microsoft.com/en-us/library/cc262731.aspx
perform REGULAR consistency checks
http://technet.microsoft.com/en-us/library/cc262731.aspx
*test implementing Trace Flag 2549 & 2562 KB 2634571
SQL Server 2008 SP2 and higher
perform REGULAR index maintenance
http://technet.microsoft.com/en-us/library/cc262731.aspx
*look for the proc_DefragmentIndices stored procedure
exclude SQL Server files on your AV scan
http://support.microsoft.com/kb/309422
How to choose antivirus software to run on
computers that are running SQL Server
pattern
did you NOTICE a common
in all of the
I/O
they ALL pertain to
performance
great DBA
the SECRET to becoming a
I just told you
Database Configuration for Maximum SharePoint 2010 Performance
TALK to your SQL Server DBAs
IMPLEMENT these changes
Questions
http://bassplayerdoc.wordpress.com
EdwinMSarmiento@Outlook.com
@EdwinMSarmiento
http://ca.linkedin.com/in/EdwinMSarmiento
Microsoft MVP - SQL Server

More Related Content

What's hot (20)

PPTX
Sql 2012 always on
dilip nayak
 
PDF
SQL Server High Availability Solutions (Pros & Cons)
Hamid J. Fard
 
PPTX
Sql server backup internals
Hamid J. Fard
 
PPTX
Sql server’s high availability technologies
venkatchs
 
PPTX
Geek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERA
IDERA Software
 
PPTX
Introduction to SQL Server Internals: How to Think Like the Engine
Brent Ozar
 
PPTX
SQLite: Light, Open Source Relational Database Management System
Tanner Jessel
 
PPTX
Geek Sync | Data Integrity Demystified - Deborah Melkin | IDERA
IDERA Software
 
PDF
Troubleshooting sql server
Antonios Chatzipavlis
 
PPT
Liquibase – a time machine for your data
Neev Technologies
 
PDF
SQLite3
cltru
 
PPTX
Microsoft Azure, My First IaaS
John Martin
 
PPTX
Microsoft SQL Server internals & architecture
Kevin Kline
 
PPTX
AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...
Michael Noel
 
PDF
SQLite 3
Scott MacVicar
 
PPTX
How to Make SQL Server Go Faster
Brent Ozar
 
PPTX
Database Mirror for the exceptional DBA – David Izahk
sqlserver.co.il
 
PDF
SQL Server 2019 Data Virtualization
Matthew W. Bowers
 
PDF
Tips to install and manage always on availability groups in sql server 2012 &...
Antonios Chatzipavlis
 
PPTX
Design Considerations For Storing With Windows Azure
Eric Nelson
 
Sql 2012 always on
dilip nayak
 
SQL Server High Availability Solutions (Pros & Cons)
Hamid J. Fard
 
Sql server backup internals
Hamid J. Fard
 
Sql server’s high availability technologies
venkatchs
 
Geek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERA
IDERA Software
 
Introduction to SQL Server Internals: How to Think Like the Engine
Brent Ozar
 
SQLite: Light, Open Source Relational Database Management System
Tanner Jessel
 
Geek Sync | Data Integrity Demystified - Deborah Melkin | IDERA
IDERA Software
 
Troubleshooting sql server
Antonios Chatzipavlis
 
Liquibase – a time machine for your data
Neev Technologies
 
SQLite3
cltru
 
Microsoft Azure, My First IaaS
John Martin
 
Microsoft SQL Server internals & architecture
Kevin Kline
 
AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...
Michael Noel
 
SQLite 3
Scott MacVicar
 
How to Make SQL Server Go Faster
Brent Ozar
 
Database Mirror for the exceptional DBA – David Izahk
sqlserver.co.il
 
SQL Server 2019 Data Virtualization
Matthew W. Bowers
 
Tips to install and manage always on availability groups in sql server 2012 &...
Antonios Chatzipavlis
 
Design Considerations For Storing With Windows Azure
Eric Nelson
 

Viewers also liked (20)

PDF
Top 5 Things To Monitor as a SQL Server DBA
Edwin M Sarmiento
 
PDF
Dealing with the Myth of the Work-Life Balance
Edwin M Sarmiento
 
PPTX
04 share pointday2012_fast search
Pablo Peris
 
PDF
Open Source SharePoint Solutions for Education
C/D/H Technology Consultants
 
DOCX
Trainmesfottech - Sql Server DBA Training Course Content
Trainmesofttech
 
PPTX
Introducing SP2010 To Administrators
Florin Muntean
 
PDF
SharePoint 2010: A Case Study
C/D/H Technology Consultants
 
PPTX
SharePoint 2010 For Business
Sparked
 
PPSX
Microsoft SharePoint 2010 Overview Session 1
Sourav Nayyar
 
PPTX
Power User functionality in SharePoint 2013 - SP Intersection
Asif Rehmani
 
PDF
Access Services in SharePoint 2010 - All You Need to Know
Nik Patel
 
PDF
Sql server 2008 interview questions answers
Jitendra Gangwar
 
PPTX
Power BI - WHat It Is, How It Works, and Why It Matters
John White
 
PDF
Good sql server interview_questions
Mahesh Gupta (DBATAG) - SQL Server Consultant
 
DOCX
Dba 3+ exp qus
krreddy21
 
PPTX
Power BI Overview
Nikkia Carter
 
PDF
Presentation WOW - PASS Summit 2012 Lightning Talk
Edwin M Sarmiento
 
PPTX
SharePoint Overview
Amy Phillips
 
PDF
Document Management in SharePoint without folders - Introduction to Metadata
Gregory Zelfond
 
PDF
Microsoft Power BI Overview
Netwoven Inc.
 
Top 5 Things To Monitor as a SQL Server DBA
Edwin M Sarmiento
 
Dealing with the Myth of the Work-Life Balance
Edwin M Sarmiento
 
04 share pointday2012_fast search
Pablo Peris
 
Open Source SharePoint Solutions for Education
C/D/H Technology Consultants
 
Trainmesfottech - Sql Server DBA Training Course Content
Trainmesofttech
 
Introducing SP2010 To Administrators
Florin Muntean
 
SharePoint 2010: A Case Study
C/D/H Technology Consultants
 
SharePoint 2010 For Business
Sparked
 
Microsoft SharePoint 2010 Overview Session 1
Sourav Nayyar
 
Power User functionality in SharePoint 2013 - SP Intersection
Asif Rehmani
 
Access Services in SharePoint 2010 - All You Need to Know
Nik Patel
 
Sql server 2008 interview questions answers
Jitendra Gangwar
 
Power BI - WHat It Is, How It Works, and Why It Matters
John White
 
Good sql server interview_questions
Mahesh Gupta (DBATAG) - SQL Server Consultant
 
Dba 3+ exp qus
krreddy21
 
Power BI Overview
Nikkia Carter
 
Presentation WOW - PASS Summit 2012 Lightning Talk
Edwin M Sarmiento
 
SharePoint Overview
Amy Phillips
 
Document Management in SharePoint without folders - Introduction to Metadata
Gregory Zelfond
 
Microsoft Power BI Overview
Netwoven Inc.
 

Similar to Database Configuration for Maximum SharePoint 2010 Performance (20)

PPTX
Database Maintenance Optimization Brad Mc Gehee
Pratik joshi
 
PPSX
database_maintenance sequential plot.ppsx
gauravsaxena850349
 
PDF
Dba tuning
Maximiliano Accotto
 
PPT
Performance Tuning And Optimization Microsoft SQL Database
Tung Nguyen Thanh
 
PPTX
Tech days 2011 - database design patterns for keeping your database applicati...
Charley Hanania
 
PDF
Configuring sql server - SQL Saturday, Athens Oct 2014
Antonios Chatzipavlis
 
PPTX
Pass chapter meeting - november - partitioning for database availability - ch...
Charley Hanania
 
PDF
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
European SharePoint Conference
 
PPT
Managing SQLserver
Concentrated Technology
 
PPTX
Building perfect sql servers, every time -oops
Joseph D'Antoni
 
PPTX
JSSUG: SQL Sever Performance Tuning
Kenichiro Nakamura
 
PDF
SQL Server Best Practices - Install SQL Server like a boss (RELOADED)
Andre Essing
 
PPTX
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
BIWUG
 
PPTX
Real world business workflow with SharePoint designer 2013
Ivan Sanders
 
PPTX
Managing SQLserver for the reluctant DBA
Concentrated Technology
 
PPTX
VLDB Administration Strategies
Murilo Miranda
 
PPTX
What SharePoint Admins need to know about SQL-Cinncinati
J.D. Wade
 
PPTX
SharePoint Intelligence Real World Business Workflow With Share Point Designe...
Ivan Sanders
 
PDF
Microsoft SQL Server - Files and Filegroups
Naji El Kotob
 
PPTX
What SQL DBA's need to know about SharePoint-St. Louis 2013
J.D. Wade
 
Database Maintenance Optimization Brad Mc Gehee
Pratik joshi
 
database_maintenance sequential plot.ppsx
gauravsaxena850349
 
Performance Tuning And Optimization Microsoft SQL Database
Tung Nguyen Thanh
 
Tech days 2011 - database design patterns for keeping your database applicati...
Charley Hanania
 
Configuring sql server - SQL Saturday, Athens Oct 2014
Antonios Chatzipavlis
 
Pass chapter meeting - november - partitioning for database availability - ch...
Charley Hanania
 
SQL Server and SharePoint - Best Practices presented by Steffen Krause, Micro...
European SharePoint Conference
 
Managing SQLserver
Concentrated Technology
 
Building perfect sql servers, every time -oops
Joseph D'Antoni
 
JSSUG: SQL Sever Performance Tuning
Kenichiro Nakamura
 
SQL Server Best Practices - Install SQL Server like a boss (RELOADED)
Andre Essing
 
1. SQL Server forSharePoint geeksA gentle introductionThomas Vochten • Septem...
BIWUG
 
Real world business workflow with SharePoint designer 2013
Ivan Sanders
 
Managing SQLserver for the reluctant DBA
Concentrated Technology
 
VLDB Administration Strategies
Murilo Miranda
 
What SharePoint Admins need to know about SQL-Cinncinati
J.D. Wade
 
SharePoint Intelligence Real World Business Workflow With Share Point Designe...
Ivan Sanders
 
Microsoft SQL Server - Files and Filegroups
Naji El Kotob
 
What SQL DBA's need to know about SharePoint-St. Louis 2013
J.D. Wade
 

Recently uploaded (20)

PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 

Database Configuration for Maximum SharePoint 2010 Performance