db-performance-watchlist

Detect and analyze database performance issues by collecting real-time metrics and highlighting slow queries.

5|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/patricio0312rev/skillset --skill db-performance-watchlist-patricio0312rev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-performance-watchlist
Source: https://github.com/patricio0312rev/skillset/tree/main/templates/db-management/db-performance-watchlist
Command: npx skills add https://github.com/patricio0312rev/skillset --skill db-performance-watchlist-patricio0312rev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node-cron, and includes scripts (resource) components.

What problem does it solve?

DB performance issues cause latency, outages, and degraded user experience. This Skill provides a structured approach to detect slow queries, rising resource utilization, and inefficient index usage, enabling proactive remediation.

Core Features & Use Cases

  • Slow query detection with configurable thresholds and automated alerts
  • Real-time resource and connection pool monitoring
  • Index usage analysis and comprehensive query statistics for tuning
  • Use Case: In a production PostgreSQL deployment, detect rising latency during peak hours and automatically raise alerts while surfacing candidates for index tuning and query optimization.

Quick Start

Configure the watchlist in your project and run the monitoring script to start collecting metrics.

Frequently Asked Questions about db-performance-watchlist

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

FAQPage Schema
How do I monitor slow queries and set up alerts in PostgreSQL?

You can monitor slow queries in PostgreSQL by configuring thresholds to detect latency issues and setting up automated alerts. This approach collects real-time metrics and highlights inefficient queries for tuning.

How do I detect slow queries and set up alerts in PostgreSQL or MySQL?

Detect slow queries in PostgreSQL or MySQL by configuring latency thresholds that trigger automated alerts. The system collects real-time metrics and surfaces query statistics to highlight candidates for index tuning.

Can I use this database monitoring approach for staging environments?

Yes, this database monitoring approach applies to both production and staging environments. It enforces configurable thresholds and structured metric collection to ensure reliability matters across deployment stages.

Do I need node-cron to run automated database performance checks?

Yes, you need node-cron to schedule and run automated database performance checks. This dependency enables the monitoring script to execute periodically, collecting metrics and triggering alerts when thresholds are breached.

What is the best way to analyze index usage and query statistics for tuning?

The best way to analyze index usage is by collecting comprehensive query statistics and real-time resource metrics. This structured approach surfaces inefficient index usage and slow query candidates for targeted optimization.

How do I integrate database metrics into existing dashboards and alerting systems?

Integrate database metrics by leveraging the structured metric collection format enforced by the monitoring script. This outputs standardized data that dashboards and alerting systems can consume seamlessly for real-time visibility.