monitoring-background-jobs

Official

Triages CockroachDB background jobs for health.

Authorcockroachlabs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Monitors CockroachDB background job health by surfacing failed, paused, and long-running jobs using SHOW JOBS and SHOW AUTOMATIC JOBS. Surfaces schema changes, backups/restores, automatic statistics collection, and SQL stats compaction jobs without requiring DB Console access. Use when investigating schema change delays, failed backups, or automatic job issues.

Core Features & Use Cases

  • Detects issues across user-initiated and automatic background jobs (SCHEMA CHANGE, BACKUP, RESTORE, AUTO CREATE STATS, AUTO SQL STATS COMPACTION)
  • Provides guidance for live triage and historical analysis, including visibility into coordinator and running_status
  • Supports RBAC considerations (VIEWJOB for monitoring; CONTROLJOB for limited control)

Quick Start

To run a quick health check, query SHOW JOBS and SHOW AUTOMATIC JOBS to surface any failed, paused, or long-running background tasks.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: monitoring-background-jobs
Download link: https://github.com/cockroachlabs/cockroachdb-skills/archive/main.zip#monitoring-background-jobs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.