PostgreSQL Optimization Patterns

•
27
•

Provides expert PostgreSQL patterns for query optimization, schema design, and security following Supabase best practices.

This skill equips Claude with a comprehensive reference for PostgreSQL best practices, covering everything from efficient indexing strategies and schema design to advanced security configurations. It is particularly useful for developers building scalable backends, implementing Row Level Security (RLS), or troubleshooting performance bottlenecks in SQL queries. By leveraging these patterns, Claude can assist in writing more performant, secure, and maintainable database code while avoiding common anti-patterns like unindexed foreign keys or suboptimal data type choices.

주요 기능

01Best-practice data type selection and schema design guidelines
02Row Level Security (RLS) implementation and performance patterns
03Database anti-pattern detection and performance tuning queries
04Optimized indexing strategies for B-tree, GIN, and BRIN types
0527 GitHub stars
06Ready-to-use templates for connection pooling and security defaults

사용 사례

01Designing scalable and secure multi-tenant database schemas with RLS
02Implementing performant queue processing and cursor-based pagination
03Optimizing slow SQL queries and planning complex database migrations