PostgreSQL Performance Patterns
Optimizes PostgreSQL database operations through standardized indexing, schema design, and security best practices based on Supabase standards.
This skill empowers Claude to act as a specialized database expert, providing immediate access to battle-tested PostgreSQL patterns for query optimization, Row Level Security (RLS), and efficient schema design. It helps developers avoid common pitfalls like unindexed foreign keys or suboptimal data types, ensuring high-performance database architectures and secure data access through proven implementation patterns and automated anti-pattern detection snippets.
주요 기능
01Advanced SQL Patterns: Ready-to-use templates for UPSERT, cursor pagination, and job queue processing.
02Schema Best Practices: Recommendations for storage-efficient data types and naming conventions.
03Row Level Security (RLS): Implementation patterns for optimized security policies and multi-tenant isolation.
0412 GitHub stars
05Optimized Indexing: Reference guides for B-tree, GIN, BRIN, composite, and partial indexes.
06Performance Monitoring: SQL scripts to detect slow queries, table bloat, and unindexed foreign keys.
사용 사례
01Optimizing slow SQL queries and improving application response times through better indexing.
02Implementing secure multi-tenancy and access control using Row Level Security (RLS) policies.
03Designing scalable and secure database schemas for new software projects or migrations.