What problem does it solve?
This Skill helps diagnose and fix database performance issues such as slow queries, inefficient execution plans, missing indexes, lock contention, and poor configuration choices across PostgreSQL and MySQL.
Core Features & Use Cases
- Execution Plan Analysis: Review query plans to find sequential scans, bad join choices, stale statistics, and buffer or disk pressure.
- Index and Query Optimization: Recommend index designs, query rewrites, covering indexes, partitioning strategies, and safer deployment approaches.
- Performance Tuning and Monitoring: Adjust database settings, validate changes with before and after metrics, and track ongoing health with usage and wait statistics.
- Use Case: A team sees a dashboard query slowing down during peak traffic, and this Skill can identify the bottleneck, propose a targeted fix, and verify that the change improves latency without harming writes.
Quick Start
Ask the assistant to analyze the slow query, inspect the execution plan, recommend the safest optimization path, and validate the result with before and after performance metrics.