obdiag-rca

Automate OceanBase cluster root-cause analysis with a standard SOP.

161|40|Updated Nov 22, 2022
One-click install
npx skills add https://github.com/oceanbase/obdiag --skill obdiag-rca
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obdiag-rca
Source: https://github.com/oceanbase/obdiag/tree/main/plugins/agent/skills/obdiag-rca
Command: npx skills add https://github.com/oceanbase/obdiag --skill obdiag-rca

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

帮助运维人员在 OceanBase 集群的根因分析中提供统一的操作流程与降级分析路径,提高诊断的一致性和效率。

Core Features & Use Cases

  • 统一的 RCA 流程:优先执行 rca_run,必要时进入手动降级分析。
  • 场景覆盖广:覆盖事务超时、内存压力、断连、DDL 失败、日志盘满等常见故障。
  • 降级分析路径:提供结构化步骤和数据采集方法,确保可重复诊断。

Quick Start

在检测到问题时,先执行 rca_run(scene=<scene_name>),若未给出结论则按降级手动分析路径进行诊断。

Frequently Asked Questions about obdiag-rca

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

FAQPage Schema
How do I perform root-cause analysis for OceanBase cluster incidents like timeout or memory pressure?

You can diagnose long transactions or lock waits by triggering the automated RCA workflow, which applies a standardized SOP to identify the root cause and provide structured diagnostic conclusions.

What should I do when automated root-cause analysis fails to find the issue?

When automated root-cause analysis yields no conclusion, you should follow the manual downgrade analysis path, which provides structured steps and on-demand data collection methods for further diagnosis.

What types of OceanBase cluster failures does this diagnostics process cover?

This diagnostics process covers common OceanBase cluster failure scenarios including transaction timeouts, memory pressure, disconnections, DDL failures, and log disk full incidents.

Can I use this root-cause analysis SOP for DDL failures in OceanBase?

Yes, the root-cause analysis SOP supports diagnosing DDL failures in OceanBase clusters by applying structured workflows and optional data collection components to isolate the failure cause.

Are there limitations when diagnosing OceanBase incidents outside of predefined RCA scenarios?

The root-cause analysis workflow targets predefined scenarios like memory pressure and lock waits; incidents outside these defined scenes require manual downgrade analysis using the provided structured data collection steps.