The PostgreSQL Optimization skill guides developers and database administrators through a comprehensive end-to-end performance tuning process. It covers everything from query execution plan analysis with EXPLAIN ANALYZE and advanced indexing strategies (B-tree, composite, and partial) to server configuration tuning (shared_buffers, work_mem, autovacuum) and routine maintenance routines. Whether diagnosing production database slowdowns or establishing monitoring with Prometheus and Grafana, this skill ensures robust, production-grade PostgreSQL operations.
主な機能
01Establishes scheduled maintenance procedures to prevent table bloat and refresh statistics
02Analyzes query execution plans using EXPLAIN ANALYZE to identify sequential scans and join bottlenecks
0345,496 GitHub stars
04Tunes PostgreSQL configuration parameters such as shared_buffers, work_mem, and autovacuum
05Designs targeted indexing strategies including composite, partial, and B-tree indexes
06Integrates monitoring workflows using Prometheus and Grafana dashboards for performance observability
ユースケース
01Auditing and implementing indexing strategies to eliminate unindexed table scans and reduce query latency
02Troubleshooting and rewriting slow SQL queries and inefficient joins in high-traffic applications
03Tuning PostgreSQL server parameters and autovacuum settings for high-throughput production environments