The PostgreSQL Optimization skill is a comprehensive workflow bundle designed to enhance Claude's ability to manage and tune production databases. It provides a structured seven-phase approach that covers everything from initial performance assessment and query plan analysis using EXPLAIN ANALYZE to advanced indexing strategies and server configuration tuning. Whether you are dealing with slow-running queries, high resource utilization, or database bloat, this skill equips Claude with the domain-specific knowledge to identify bottlenecks and implement industry-standard best practices for high-performance PostgreSQL environments.
主要功能
01Automated maintenance workflows for managing table bloat, vacuuming, and statistics collection.
0231,722 GitHub stars
03Comprehensive indexing strategies including composite, partial, and B-tree index recommendations.
04PostgreSQL configuration tuning for parameters like shared_buffers, work_mem, and autovacuum settings.
05Deep query analysis using EXPLAIN ANALYZE to identify inefficient scan types and join strategies.
06Observability integration for setting up Prometheus metrics and Grafana monitoring dashboards.
使用场景
01Reducing application latency by identifying and rewriting slow-performing SQL queries.
02Optimizing database resource consumption through precise indexing and configuration adjustments.
03Establishing proactive database maintenance and monitoring for production-grade stability.