SlideShare a Scribd company logo
1 of 36
Database Performance Analyzer: What Are You
Waiting For?
Thomas LaRock
Technical Evangelist
SolarWinds®
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Who Am I?
@SQLRockstar
http://thomaslarock.com
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
2
I was once just like you…
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
3
I was once just like you…
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
4
Typical Day For Your DBA
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
5
What Are You Most Measured By?
6
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What Are You Most Measured By?
7
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
You…Must…Focus…
8
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Performance Tuning Is HARD!
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
9
Performance Tuning Is HARD!
QUERY
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
10
Performance Tuning Is HARD!
QUERY DATA
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
11
What’s Inside The Box?
12
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
13© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What’s Inside The Box?
14
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Perfmon?
What Metrics Do You Have Currently?
15
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Perfmon?
» SQL Trace?
What Metrics Do You Have Currently?
16
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Perfmon?
» SQL Trace?
» xEvents?
What Metrics Do You Have Currently?
17
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Perfmon?
» SQL Trace?
» xEvents?
» OEM?
What Metrics Do You Have Currently?
18
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Perfmon?
» SQL Trace?
» xEvents?
» OEM?
Tracing versus Polling: Which is better?
What Metrics Do You Have Currently?
19
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Tracing: Great for when you know what to look for in advance
» Polling: Great for when you don’t know what to look for in advance
Tracing v Polling
20
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Blamestorming
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
21
 SQL processing includes hundreds of steps
 Identify Wait Time at every step
 Rank bottlenecks by impact on end user
Focus on End User Response Time
End User Response Time
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
22
» Using Response Time Ensures you Work on the Correct Problem
Why Response Time Rocks
23
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Using Response Time Ensures you Work on the Correct Problem
» Shows Exactly Why Performance is Suffering
Why Response Time Rocks
24
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Using Response Time Ensures you Work on the Correct Problem
» Shows Exactly Why Performance is Suffering
» Helps Prioritize Problems
Why Response Time Rocks
25
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Using Response Time Ensures you Work on the Correct Problem
» Shows Exactly Why Performance is Suffering
» Helps Prioritize Problems
» Do Not Rely Exclusively on Health Stats (CPU Utilization, Disk IO, Cache Hit Ratio)
Why Response Time Rocks
26
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» WRITELOG
 Waiting for a log flush to complete
» LCK_M_S, LCK_M_U, LCK_M_X…
 Waiting to acquire locks
» NETWORKIO, ASYNC_NETWORK_IO
 Waiting on the network
» PAGEIOLATCH_SH, PAGEIOLATCH_EX…
 Physical disk reads
Sample Wait Types
27
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Inefficient Queries
 Poor Indexing or Lack Thereof *
 Poor Database Design *
 Inaccurate Optimizer Statistics *
» Blocking / Locking *
» Excessive Fragmentation *
» Execution Plans (nonreusable, compilations)
» Improper Log Configuration *
» Connection Pooling Problems
* - directly solvable using response time methods
Performance Issues and Causes
28
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
1. SQL View: All statistics and information at SQL statement
level
Key Principles of DPA
29
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
1. SQL View: All statistics and information at SQL statement
level
2. Time View: Measure Time, not number of times something
occurred
Key Principles of DPA
30
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
1. SQL View: All statistics and information at SQL statement
level
2. Time View: Measure Time, not number of times something
occurred
3. Wait State View: Measure every wait individually to isolate
source of problems
Key Principles of DPA
31
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
1. SQL View: All statistics and information at SQL statement
level
2. Time View: Measure Time, not number of times something
occurred
3. Wait State View: Measure every wait individually to isolate
source of problems
4. Historical View: Store data long term to spot trends,
anomalies, relationships and provide easier analytics
Key Principles of DPA
32
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Use Case
33
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
DOWNLOAD A FREE TRIAL AT:
http://www.confio.com/freetrial
Free Trial
34
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Stay Connected & Learn More
» Stay Connected:
 Join the Federal and Government Group on thwack®
 Twitter®: @SolarWinds_Gov
 Call: 877-946-3751
 Email: federalsales@solarwinds.com
 Email our Government Reseller DLT®: solarwinds@dlt.com
» Learn More:
 Visit our Federal website: http://www.solarwinds.com/federal
 Watch a short demo video: http://www.solarwinds.com/sedemo
 Download a free trial: http://www.solarwinds.com/downloads/
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Thank You!
The SOLARWINDS and SOLARWINDS & Design marks are the exclusive property of SolarWinds
Worldwide, LLC, are registered with the U.S. Patent and Trademark Office, and may be registered or
pending registration in other countries. All other SolarWinds trademarks, service marks, and logos
may be common law marks, registered or pending registration in the United States or in other
countries. All other trademarks mentioned herein are used for identification purposes only and
may be or are trademarks or registered trademarks of their respective companies.

More Related Content

More from SolarWinds

Becoming Secure By Design: Questions You Should Ask Your Software Vendors
Becoming Secure By Design: Questions You Should Ask Your Software VendorsBecoming Secure By Design: Questions You Should Ask Your Software Vendors
Becoming Secure By Design: Questions You Should Ask Your Software VendorsSolarWinds
 
Government and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
Government and Education Webinar: Real-Time Mission, CIO, and Command DashboardsGovernment and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
Government and Education Webinar: Real-Time Mission, CIO, and Command DashboardsSolarWinds
 
Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...SolarWinds
 
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...SolarWinds
 
Government and Education Webinar: Leverage Automation to Improve IT Operations
Government and Education Webinar: Leverage Automation to Improve IT OperationsGovernment and Education Webinar: Leverage Automation to Improve IT Operations
Government and Education Webinar: Leverage Automation to Improve IT OperationsSolarWinds
 
Government and Education Webinar: Improving Application Performance
Government and Education Webinar: Improving Application PerformanceGovernment and Education Webinar: Improving Application Performance
Government and Education Webinar: Improving Application PerformanceSolarWinds
 
Government and Education: IT Tools to Support Your Hybrid Workforce
Government and Education: IT Tools to Support Your Hybrid WorkforceGovernment and Education: IT Tools to Support Your Hybrid Workforce
Government and Education: IT Tools to Support Your Hybrid WorkforceSolarWinds
 
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...SolarWinds
 
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...SolarWinds
 
Government and Education Webinar: Zero-Trust Panel Discussion
Government and Education Webinar: Zero-Trust Panel Discussion Government and Education Webinar: Zero-Trust Panel Discussion
Government and Education Webinar: Zero-Trust Panel Discussion SolarWinds
 
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...SolarWinds
 
Government and Education Webinar: SQL Server—Advanced Performance Tuning
Government and Education Webinar: SQL Server—Advanced Performance Tuning Government and Education Webinar: SQL Server—Advanced Performance Tuning
Government and Education Webinar: SQL Server—Advanced Performance Tuning SolarWinds
 
Government and Education Webinar: Recovering IP Addresses on Your Network
Government and Education Webinar: Recovering IP Addresses on Your NetworkGovernment and Education Webinar: Recovering IP Addresses on Your Network
Government and Education Webinar: Recovering IP Addresses on Your NetworkSolarWinds
 
Government and Education Webinar: Optimize Performance With Advanced Host Mon...
Government and Education Webinar: Optimize Performance With Advanced Host Mon...Government and Education Webinar: Optimize Performance With Advanced Host Mon...
Government and Education Webinar: Optimize Performance With Advanced Host Mon...SolarWinds
 
Government and Education Webinar: Conquering Remote Work IT Challenges
Government and Education Webinar: Conquering Remote Work IT Challenges Government and Education Webinar: Conquering Remote Work IT Challenges
Government and Education Webinar: Conquering Remote Work IT Challenges SolarWinds
 
Government and Education Webinar: SQL Server—Indexing for Performance
Government and Education Webinar: SQL Server—Indexing for PerformanceGovernment and Education Webinar: SQL Server—Indexing for Performance
Government and Education Webinar: SQL Server—Indexing for PerformanceSolarWinds
 
Government Webinar: Monitoring Azure and Deploying SolarWinds on Azure Govern...
Government Webinar: Monitoring Azure and Deploying SolarWinds on Azure Govern...Government Webinar: Monitoring Azure and Deploying SolarWinds on Azure Govern...
Government Webinar: Monitoring Azure and Deploying SolarWinds on Azure Govern...SolarWinds
 
Government Webinar: RMF, DISA STIG, and NIST FISMA Compliance Using SolarWinds
Government Webinar: RMF, DISA STIG, and NIST FISMA Compliance Using SolarWindsGovernment Webinar: RMF, DISA STIG, and NIST FISMA Compliance Using SolarWinds
Government Webinar: RMF, DISA STIG, and NIST FISMA Compliance Using SolarWindsSolarWinds
 
Government Webinar: Preparing for CMMC Compliance Roundtable
Government Webinar: Preparing for CMMC Compliance Roundtable Government Webinar: Preparing for CMMC Compliance Roundtable
Government Webinar: Preparing for CMMC Compliance Roundtable SolarWinds
 
Government and Education Webinar: Cyber Technology to Enable Operator Effecti...
Government and Education Webinar: Cyber Technology to Enable Operator Effecti...Government and Education Webinar: Cyber Technology to Enable Operator Effecti...
Government and Education Webinar: Cyber Technology to Enable Operator Effecti...SolarWinds
 

More from SolarWinds (20)

Becoming Secure By Design: Questions You Should Ask Your Software Vendors
Becoming Secure By Design: Questions You Should Ask Your Software VendorsBecoming Secure By Design: Questions You Should Ask Your Software Vendors
Becoming Secure By Design: Questions You Should Ask Your Software Vendors
 
Government and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
Government and Education Webinar: Real-Time Mission, CIO, and Command DashboardsGovernment and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
Government and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
 
Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...
 
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
 
Government and Education Webinar: Leverage Automation to Improve IT Operations
Government and Education Webinar: Leverage Automation to Improve IT OperationsGovernment and Education Webinar: Leverage Automation to Improve IT Operations
Government and Education Webinar: Leverage Automation to Improve IT Operations
 
Government and Education Webinar: Improving Application Performance
Government and Education Webinar: Improving Application PerformanceGovernment and Education Webinar: Improving Application Performance
Government and Education Webinar: Improving Application Performance
 
Government and Education: IT Tools to Support Your Hybrid Workforce
Government and Education: IT Tools to Support Your Hybrid WorkforceGovernment and Education: IT Tools to Support Your Hybrid Workforce
Government and Education: IT Tools to Support Your Hybrid Workforce
 
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
 
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
 
Government and Education Webinar: Zero-Trust Panel Discussion
Government and Education Webinar: Zero-Trust Panel Discussion Government and Education Webinar: Zero-Trust Panel Discussion
Government and Education Webinar: Zero-Trust Panel Discussion
 
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
 
Government and Education Webinar: SQL Server—Advanced Performance Tuning
Government and Education Webinar: SQL Server—Advanced Performance Tuning Government and Education Webinar: SQL Server—Advanced Performance Tuning
Government and Education Webinar: SQL Server—Advanced Performance Tuning
 
Government and Education Webinar: Recovering IP Addresses on Your Network
Government and Education Webinar: Recovering IP Addresses on Your NetworkGovernment and Education Webinar: Recovering IP Addresses on Your Network
Government and Education Webinar: Recovering IP Addresses on Your Network
 
Government and Education Webinar: Optimize Performance With Advanced Host Mon...
Government and Education Webinar: Optimize Performance With Advanced Host Mon...Government and Education Webinar: Optimize Performance With Advanced Host Mon...
Government and Education Webinar: Optimize Performance With Advanced Host Mon...
 
Government and Education Webinar: Conquering Remote Work IT Challenges
Government and Education Webinar: Conquering Remote Work IT Challenges Government and Education Webinar: Conquering Remote Work IT Challenges
Government and Education Webinar: Conquering Remote Work IT Challenges
 
Government and Education Webinar: SQL Server—Indexing for Performance
Government and Education Webinar: SQL Server—Indexing for PerformanceGovernment and Education Webinar: SQL Server—Indexing for Performance
Government and Education Webinar: SQL Server—Indexing for Performance
 
Government Webinar: Monitoring Azure and Deploying SolarWinds on Azure Govern...
Government Webinar: Monitoring Azure and Deploying SolarWinds on Azure Govern...Government Webinar: Monitoring Azure and Deploying SolarWinds on Azure Govern...
Government Webinar: Monitoring Azure and Deploying SolarWinds on Azure Govern...
 
Government Webinar: RMF, DISA STIG, and NIST FISMA Compliance Using SolarWinds
Government Webinar: RMF, DISA STIG, and NIST FISMA Compliance Using SolarWindsGovernment Webinar: RMF, DISA STIG, and NIST FISMA Compliance Using SolarWinds
Government Webinar: RMF, DISA STIG, and NIST FISMA Compliance Using SolarWinds
 
Government Webinar: Preparing for CMMC Compliance Roundtable
Government Webinar: Preparing for CMMC Compliance Roundtable Government Webinar: Preparing for CMMC Compliance Roundtable
Government Webinar: Preparing for CMMC Compliance Roundtable
 
Government and Education Webinar: Cyber Technology to Enable Operator Effecti...
Government and Education Webinar: Cyber Technology to Enable Operator Effecti...Government and Education Webinar: Cyber Technology to Enable Operator Effecti...
Government and Education Webinar: Cyber Technology to Enable Operator Effecti...
 

Recently uploaded

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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
 

Recently uploaded (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 

Database Performance Analyzer: What Are You Waiting For?

  • 1. Database Performance Analyzer: What Are You Waiting For? Thomas LaRock Technical Evangelist SolarWinds® © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 2. Who Am I? @SQLRockstar http://thomaslarock.com © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 2
  • 3. I was once just like you… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 3
  • 4. I was once just like you… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 4
  • 5. Typical Day For Your DBA © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 5
  • 6. What Are You Most Measured By? 6 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 7. What Are You Most Measured By? 7 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 8. You…Must…Focus… 8 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 9. Performance Tuning Is HARD! © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 9
  • 10. Performance Tuning Is HARD! QUERY © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 10
  • 11. Performance Tuning Is HARD! QUERY DATA © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 11
  • 12. What’s Inside The Box? 12 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 13. 13© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 14. What’s Inside The Box? 14 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 15. » Perfmon? What Metrics Do You Have Currently? 15 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 16. » Perfmon? » SQL Trace? What Metrics Do You Have Currently? 16 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 17. » Perfmon? » SQL Trace? » xEvents? What Metrics Do You Have Currently? 17 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 18. » Perfmon? » SQL Trace? » xEvents? » OEM? What Metrics Do You Have Currently? 18 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 19. » Perfmon? » SQL Trace? » xEvents? » OEM? Tracing versus Polling: Which is better? What Metrics Do You Have Currently? 19 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 20. » Tracing: Great for when you know what to look for in advance » Polling: Great for when you don’t know what to look for in advance Tracing v Polling 20 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 21. Blamestorming © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 21
  • 22.  SQL processing includes hundreds of steps  Identify Wait Time at every step  Rank bottlenecks by impact on end user Focus on End User Response Time End User Response Time © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 22
  • 23. » Using Response Time Ensures you Work on the Correct Problem Why Response Time Rocks 23 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 24. » Using Response Time Ensures you Work on the Correct Problem » Shows Exactly Why Performance is Suffering Why Response Time Rocks 24 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 25. » Using Response Time Ensures you Work on the Correct Problem » Shows Exactly Why Performance is Suffering » Helps Prioritize Problems Why Response Time Rocks 25 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 26. » Using Response Time Ensures you Work on the Correct Problem » Shows Exactly Why Performance is Suffering » Helps Prioritize Problems » Do Not Rely Exclusively on Health Stats (CPU Utilization, Disk IO, Cache Hit Ratio) Why Response Time Rocks 26 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 27. » WRITELOG  Waiting for a log flush to complete » LCK_M_S, LCK_M_U, LCK_M_X…  Waiting to acquire locks » NETWORKIO, ASYNC_NETWORK_IO  Waiting on the network » PAGEIOLATCH_SH, PAGEIOLATCH_EX…  Physical disk reads Sample Wait Types 27 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 28. » Inefficient Queries  Poor Indexing or Lack Thereof *  Poor Database Design *  Inaccurate Optimizer Statistics * » Blocking / Locking * » Excessive Fragmentation * » Execution Plans (nonreusable, compilations) » Improper Log Configuration * » Connection Pooling Problems * - directly solvable using response time methods Performance Issues and Causes 28 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 29. 1. SQL View: All statistics and information at SQL statement level Key Principles of DPA 29 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 30. 1. SQL View: All statistics and information at SQL statement level 2. Time View: Measure Time, not number of times something occurred Key Principles of DPA 30 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 31. 1. SQL View: All statistics and information at SQL statement level 2. Time View: Measure Time, not number of times something occurred 3. Wait State View: Measure every wait individually to isolate source of problems Key Principles of DPA 31 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 32. 1. SQL View: All statistics and information at SQL statement level 2. Time View: Measure Time, not number of times something occurred 3. Wait State View: Measure every wait individually to isolate source of problems 4. Historical View: Store data long term to spot trends, anomalies, relationships and provide easier analytics Key Principles of DPA 32 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 33. Use Case 33 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 34. DOWNLOAD A FREE TRIAL AT: http://www.confio.com/freetrial Free Trial 34 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 35. © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Stay Connected & Learn More » Stay Connected:  Join the Federal and Government Group on thwack®  Twitter®: @SolarWinds_Gov  Call: 877-946-3751  Email: federalsales@solarwinds.com  Email our Government Reseller DLT®: solarwinds@dlt.com » Learn More:  Visit our Federal website: http://www.solarwinds.com/federal  Watch a short demo video: http://www.solarwinds.com/sedemo  Download a free trial: http://www.solarwinds.com/downloads/
  • 36. © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Thank You! The SOLARWINDS and SOLARWINDS & Design marks are the exclusive property of SolarWinds Worldwide, LLC, are registered with the U.S. Patent and Trademark Office, and may be registered or pending registration in other countries. All other SolarWinds trademarks, service marks, and logos may be common law marks, registered or pending registration in the United States or in other countries. All other trademarks mentioned herein are used for identification purposes only and may be or are trademarks or registered trademarks of their respective companies.

Editor's Notes

  1. About me…
  2. Was once like you…except maybe a bit taller…
  3. Was once like you…except maybe a bit taller…
  4. Had to answer questions; overwhelmed with everything
  5. We get judged by how long something will take, effort doesn’t matter.
  6. We get judged by how long something will take, effort doesn’t matter.
  7. At some point you need to take a step back and gain focus on the things that matter most. You can’t be everything to everyone all the time, so start building up your shop in a way that ensures the business needs are truly met.
  8. This is how most people interact with SQL Server. It is a black box, a virtual unknown. And most people that interact with SQL Server treat it about as well as (need a good analogy here). For most folks the idea of creating an email, or a word document, or a data warehouse is all the same: it’s just magic.
  9. This is how most people interact with SQL Server. It is a black box, a virtual unknown. And most people that interact with SQL Server treat it about as well as (need a good analogy here). For most folks the idea of creating an email, or a word document, or a data warehouse is all the same: it’s just magic.
  10. This is how most people interact with SQL Server. It is a black box, a virtual unknown. And most people that interact with SQL Server treat it about as well as (need a good analogy here). For most folks the idea of creating an email, or a word document, or a data warehouse is all the same: it’s just magic.
  11. We might as well be looking at the matrix. Look, I see a deadlock monitor, the query optimizer, the buffer pool, a blonde, a redhead, and the scheduler.
  12. Often what gets lost during those blamestorming performance tuning sessions is the fact that there are many layers involved when a system or application communicates with a database and then reports back information to the end user. This is where the idea of response time analysis comes into play. If you want to be an effective performance tuning expert then you should focus on analyzing the associated wait events at every step.