SlideShare a Scribd company logo
1 of 22
SharePoint 2013 Hunting
Performance Issues
Margriet Bruggeman
Nikander Bruggeman
About Nikander…
• Experienced Web Developer
and .NET Architect
• SharePoint Specialist/MVP
• Author SharePoint books
• Author SharePoint articles
• Author MOC courseware
• Speaker TechNet, HeliView
• Manning Technical Reviewer
About Margriet…
• Experienced Web Developer and
.NET Architect
• SharePoint Specialist/MVP
• Author 13 SharePoint books
• Author SharePoint articles
• Author MOC courseware
• Speaker TechNet, SharePoint
Connections, MS Launch Event
• Manning Technical Reviewer
• TechNet Forum Moderator
• TechNet Wiki Community Council
Approach Justification

• http://www.sharepointdragons.com
Agenda
•
•
•
•
•
•
•
•
•
•
•

Anti-Patterns
Optimizing SQL Server for SharePoint
The Mind Reader
SQL DMVs
Analyzing IIS
Performance Counters
Maxer
PressurePoint
What’s in the Performance Toolkit?
The Most Useless Slide of the Deck
Q&A
Anti-Patterns
•
•
•
•

Look for the Magic button
Use SQL Server Profiler
Optimize configuration settings
Collect as much performance data as you can
Optimizing SQL Server for SharePoint
• Dedicated SQL Server Instance
• Content Database size
(http://technet.microsoft.com/en-us/library/cc298801.aspx)
• Shrinking Database
(http://www.sqlskills.com/blogs/paul/why-you-should-not-shrink-yourdata-files/)
• TempDB
• I/O
• Memory
• MAXDOP
(http://technet.microsoft.com/en-us/library/cc298801.aspx)
• Statistics

• http://www.microsoftvirtualacademy.com/training-courses/tuning-sqlserver-2012-for-sharepoint-2013-jump-start#fbid=97fCQYgsi9z
The Mind Reader
• 2013: finish before release
• The magic number 5
• No memory problems for the WFE
SQL DMV Queries
• Queries running in a specified
period of time
• Finding Wait Causes
• Finding Slowest Queries
• Longest Running Queries
• Longest Blocked Queries
• Reads and Writes per
Database
• Queries that use the most I/O
• Queries executed most often
• State of Statistics
• Find Current SQL Statements
• DMV Snapshots

• Effect Queries on Performance
Counters
• Relation between
Performance Counters and
Wait States
• SQL Queries, Performance
Counters, and Wait States
• Queries that use the most CPU
• Finding Missing Indexes
• Queries with missing statistics
• Find databases with most
missing indexes
• Queries running slower than
normal

http://www.manning.com/stirk/
Finding Wait Causes
•
•
•
•
•
•
•
•
•
•
•

ASYNC_IO_COMPLETION
IO_COMPLETION
LATCH_x
PAGEIOLATCH_x
PAGELATCH_x
WRITELOG
CXPACKET
LCK_x
ASYNC_NETWORK_IO
SOS_SCHEDULER_YIELD
SQLTRACE_BUFFER_FLUSH
Relations wait types and performance
counters
Wait Type

Performance Counters

ASYNC_IO_COMPLETION

Physical Disk: Avg. Disk Queue Length
Physical Disk: Current Disk Queue Length
Memory: Available Bytes
Memory: Pages/sec
Physical Disk: Avg. Disk Queue Length
Physical Disk: Current Disk Queue Length
Memory: Available Bytes
Memory: Pages/sec
Memory: Available Bytes
Memory: Pages/sec
Physical Disk: Avg. Disk Queue Length
Physical Disk: Current Disk Queue Length
Physical Disk: Avg. Disk Queue Length
Physical Disk: Current Disk Queue Length
Physical Disk: Avg. Disk Queue Length
Physical Disk: Current Disk Queue Length

IO_COMPLETION

LATCH_x
PAGEIOLATCH_x
PAGELATCH_x
WRITELOG
Query Result
Don’t forget it’s Web Based!
• Analyze IIS Log Files
(http://gallery.technet.microsoft.com/office/Set-IIS-Log-Fields-viaee9c19b3)
• SharePoint Flavored Weblog Reader
(SFWR, http://gallery.technet.microsoft.com/office/The-SharePointFlavored-5b03f323)
• Log Parser
(http://www.microsoft.com/enus/download/details.aspx?id=24659)
• Log Parser Studio
(http://gallery.technet.microsoft.com/office/Log-Parser-Studiocd458765)
• Splitting IIS Log Files via Gsplit
(http://www.gdgsoft.com/gsplit/)
SFWR
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•

The max request time per URI
The min request time per URI
The average request time per InfoPath URI
The max request time per InfoPath URI
The min request time per InfoPath URI
The average request time per Report Server URI
The max request time per Report Server URI
The min request time per Report Server URI
Browser percentage
Dead links
Failed pages
Failed InfoPath pages
Most busy days of the week
Most requested pages
Requested pages per day
Percentage error page requests
Requests per hour per day
Requests per hour
Requests per user

•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•

Requests per user per month
Requests per user per week
Slowest requests
Slowest failed requests
Slowest successful requests
Slowest requests per URI
Top requests per hour
Top visitors
Traffic per day in MB
Traffic per week in MB
Unique visitors
Unique visitors per day
Unique visitors per week
Unique visitors per month
Searches per user
Slowest requests for a specific user
Performance Counters
• http://gallery.technet.microsoft.com/office/Po
werShell-script-for-59cf3f70
• http://sharepointdragons.com/2013/02/27/w
orking-with-blg-files/
Boundaries Thou Shalt Not Cross
• Maxer
• http://gallery.technet.microsoft.com/office/Po
werShell-Maxer-for-cd9e13d6
Performance Testing Tools
• PressurePoint Dragon for SharePoint 2013
• http://gallery.technet.microsoft.com/office/Pr
essurePoint-Dragon-for-87572ee1
What is in your performance kit?
•
•
•
•
•
•
•
•
•
•

SQL DMVs
Fiddler - http://fiddler2.com/
Maxer
PAL - http://sharepointdragons.com/2011/12/30/when-you-haveperformance-troubles-you-need-a-pal/
Performance Counters
PressurePoint
SharePoint Flavored Weblog Reader (SFWR)
SharePoint 2010 Admin Toolkit - http://www.microsoft.com/enus/download/details.aspx?id=20022
SharePoint Log Viewers
Set of test documents
The Most Useless Slide of the Deck
• Radar for SharePoint 2013
Contact info
Margriet Bruggeman
margriet@loisandclark.eu
Nikander Bruggeman
nikander@loisandclark.eu
Lois & Clark IT Services
Web site: http://www.loisandclark.eu
Blog:
http://www.sharepointdragons.com
SPCA2013 - Hunting Performance Issues

More Related Content

More from NCCOMMS

O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...NCCOMMS
 
O365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick BakkerO365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick BakkerNCCOMMS
 
O365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
O365Con19 - Office 365 Groups Surviving the Real World - Jasper OosterveldO365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
O365Con19 - Office 365 Groups Surviving the Real World - Jasper OosterveldNCCOMMS
 
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis JugoO365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis JugoNCCOMMS
 
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis JugoO365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis JugoNCCOMMS
 
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul HuntO365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul HuntNCCOMMS
 
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...NCCOMMS
 
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...NCCOMMS
 
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...NCCOMMS
 
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi RoineO365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi RoineNCCOMMS
 
O365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi RoineO365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi RoineNCCOMMS
 
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna LinsO365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna LinsNCCOMMS
 
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna LinsO365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna LinsNCCOMMS
 
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...NCCOMMS
 
O365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
O365Con19 - Sharing Code Efficiently in your Organisation - Elio StruyfO365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
O365Con19 - Sharing Code Efficiently in your Organisation - Elio StruyfNCCOMMS
 
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...NCCOMMS
 
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de JagerO365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de JagerNCCOMMS
 
O365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
O365Con19 - Kaizala a Dive Into the Unknown - Rick van RousseltO365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
O365Con19 - Kaizala a Dive Into the Unknown - Rick van RousseltNCCOMMS
 
O365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
O365Con19 - How to Inspire Users to Unstick from Email - Luise FreeseO365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
O365Con19 - How to Inspire Users to Unstick from Email - Luise FreeseNCCOMMS
 
O365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
O365Con19 - O365 Identity Management and The Golden Config - Chris GoosenO365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
O365Con19 - O365 Identity Management and The Golden Config - Chris GoosenNCCOMMS
 

More from NCCOMMS (20)

O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
 
O365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick BakkerO365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
 
O365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
O365Con19 - Office 365 Groups Surviving the Real World - Jasper OosterveldO365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
O365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
 
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis JugoO365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
 
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis JugoO365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
 
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul HuntO365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
 
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
 
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
 
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
 
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi RoineO365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
 
O365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi RoineO365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi Roine
 
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna LinsO365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
 
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna LinsO365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
 
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
 
O365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
O365Con19 - Sharing Code Efficiently in your Organisation - Elio StruyfO365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
O365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
 
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
 
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de JagerO365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
 
O365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
O365Con19 - Kaizala a Dive Into the Unknown - Rick van RousseltO365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
O365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
 
O365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
O365Con19 - How to Inspire Users to Unstick from Email - Luise FreeseO365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
O365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
 
O365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
O365Con19 - O365 Identity Management and The Golden Config - Chris GoosenO365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
O365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
 

Recently uploaded

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 

SPCA2013 - Hunting Performance Issues

  • 1.
  • 2. SharePoint 2013 Hunting Performance Issues Margriet Bruggeman Nikander Bruggeman
  • 3. About Nikander… • Experienced Web Developer and .NET Architect • SharePoint Specialist/MVP • Author SharePoint books • Author SharePoint articles • Author MOC courseware • Speaker TechNet, HeliView • Manning Technical Reviewer
  • 4. About Margriet… • Experienced Web Developer and .NET Architect • SharePoint Specialist/MVP • Author 13 SharePoint books • Author SharePoint articles • Author MOC courseware • Speaker TechNet, SharePoint Connections, MS Launch Event • Manning Technical Reviewer • TechNet Forum Moderator • TechNet Wiki Community Council
  • 6. Agenda • • • • • • • • • • • Anti-Patterns Optimizing SQL Server for SharePoint The Mind Reader SQL DMVs Analyzing IIS Performance Counters Maxer PressurePoint What’s in the Performance Toolkit? The Most Useless Slide of the Deck Q&A
  • 7. Anti-Patterns • • • • Look for the Magic button Use SQL Server Profiler Optimize configuration settings Collect as much performance data as you can
  • 8. Optimizing SQL Server for SharePoint • Dedicated SQL Server Instance • Content Database size (http://technet.microsoft.com/en-us/library/cc298801.aspx) • Shrinking Database (http://www.sqlskills.com/blogs/paul/why-you-should-not-shrink-yourdata-files/) • TempDB • I/O • Memory • MAXDOP (http://technet.microsoft.com/en-us/library/cc298801.aspx) • Statistics • http://www.microsoftvirtualacademy.com/training-courses/tuning-sqlserver-2012-for-sharepoint-2013-jump-start#fbid=97fCQYgsi9z
  • 9. The Mind Reader • 2013: finish before release • The magic number 5 • No memory problems for the WFE
  • 10. SQL DMV Queries • Queries running in a specified period of time • Finding Wait Causes • Finding Slowest Queries • Longest Running Queries • Longest Blocked Queries • Reads and Writes per Database • Queries that use the most I/O • Queries executed most often • State of Statistics • Find Current SQL Statements • DMV Snapshots • Effect Queries on Performance Counters • Relation between Performance Counters and Wait States • SQL Queries, Performance Counters, and Wait States • Queries that use the most CPU • Finding Missing Indexes • Queries with missing statistics • Find databases with most missing indexes • Queries running slower than normal http://www.manning.com/stirk/
  • 12. Relations wait types and performance counters Wait Type Performance Counters ASYNC_IO_COMPLETION Physical Disk: Avg. Disk Queue Length Physical Disk: Current Disk Queue Length Memory: Available Bytes Memory: Pages/sec Physical Disk: Avg. Disk Queue Length Physical Disk: Current Disk Queue Length Memory: Available Bytes Memory: Pages/sec Memory: Available Bytes Memory: Pages/sec Physical Disk: Avg. Disk Queue Length Physical Disk: Current Disk Queue Length Physical Disk: Avg. Disk Queue Length Physical Disk: Current Disk Queue Length Physical Disk: Avg. Disk Queue Length Physical Disk: Current Disk Queue Length IO_COMPLETION LATCH_x PAGEIOLATCH_x PAGELATCH_x WRITELOG
  • 14. Don’t forget it’s Web Based! • Analyze IIS Log Files (http://gallery.technet.microsoft.com/office/Set-IIS-Log-Fields-viaee9c19b3) • SharePoint Flavored Weblog Reader (SFWR, http://gallery.technet.microsoft.com/office/The-SharePointFlavored-5b03f323) • Log Parser (http://www.microsoft.com/enus/download/details.aspx?id=24659) • Log Parser Studio (http://gallery.technet.microsoft.com/office/Log-Parser-Studiocd458765) • Splitting IIS Log Files via Gsplit (http://www.gdgsoft.com/gsplit/)
  • 15. SFWR • • • • • • • • • • • • • • • • • • • The max request time per URI The min request time per URI The average request time per InfoPath URI The max request time per InfoPath URI The min request time per InfoPath URI The average request time per Report Server URI The max request time per Report Server URI The min request time per Report Server URI Browser percentage Dead links Failed pages Failed InfoPath pages Most busy days of the week Most requested pages Requested pages per day Percentage error page requests Requests per hour per day Requests per hour Requests per user • • • • • • • • • • • • • • • • Requests per user per month Requests per user per week Slowest requests Slowest failed requests Slowest successful requests Slowest requests per URI Top requests per hour Top visitors Traffic per day in MB Traffic per week in MB Unique visitors Unique visitors per day Unique visitors per week Unique visitors per month Searches per user Slowest requests for a specific user
  • 17. Boundaries Thou Shalt Not Cross • Maxer • http://gallery.technet.microsoft.com/office/Po werShell-Maxer-for-cd9e13d6
  • 18. Performance Testing Tools • PressurePoint Dragon for SharePoint 2013 • http://gallery.technet.microsoft.com/office/Pr essurePoint-Dragon-for-87572ee1
  • 19. What is in your performance kit? • • • • • • • • • • SQL DMVs Fiddler - http://fiddler2.com/ Maxer PAL - http://sharepointdragons.com/2011/12/30/when-you-haveperformance-troubles-you-need-a-pal/ Performance Counters PressurePoint SharePoint Flavored Weblog Reader (SFWR) SharePoint 2010 Admin Toolkit - http://www.microsoft.com/enus/download/details.aspx?id=20022 SharePoint Log Viewers Set of test documents
  • 20. The Most Useless Slide of the Deck • Radar for SharePoint 2013
  • 21. Contact info Margriet Bruggeman margriet@loisandclark.eu Nikander Bruggeman nikander@loisandclark.eu Lois & Clark IT Services Web site: http://www.loisandclark.eu Blog: http://www.sharepointdragons.com

Editor's Notes

  1. http://www.microsoft.com/en-us/download/details.aspx?id=24659Log Parser 2.2 Log parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files and CSV files, as well as key data sources on the Windows® operating system such as the Event Log, the Registry, the file system, and Active Directory®. LogParser Studio athttp://gallery.technet.microsoft.com/office/Log-Parser-Studio-cd458765
  2. Performance Analysis of Logs (PAL) Tool