starrocks-ai-query-autotuner

Community

Optimize StarRocks queries automatically

Authorivanshamaev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill removes the manual, error-prone effort of diagnosing slow StarRocks queries by turning execution plans and slow-query signals into concrete optimization actions.

Core Features & Use Cases

  • Autonomous EXPLAIN COSTS Diagnosis: Extracts key plan signals, detects full scans, problematic joins (including cartesian patterns), and identifies likely missing partition constraints.
  • Stale Statistics Detection & Auto-ANALYZE Guidance: Checks statistics freshness via analysis job status and recommends async ANALYZE when needed.
  • Actionable Recommendations: Suggests materialized views, proposes index strategies (bitmap/bloom style), generates join-order and join-method hints, and recommends partition-filter rewrites.

Use Case Example: For a slow analytical query that scans many partitions and joins large datasets without selective filters, the Skill produces a prioritized plan of fixes (partition pruning rewrite, join hinting, and MV/index candidates) to reduce runtime.

Quick Start

Ask the AI to produce an autotuner report for a slow StarRocks SQL query by fetching EXPLAIN COSTS, classifying issues, checking statistics staleness, and returning a prioritized action list.

Dependency Matrix

Required Modules

pymysql

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

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.