MySQL Database Expert

•
545
•

Architects, optimizes, and troubleshoots MySQL and InnoDB databases through performance-driven schema design and query tuning.

This skill empowers Claude to act as a senior Database Administrator for MySQL environments, specifically optimized for InnoDB. It provides rigorous guidance on creating scalable schemas using monotonic primary keys, implementing high-performance composite indexing, and conducting deep-dive query analysis via EXPLAIN and EXPLAIN ANALYZE. Designed to bridge the gap between application code and database performance, it includes built-in workflows for safe production migrations, deadlock prevention, and connection management, with a preference for PlanetScale-optimized architectures while supporting self-hosted instances.

主要功能

01Safe production operations with online DDL and rollback planning
02Strategic indexing including composite, covering, and prefix indexes
03545 GitHub stars
04Performance-driven schema design and 3NF normalization guidance
05Troubleshooting for deadlocks, replication lag, and locking issues
06Advanced query tuning using EXPLAIN and EXPLAIN ANALYZE

使用场景

01Diagnosing and fixing slow-running queries in high-traffic production applications
02Refactoring legacy table structures to improve write throughput and reduce storage
03Planning and executing zero-downtime database migrations and schema changes