performance-tuning - Analyze and optimize MySQL performance
Analyze MySQL query performance with EXPLAIN and metrics, then tune indexes, buffer pool settings, and related database performance issues.
Tags
Updated: 2026-11-28Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze query execution plans
- Run EXPLAIN statements
- Interpret performance metrics
- Review existing indexes
- Tune composite indexes
- Design covering indexes
- Assess buffer pool sizing
- Compare optimization results
Inputs
- MySQL queries
- EXPLAIN output
- Slow query logs
- Performance Schema data
- Index definitions
- InnoDB status
- Server configuration
- Representative workloads
Outputs
- Performance analysis
- Execution plan findings
- Index recommendations
- Configuration recommendations
- Query optimization recommendations
- Before-and-after comparisons
Requirements
- MySQL environment
- Permission to inspect query and server metrics
- MySQL 8.0.18+ for EXPLAIN ANALYZE
