postgres

Tune PostgreSQL production clusters with WAL, indexing, and autovacuum best practices.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/cill-i-am/task-tracker --skill postgres-cill-i-am
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: postgres
Source: https://github.com/cill-i-am/task-tracker/tree/main/.agents/skills/postgres
Command: npx skills add https://github.com/cill-i-am/task-tracker --skill postgres-cill-i-am

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PostgreSQL performance and reliability often suffer from misconfigurations, missing indexes, and inefficient maintenance. This skill provides evidence-based practices for tuning queries, managing connections, configuring WAL, and optimizing schema and storage.

Core Features & Use Cases

  • Best practices for schema design, indexing, vacuum/autovacuum, memory, and WAL settings.
  • Troubleshooting slow queries, connection pool configuration, replication and failover readiness, and monitoring.
  • Use cases include production database tuning, migration planning, incident response, and ongoing performance optimization.

Quick Start

Implement a starter PostgreSQL tuning plan by reviewing your current settings and applying the recommended changes in small, safe steps.

Frequently Asked Questions about postgres

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I tune PostgreSQL for better query performance and reliability?

Optimize PostgreSQL performance by reviewing current settings and applying recommended changes in small, safe steps. This includes tuning memory, WAL configurations, and indexing standards to improve query speed and reliability.

What is the best way to configure autovacuum and WAL settings in Postgres?

Configure autovacuum and WAL settings by applying evidence-based tuning parameters. Proper configuration prevents database bloat and ensures reliable replication and failover readiness.

How do I troubleshoot slow queries and manage connection pooling in PostgreSQL?

Troubleshoot slow PostgreSQL queries by applying optimization strategies and indexing best practices. Manage connection pooling by following concrete connection management requirements to prevent bottlenecks.

Does this approach work for production database tuning and migration planning?

Yes, this approach is applicable to production database tuning, migration planning, incident response, and ongoing optimization. It provides technical requirements for database engineers working on production Postgres clusters.

Why does PostgreSQL performance suffer and when do I need to optimize schema and storage?

PostgreSQL performance suffers from misconfigurations, missing indexes, and inefficient maintenance. Optimize schema and storage when experiencing slow queries, connection issues, or preparing for production database tuning.

What are the limitations of manual PostgreSQL tuning for production clusters?

Manual PostgreSQL tuning lacks evidence-based consistency for WAL, memory, and replication settings. Without codified best practices, production clusters risk misconfigurations and inefficient maintenance.