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.

Geek Sync | MySQL Performance Tuning via Query Tuning

153 views

Published on

You can watch the replay for this Geek Sync webcast, MySQL Performance Tuning via Query Tuning, in the IDERA Resource Center, http://ow.ly/q0u550A4qqQ.

No one wants the slow performance of their application. In this session, we will learn about three performance tuning tricks that DBAs must know to improve their MySQL performance. We will understand what those tricks are and how efficiently we can use them in just 60 minutes. We will explore various settings as well as SQL code that will kill MySQL performance. At the end of this session, every attendee will receive SQL scripts that will help them improve their server’s performance. The presentation is carefully crafted from the real-world experience for DBAs so they can learn tricks that can help them to improve their server’s performance.

Speaker: Pinal Dave is a Developer Evangelist and performance tuning expert. He has authored 11 SQL Server database books, 14 Pluralsight courses and over 2900 articles on the database technology on his blog at http://blog.sqlauthority.com. Along with 10+ years of hands-on experience, he holds a Masters of Science degree and a number of certifications, including MCTS, MCDBA and MCAD (.NET).

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Geek Sync | MySQL Performance Tuning via Query Tuning

  1. 1. Topics  Click to edit Master text styles • Second level • Third level − Fourth level • Fifth level MySQL Performance Tuning via Query Tuning Pinal Dave https://blog.sqlauthority.com
  2. 2. Topics  Click to edit Master text styles • Second level • Third level − Fourth level • Fifth level 2 Agenda  Basics of Optimizer  Indexing  Query Re-writing  Best Practices  Summary
  3. 3. Topics  Click to edit Master text styles • Second level • Third level − Fourth level • Fifth level 3 Query Optimizer  Cost based optimizer  Converts sub-optimal join types to efficient logic  Reorder join tables  Reducing constant expressions  Optimizing algebraic rules  Logic short circuit  Optimal index usage
  4. 4. Topics  Click to edit Master text styles • Second level • Third level − Fourth level • Fifth level 4 Understanding EXPLAIN Command EXPLAIN SELECT Query
  5. 5. Topics  Click to edit Master text styles • Second level • Third level − Fourth level • Fifth level 5 Demo: Practical Performance Tuning  Indexes  Joins  Subqueries  Union
  6. 6. Topics  Click to edit Master text styles • Second level • Third level − Fourth level • Fifth level 6 Best Practices  Use EXPLAIN for execution plan of query  Avoid using <> operator in query  Use UNION ALL in place of UNION (If no duplicate)  Test your query with real data
  7. 7. Topics  Click to edit Master text styles • Second level • Third level − Fourth level • Fifth level 7 Questions?  pinal@sqlauthority.com  Free Scripts: https://go.sqlauthority.com

×