What problem does it solve?
This Skill helps users design, optimize, and manage PostgreSQL databases, from initial schema creation to advanced performance tuning and high availability configurations.
Core Features & Use Cases
- Schema Design: Generate robust and efficient SQL schemas with appropriate data types, constraints, and indexes.
- Query Optimization: Analyze and improve query performance using
EXPLAIN ANALYZE and best practices.
- Performance Tuning: Provide recommendations for
postgresql.conf settings and connection pooling.
- High Availability: Assist with setting up replication, backups, and failover strategies.
- Use Case: You need to design a new schema for a user authentication system, including UUID primary keys, email uniqueness constraints, and appropriate indexes for fast lookups.
Quick Start
Use the db-postgres skill to generate a schema for a blog with tables for posts, users, and comments.