postgresql-optimization

Automate PostgreSQL database optimization through performance assessment, query analysis, and configuration tuning.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/distribucionesfayosmoreno-sys/programa_aluon --skill postgresql-optimization-distribucionesfayosmoreno-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: postgresql-optimization
Source: https://github.com/distribucionesfayosmoreno-sys/programa_aluon/tree/main/.agents/skills/postgresql-optimization
Command: npx skills add https://github.com/distribucionesfayosmoreno-sys/programa_aluon --skill postgresql-optimization-distribucionesfayosmoreno-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenges of optimizing PostgreSQL database performance, including query tuning, indexing strategies, and maintenance tasks.

Core Features & Use Cases

  • Performance Assessment: Assess database performance with tools like database-optimizer and postgres-best-practices.
  • Query Analysis: Analyze and optimize SQL queries using sql-optimization-patterns and postgres-best-practices.
  • Indexing Strategy: Design indexing strategies with database-design and postgresql.
  • Query Optimization: Optimize SQL queries with sql-optimization-patterns and sql-pro.
  • Configuration Tuning: Tune PostgreSQL configuration with postgres-best-practices and database-admin.
  • Maintenance: Schedule and manage database maintenance tasks with database-admin and postgresql.
  • Monitoring: Set up monitoring with grafana-dashboards and prometheus-configuration.

Quick Start

Use the @postgresql-optimization skill to analyze and optimize your PostgreSQL database performance.

Frequently Asked Questions about postgresql-optimization

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

FAQPage Schema
How do I optimize PostgreSQL query performance for slow database operations?

PostgreSQL query performance optimization analyzes SQL queries using established patterns to identify bottlenecks and apply indexing strategies. It guides database administrators through query tuning and configuration adjustments to resolve slow database operations.

What is the best way to design a PostgreSQL indexing strategy for high-performance databases?

The best way to design a PostgreSQL indexing strategy involves assessing database performance and applying database design principles to structure indexes. This ensures high-performance databases can retrieve data efficiently without unnecessary full-table scans.

How does PostgreSQL configuration tuning improve database maintenance and monitoring?

PostgreSQL configuration tuning improves database maintenance by adjusting system parameters according to best practices. When paired with monitoring tools like Grafana dashboards and Prometheus, it tracks performance metrics and maintains optimal database health.

Can I use this workflow to set up PostgreSQL performance monitoring with Grafana and Prometheus?

Yes, you can set up PostgreSQL performance monitoring by configuring Grafana dashboards and Prometheus within the workflow. This integration tracks database metrics continuously, allowing administrators to visualize performance trends and respond to issues.

When do I need to run PostgreSQL database maintenance tasks for optimal performance?

You need to run PostgreSQL database maintenance tasks when performance assessments indicate query degradation or index bloat. Scheduling regular maintenance using database administration tools prevents latency and sustains high-performance database operations.

What are the limitations of SQL optimization patterns for PostgreSQL query tuning?

SQL optimization patterns for PostgreSQL query tuning are limited when underlying hardware constraints or poorly designed database schemas exist. Without proper configuration tuning and indexing, query optimization alone cannot resolve systemic performance bottlenecks.