Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Database Performance Analyzer: What Are You
Waiting For?
Thomas LaRock
Technical Evangelist
SolarWinds®
© 2014 SOLARWINDS ...
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 RES...
» Perfmon?
» SQL Trace?
» xEvents?
» OEM?
What Metrics Do You Have Currently?
18
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIG...
» Perfmon?
» SQL Trace?
» xEvents?
» OEM?
Tracing versus Polling: Which is better?
What Metrics Do You Have Currently?
19
...
» Tracing: Great for when you know what to look for in advance
» Polling: Great for when you don’t know what to look for i...
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
Fo...
» Using Response Time Ensures you Work on the Correct Problem
Why Response Time Rocks
23
© 2014 SOLARWINDS WORLDWIDE, LLC....
» Using Response Time Ensures you Work on the Correct Problem
» Shows Exactly Why Performance is Suffering
Why Response Ti...
» Using Response Time Ensures you Work on the Correct Problem
» Shows Exactly Why Performance is Suffering
» Helps Priorit...
» Using Response Time Ensures you Work on the Correct Problem
» Shows Exactly Why Performance is Suffering
» Helps Priorit...
» WRITELOG
 Waiting for a log flush to complete
» LCK_M_S, LCK_M_U, LCK_M_X…
 Waiting to acquire locks
» NETWORKIO, ASYN...
» Inefficient Queries
 Poor Indexing or Lack Thereof *
 Poor Database Design *
 Inaccurate Optimizer Statistics *
» Blo...
1. SQL View: All statistics and information at SQL statement
level
Key Principles of DPA
29
© 2014 SOLARWINDS WORLDWIDE, L...
1. SQL View: All statistics and information at SQL statement
level
2. Time View: Measure Time, not number of times somethi...
1. SQL View: All statistics and information at SQL statement
level
2. Time View: Measure Time, not number of times somethi...
1. SQL View: All statistics and information at SQL statement
level
2. Time View: Measure Time, not number of times somethi...
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 RESER...
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Stay Connected & Learn More
» Stay Connected:
 Join the Federal an...
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Thank You!
The SOLARWINDS and SOLARWINDS & Design marks are the exc...
Upcoming SlideShare
Loading in …5
×

Database Performance Analyzer: What Are You Waiting For?

1,030 views

Published on

For most folks a database server is little more than a black box: queries go in, data comes out. But when the data comes out too slowly it falls upon you to take the lid off and make sense of what you find inside. In this presentation Thomas LaRock from SolarWinds will show you how the new SolarWinds Database Performance Analyzer (formerly Confio Ignite) uses response time analysis in the overall performance tuning process to help you understand what happens inside that black box.

Learn More and Connect with SolarWinds Federal:

Federal website: http://www.solarwinds.com/federal

thwack Federal and Government group: http://thwack.solarwinds.com/groups/federal-and-government

Twitter: http://twitter.com/SolarWinds_Gov

Published in: Technology
  • Be the first to comment

Database Performance Analyzer: What Are You Waiting For?

  1. 1. Database Performance Analyzer: What Are You Waiting For? Thomas LaRock Technical Evangelist SolarWinds® © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  2. 2. Who Am I? @SQLRockstar http://thomaslarock.com © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 2
  3. 3. I was once just like you… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 3
  4. 4. I was once just like you… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 4
  5. 5. Typical Day For Your DBA © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 5
  6. 6. What Are You Most Measured By? 6 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  7. 7. What Are You Most Measured By? 7 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  8. 8. You…Must…Focus… 8 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  9. 9. Performance Tuning Is HARD! © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 9
  10. 10. Performance Tuning Is HARD! QUERY © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 10
  11. 11. Performance Tuning Is HARD! QUERY DATA © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 11
  12. 12. What’s Inside The Box? 12 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  13. 13. 13© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  14. 14. What’s Inside The Box? 14 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  15. 15. » Perfmon? What Metrics Do You Have Currently? 15 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  16. 16. » Perfmon? » SQL Trace? What Metrics Do You Have Currently? 16 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  17. 17. » Perfmon? » SQL Trace? » xEvents? What Metrics Do You Have Currently? 17 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  18. 18. » Perfmon? » SQL Trace? » xEvents? » OEM? What Metrics Do You Have Currently? 18 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  19. 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. 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. 21. Blamestorming © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 21
  22. 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. 23. » Using Response Time Ensures you Work on the Correct Problem Why Response Time Rocks 23 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  24. 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. 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. 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. 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. 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. 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. 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. 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. 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. 33. Use Case 33 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  34. 34. DOWNLOAD A FREE TRIAL AT: http://www.confio.com/freetrial Free Trial 34 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  35. 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. 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.

×