Uploaded by tcation on Apr 20, 2010
Sheeri K. Cabral (Pythian) presents at the 2010 O'Reilly MySQL Conference & Expo.
Slides: http://bit.ly/my10qreview
From the official conference description at http://en.oreilly.com/mysql2010/public/schedule/detail/13267
Wikipedia defines a code review as a systematic examination (often as peer review) of computer source code intended to find and fix mistakes overlooked in the initial development phase, improving both the overall quality of software and the developers skills.
Wouldnt it be great to do the same thing, but for the queries run against your databases? This presentation shows you how to do exactly that!
mk-query-digest is a Maatkit tool that can digest queries (similar to the output of mysqldumpslow) in a report. This can be a one-off report, or it can be stored in MySQL for a meta-database of queries. You can use this process to systematically go through every type of query that is sent by the code and set about approving or annotating each query type. For example, I have used this system to EXPLAIN each type of query, so that queries can be optimized before they show up in the slow query log.
This presentation will show how to review the queries in your system on a one-time or ongoing basis. Being able to review new queries before code is released allows you to catch problematic queries before it goes to production. By saving the results in MySQL, you can take the large project of make sure every query is optimized and break it into manageable chunks.
Category:
Tags:
- mk-query-digest
- maatkit
- mysql
- mysqlconf
- sheeri
- sheeri cabral
- pythian
- query
- optimization
- performance
- query review
License:
Standard YouTube License
-
1 likes, 0 dislikes
21 videos

2010 MySQL User Conference & Expo Sessions
56:47
mk-query-digestby tcation1,377 views
45:54
Time Zones and MySQLby tcation288 views
45:47
Continual Replication Syncby tcation350 views
1:35:47
MySQL Configuration Options and Files: Basic MySQL Variables (Part 1) (after break)by tcation1,065 views
3:26
Emulate A More Granular MySQL Slow Query Log With Maatkitby PerconaPerformance1,242 views
1:18
MySQL Performance with Jet Profilerby mysqlperformance1,292 views
1:15
Optimize MySQL Tables and Improve Performanceby robbychen2008738 views
9:10
Rewriting SQL queries for Performance in 9 minutesby roughsealtd17,495 views
56:55
Lecture -15 Query Processing and Optimization IIby nptelhrd18,491 views
30:50
MySQL Optimizationby cpaneltv785 views
57:19
Lecture - 16 Query Processing and Optimization - IIIby nptelhrd24,602 views
3:10
GRAPHITE: A Visual Query System for Large Graphsby polochaucmu2,644 views
9:16
SQL: Understanding the JOIN clause in the SELECT statementby michaelfudge5,909 views
4:17
LaGasse - Arroz con Gandules - Puerto Rican Recipe - Rice with Pigeon Peasby LaGasseFlavors133,588 views
40:49
Introduction to InnoDB Monitoring System and Resource & Performance Tuningby tcation804 views
4:11
MySQL Tutorial - MySQL Queriesby BensBoxTut1,850 views
2:42
How to Run The Search Query Performance Reportby TheICAcademy552 views
57:32
High-throughput MySQLby tcation1,135 views
4:07
Simplify Windows Command Prompt for PHP, MySQL & Akelosby AkelosPHPFramework11,666 views
47:30
MySQL Cluster: An Introductionby tcation4,199 views
- Loading more suggestions...
Link to this comment:
All Comments (0)