What problem does it solve?
This Skill helps teams optimize database performance, design scalable schemas, analyze queries, and manage connections across PostgreSQL, MySQL, MongoDB, and SQLite.
Core Features & Use Cases
-
Query Analysis & Optimization: Diagnose slow queries with EXPLAIN/EXPLAIN ANALYZE, identify bottlenecks, and propose indexing strategies.
-
Schema Design & Migrations: Architect robust schemas, plan migrations with minimal downtime, and validate changes across multiple DBMS.
-
Connection Management & ORM Integration: Recommend safe connection pooling, transaction handling, and ORM integration patterns to prevent N+1 queries.
-
Use Case: Imagine a microservices app with rising query latency; apply this Skill to triage bottlenecks, optimize indexes, and restructure schemas to meet SLAs.
Quick Start
Run a baseline diagnostic: collect query plans for the top 5 slow queries, propose 2 indexing changes, and outline a safe migration plan.