PostgreSQL Design Patterns

•
9
•

Optimizes PostgreSQL performance, schema design, and security using industry-standard patterns and Supabase best practices.

This skill equips Claude with specialized expertise for architecting, optimizing, and securing PostgreSQL databases. It provides instant access to high-performance indexing strategies, data type recommendations, and advanced SQL patterns such as UPSERT logic, cursor-based pagination, and Row Level Security (RLS). Whether you are building a new schema from scratch, troubleshooting slow queries using execution statistics, or implementing complex queue processing, this skill ensures your database implementation follows the performance-tuned standards used by high-scale modern applications.

주요 기능

01Performance-optimized Row Level Security (RLS) policy patterns
02Anti-pattern detection for unindexed foreign keys and table bloat
039 GitHub stars
04Best practices for data type selection and database configuration
05Comprehensive indexing guide for B-tree, GIN, BRIN, and composite indexes
06Advanced query templates for UPSERT, pagination, and job queues

사용 사례

01Implementing efficient background job processing using SKIP LOCKED patterns
02Optimizing slow-running SQL queries and identifying performance bottlenecks
03Designing scalable and secure multi-tenant database schemas