What problem does it solve?
This Skill provides comprehensive guidance and tools for efficiently managing, querying, and optimizing PostgreSQL databases, ensuring robust and high-performing data solutions.
Core Features & Use Cases
- Advanced Querying: Write complex SQL, including CTEs, window functions, and full-text search.
- Schema Design & Optimization: Design efficient schemas, choose appropriate data types, and implement effective indexing strategies.
- Performance Tuning: Analyze query performance using
EXPLAIN ANALYZE and optimize database configurations.
- Use Case: Optimize a slow-running
SELECT query by analyzing its EXPLAIN ANALYZE output, identifying missing indexes, and rewriting the query for better performance.
Quick Start
Use the postgresql skill to generate a CREATE TABLE statement for a users table with id, name, email, and created_at columns.