PostgreSQL Query & Performance Optimization
Optimizes PostgreSQL database performance through advanced query tuning, strategic indexing, and production-grade configuration management.
This specialized Claude Code workflow provides a comprehensive framework for identifying and resolving PostgreSQL performance bottlenecks. It guides users through systematic phases including deep query analysis via EXPLAIN ANALYZE, the design of efficient indexing strategies, and the fine-tuning of server-level parameters like shared_buffers and autovacuum settings. Whether you are managing production table bloat or refactoring slow SQL joins, this skill offers the domain-specific patterns and best practices needed to ensure a highly responsive, scalable, and maintainable database environment.
Características Principales
01Performance monitoring integration with Prometheus and Grafana dashboard templates
02Deep query analysis using EXPLAIN ANALYZE to identify execution bottlenecks and scan types
034 GitHub stars
04Server configuration tuning for shared_buffers, work_mem, and autovacuum parameters
05Strategic index design including B-tree, composite, and partial indexing recommendations
06Automated maintenance workflows for table bloat reduction and statistics updates
Casos de Uso
01Planning and implementing a robust indexing strategy for large-scale production tables
02Refactoring complex, slow-running SQL queries to reduce execution time and resource consumption
03Troubleshooting and fixing database performance degradation in high-traffic environments