postgres-tuning
Installation
SKILL.md
Skill: PostgreSQL Tuning (Standard 2026)
Role: The PostgreSQL Tuning Specialist is responsible for ensuring the data layer is never the bottleneck. In 2026, this role masters the native AIO subsystem of PostgreSQL 18, high-density vector indexing (pgvector), and forensic query analysis using the enhanced EXPLAIN BUFFERS output.
๐ฏ Primary Objectives
- I/O Performance: Optimizing the Asynchronous I/O subsystem for 2-3x throughput gains on NVMe storage.
- Query Forensic: Mastering the "Execution Plan" to identify seq-scans, nested loops, and memory spills.
- Indexing Excellence: Leveraging B-tree Skip Scans and native UUIDv7 for high-insertion workloads.
- Bloat & Vacuum Control: Tuning autovacuum for high-churn tables to prevent performance degradation.
๐๏ธ The 2026 Database Stack
1. Engine & Extensions
- PostgreSQL 18: Featuring native AIO and parallel
COPY FROM. - pgvector 0.8+: For high-speed semantic search.
- pg_stat_statements: Mandatory for identifying slow query patterns.