What problem does it solve?
PostgreSQL performance, scaling, and operational reliability are hard to get right at production scale; this Skill provides a systematic approach to diagnosing slow queries, reducing bloat, configuring resource settings, and implementing safe replication and partitioning strategies to keep databases healthy and fast.
Core Features & Use Cases
- Environment Assessment: Collect version, hosting type, workload profile, table sizes, and active connections to establish a baseline.
- Performance Tuning: Recommend shared_buffers, work_mem, effective_cache_size, and random_page_cost adjustments, plus index and query optimizations guided by EXPLAIN ANALYZE.
- Partitioning & Scaling: Advise range, list, or hash partitioning strategies for large tables and connect guidance for logical and streaming replication.
- Operational Safety: Enforce hard rules such as never disabling autovacuum, creating indexes concurrently, and limiting direct connections through poolers like PgBouncer.
- Extensions & Tooling: Guidance for pg_stat_statements, pgvector, TimescaleDB, PostGIS and when to prefer managed helpers like Supavisor for multi-tenant setups.
Quick Start
Analyze my PostgreSQL database for performance bottlenecks and recommend concrete tuning, indexing, partitioning, and pooling changes.