PostgreSQL Optimization Workflow
Optimizes PostgreSQL database performance through comprehensive query tuning, indexing strategies, and system configuration.
This skill provides a specialized, multi-phase workflow for managing and improving PostgreSQL database performance across the entire application lifecycle. It guides users through an assessment of performance bottlenecks, detailed query analysis using EXPLAIN ANALYZE, and the implementation of advanced indexing strategies such as composite and partial indexes. Beyond query tuning, it offers expert guidance on server-level configuration (like shared_buffers and autovacuum) and the establishment of robust maintenance and monitoring routines using tools like Grafana and Prometheus, ensuring production databases remain fast and reliable.