role-database:performance-diagnostics

Diagnose database performance issues across PostgreSQL, MySQL, MongoDB, and Redis.

14|3|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rnavarych/alpha-engineer --skill role-database-performance-diagnostics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: role-database:performance-diagnostics
Source: https://github.com/rnavarych/alpha-engineer/tree/main/plugins/roles/role-database/skills/performance-diagnostics
Command: npx skills add https://github.com/rnavarych/alpha-engineer --skill role-database-performance-diagnostics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps troubleshoot and resolve slow database performance issues across various database engines, identifying bottlenecks and providing actionable solutions.

Core Features & Use Cases

  • Multi-Engine Support: Diagnoses performance for PostgreSQL, MySQL, MongoDB, and Redis.
  • Bottleneck Identification: Detects issues like slow queries, lock contention, deadlocks, I/O bottlenecks, and memory pressure.
  • Benchmarking: Provides tools and guidance for performance benchmarking using pgbench, sysbench, and redis-benchmark.
  • Use Case: When your application's database queries are taking too long, use this Skill to analyze the performance of specific queries, identify missing indexes, or diagnose lock waits.

Quick Start

Use the role-database:performance-diagnostics skill to analyze slow queries in PostgreSQL.

Frequently Asked Questions about role-database:performance-diagnostics

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

FAQPage Schema
How do I diagnose slow database queries in PostgreSQL and MySQL?

This Skill diagnoses slow database queries in PostgreSQL and MySQL by identifying bottlenecks like lock contention, deadlocks, and missing indexes using engine-specific diagnostic methodologies to provide actionable solutions.

What is the best way to identify memory pressure and I/O bottlenecks in MongoDB?

The best way to identify memory pressure and I/O bottlenecks in MongoDB is using this Skill's engine-specific diagnostic methodologies. It detects resource constraints and analyzes slow queries to pinpoint performance limitations.

Can I benchmark Redis performance to diagnose lock waits and deadlocks?

Yes, you can benchmark Redis performance to diagnose lock waits and deadlocks. This Skill supports benchmarking with redis-benchmark and identifies lock contention, providing actionable tuning recommendations for your database.

Does this database performance diagnostics tool work with both relational and NoSQL engines?

Yes, this database performance diagnostics tool works with both relational and NoSQL engines. It supports PostgreSQL, MySQL, MongoDB, and Redis, analyzing slow queries, memory pressure, and I/O bottlenecks across all supported platforms.

How do I use sysbench and pgbench for database performance tuning?

You use sysbench and pgbench for database performance tuning by running benchmarks provided through this Skill. It guides you in measuring performance to identify slow queries, deadlocks, and memory pressure for precise tuning.

Why does my database experience lock contention and how can I troubleshoot it?

Your database experiences lock contention due to concurrent transaction conflicts, which you can troubleshoot using this Skill's diagnostic methodologies. It detects deadlocks and lock waits across PostgreSQL, MySQL, MongoDB, and Redis to provide fixes.