What problem does it solve? Slow database queries, missing indexes, and misconfigured servers degrade application performance, and diagnosing root causes requires deep expertise in execution plans, statistics, and engine-specific tuning. ## Core Features & Use Cases - Query Analysis: Capture and interpret EXPLAIN ANALYZE output to find sequential scans, stale statistics, and inefficient join strategies. - Index Design: Create B-tree, covering, partial, expression, GIN, and full-text indexes matched to actual query patterns. - Configuration Tuning: Optimize memory, WAL, autovacuum, buffer pool, and connection settings for PostgreSQL and MySQL. - Use Case: A reporting query takes 30 seconds. Use this Skill to capture the baseline plan, identify a missing covering index, create it with CONCURRENTLY, and validate the improvement with before/after metrics. ## Quick Start Analyze this slow PostgreSQL query, explain the execution plan bottlenecks, and recommend indexes and configuration changes with validation queries.