PostgreSQL Patterns & Best Practices

•
44
•

Optimizes PostgreSQL database schemas and queries using industry-standard patterns for performance, security, and scalability.

PostgreSQL Patterns is a specialized skill designed to guide developers through the complexities of database architecture and query optimization. Based on Supabase best practices, it provides instant access to indexing strategies (B-tree, GIN, BRIN), precise data type selection, and advanced SQL implementation patterns like UPSERT and cursor-based pagination. Whether you are designing a new schema, implementing Row-Level Security (RLS), or troubleshooting slow-running queries, this skill ensures your database remains performant and secure by avoiding common anti-patterns and utilizing production-ready configuration templates.

主な機能

01Comprehensive indexing cheat sheet for B-tree, GIN, and BRIN types
02Optimized Row-Level Security (RLS) policy templates
03Advanced query patterns for queues, pagination, and upserts
04Automated anti-pattern detection for unindexed foreign keys and table bloat
05Database configuration templates for connection limits and timeouts
0644 GitHub stars

ユースケース

01Designing a high-performance database schema from scratch
02Optimizing slow SQL queries and fixing database bottlenecks
03Implementing secure multi-tenant data access using RLS