The Database Performance Diagnostics skill provides a comprehensive framework for identifying and resolving database bottlenecks using advanced diagnostic tools and methodologies. It equips Claude with domain-specific knowledge for analyzing slow queries, lock contention, deadlocks, and memory pressure across diverse database ecosystems like PostgreSQL (EXPLAIN ANALYZE), MySQL (Performance Schema), MongoDB (executionStats), and Redis (latency monitoring). By leveraging standardized troubleshooting workflows and benchmarking tools like pgbench and sysbench, this skill helps developers and DBAs maintain high-performing data layers and resolve systemic infrastructure issues efficiently.
主要功能
01Multi-engine support for PostgreSQL, MySQL, MongoDB, and Redis
0211 GitHub stars
03Resource monitoring for I/O, CPU, and memory pressure
04Deep query analysis using EXPLAIN, ANALYZE, and execution plans
05Integrated benchmarking with pgbench, sysbench, and YCSB
06Lock contention and deadlock detection diagnostics
使用场景
01Identifying the root cause of database lock contention or connection exhaustion
02Benchmarking database performance before and after schema migrations
03Investigating and fixing slow-running production queries