PostgreSQL Optimization & Design

•
15
•

Optimizes PostgreSQL database performance through advanced indexing strategies, efficient query patterns, and robust schema design.

This skill empowers Claude with specialized knowledge of PostgreSQL internals, focusing on high-performance indexing, query tuning, and architectural best practices. It helps developers avoid common pitfalls such as unused indexes, incorrect data types, and inefficient connection management. By applying advanced patterns like advisory locks, skip locked for job queues, and detailed EXPLAIN plan analysis, this skill ensures your database is scalable, maintainable, and production-ready.

主要功能

01Advanced indexing guidance including partial, expression, and covering indexes
02Sophisticated query patterns like SKIP LOCKED and DISTINCT ON
0315 GitHub stars
04Performance profiling using EXPLAIN (ANALYZE, BUFFERS) interpretation
05Database maintenance tuning for Vacuum, Bloat, and Autovacuum
06Production-grade connection pooling and timeout configuration advice

使用场景

01Implementing native database-level locking and concurrency controls
02Refactoring slow SQL queries to utilize efficient index-only scans
03Designing normalized schemas with modern PG features like Identity columns