starrocks-admin-query-monitor

Community

Diagnose slow queries and isolate workloads.

Authorivanshamaev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you investigate slow, failing, or resource-intensive queries in StarRocks and restore predictable performance by monitoring query activity, enforcing workload isolation, and managing runaway queries.

Core Features & Use Cases

  • Real-time query monitoring with session-level visibility using SHOW PROCESSLIST / SHOW FULL PROCESSLIST and processlist-style filtering via information_schema.processlist.
  • Query history analysis using information_schema.query_history to find slow, CPU-heavy, memory-heavy, and failed queries with practical SQL patterns.
  • Operational safety for production clusters via slow query logging configuration (qe_slow_log_ms), resource group governance (CREATE/ALTER/DROP RESOURCE GROUP with classifiers), query queuing controls, and emergency mitigation through KILL QUERY.
  • Long-term audit and dashboards by installing and using the Audit Loader plugin to persist query history for retention, compliance, and metrics like p95/p99 latency and top slow SQL by hash.

Quick Start

Use the starrocks-admin-query-monitor skill to analyze the last 24 hours of slow completed queries by running a query against information_schema.query_history and ranking results by TotalTime.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: starrocks-admin-query-monitor
Download link: https://github.com/ivanshamaev/de-agent-skills/archive/main.zip#starrocks-admin-query-monitor

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 471,000+ vetted skills library on demand.