MySQL EXPLAIN query analyzer: supports EXPLAIN, EXPLAIN ANALYZE, EXPLAIN FORMAT. Shows query execution plan, index usage, and estimated costs.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add fisker086/AIOps --skill mysql_explain --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Mysql Explain?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/fisker086-mysql-explain)More formats (shields.io, HTML) on the badges page.
---
name: mysql-explain
description: MySQL EXPLAIN query analyzer: supports EXPLAIN, EXPLAIN ANALYZE, EXPLAIN FORMAT. Shows query execution plan, index usage, and estimated costs.
activation_keywords: [mysql, explain, analyze, query, sql, plan, index, explain format]
execution_mode: server
---
# MySQL Explain Skill
Provides MySQL query execution plan analysis:
- **EXPLAIN**: Show query execution plan
- **EXPLAIN ANALYZE**: Show actual execution time and costs (MySQL 8.0+)
- **EXPLAIN FORMAT**: Output in JSON, TREE, or traditional format
- **EXPLAIN PARTITIONS**: Show partition information
Shows:
- Access type (ALL, index, range, ref, eq_ref, const, etc.)
- Key used and possible keys
- Rows examined
- Extra info (using filesort, using index, etc.)
Use `builtin_mysql_explain` tool with fields:
- `dsn`: MySQL DSN (e.g., user:pass@tcp(host:3306)/dbname)
- `query`: SQL query to explain
- `type`: Explain type (classic, analyze, format, partitions)
- `format`: Output format for FORMAT type (json, tree, traditional)
- `timeout`: Query timeout in seconds (default: 30)
- `show_execution_time`: Show actual execution time (true/1 or false)
Example:
```
dsn: "root:password@tcp(localhost:3306)/mydb"
query: "SELECT * FROM users WHERE email = 'test@example.com'"
type: "analyze"
```
Note: This tool executes EXPLAIN on the query, not the query itself. Use `show_execution_time` to also run and time the actual query.Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
MySQL development best practices for schema design, query optimization, and database administration
ClickHouse数据库模式、查询优化、分析和数据工程最佳实践,适用于高性能分析工作负载。
Spring Boot中的JPA/Hibernate实体设计、关系、查询优化、事务、审计、索引、分页和连接池模式。
基于Supabase最佳实践的PostgreSQL数据库模式,用于查询优化、架构设计、索引和安全。
Unify 6+ memory systems into AgentDB with HNSW indexing for 150x-12,500x search improvements. Implements ADR-006 (Unified Memory Service) and ADR-009 (Hybrid Memory Backend).