Using EXPLAIN to analyze queries
EXPLAIN
General table optimizations
Monitoring status varaibles that affect performance
Setting and interpreting MySQL server variables
Overview of PERFORMANCE_SCHEMA
PERFORMANCE_SCHEMA