Optimizes PostgreSQL 17/18+ performance across I/O, query execution, indexing, and maintenance. Covers the native AIO subsystem introduced in PostgreSQL 18 for throughput gains on modern storage, forensic query plan analysis with EXPLAIN BUFFERS (auto-included in PG18), B-tree skip scans for composite indexes, native UUIDv7 generation, and autovacuum tuning for high-churn tables.
When to use: Diagnosing slow queries, configuring async I/O, tuning sharedbuffers and workmem, optimizing indexes for write-heavy workloads, managing table bloat, pgvector HNSW tuning.
When NOT to use: Schema design (use a data modeling tool), application-level caching strategy, database selection decisions, ORM query generation.
PostgreSQL 17/18+ 성능 튜닝 및 최적화. 비동기 I/O 구성, 쿼리 계획 포렌식, 인덱스 전략, Autovacuum 튜닝, 벡터 검색 최적화, 연결 풀링, 선언적 파티셔닝 및 실용적인 쿼리 패턴을 다룹니다. 느린 쿼리 진단, 비동기 I/O 구성, autovacuum 조정, 벡터 인덱스 최적화, EXPLAIN BUFFERS를 사용한 실행 계획 분석, PgBouncer 또는 연결 풀링 구성, 테이블 분할 설정, 커서 페이지 매김 구현 또는 대기열 처리 최적화에 사용합니다. 출처: oakoss/agent-skills.