MySQL Query Patterns, Optimized

Developing Applications
3 April 11:10AM - 12:00PM @ Ballroom E

Experience level: 
Advanced
Duration: 
50 minutes conference
This is a step by step demonstration of methods of complex query development and optimization in MySQL 5.6. When presented with a complex problem, developers struggle to solve it in SQL. Let's face it, a declarative language is powerful, but it can be difficult to visualize the best solutions. Let's get into several common types of queries that developers struggle with, showing alternative SQL solutions, and then use MySQL tools and features to compare them for efficiency. Bill will cover some worthy queries: Exclusion Join, Random Selection, Greatest-Per-Group, Dynamic Pivot, and Relational Division. He'll analyze them with new features in MySQL 5.6 such as extended EXPLAIN output, and performance schema instrumentation.


Speakers

Senior Knowledge Manager, Percona
Biography: 
Throughout his career, Bill has shared his knowledge to help other programmers achieve success and productivity. Bill has answered thousands of questions, giving him a unique perspective on SQL mistakes that most commonly cause problems.

Slides