starrocks-bucketing
CommunityPrevent skew and tune StarRocks distribution.
Data & Analytics#data distribution#starrocks#bucketing#colocate join#skew detection#tablet sizing#alter table
Authorivanshamaev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps you choose StarRocks table bucketing (distribution) so data is evenly spread across backends, joins can use colocate when appropriate, and performance does not degrade due to skew or poorly sized tablets.
Core Features & Use Cases
- Design bucketing strategy: pick
DISTRIBUTED BY HASHvsDISTRIBUTED BY RANDOM, select distribution keys, and choose an appropriate bucket count. - Tune for tablet sizing: target 1–10 GB per tablet (recommended ~5 GB) to balance parallelism and metadata/compaction overhead.
- Diagnose and fix skew: measure tablet distribution and skew ratios, identify skew drivers, and adjust distribution keys or switch strategy.
- Enable colocate joins: configure
colocate_withconsistently so frequently joined tables avoid shuffle and use local (colocate) joins. - Evolve bucket counts safely: apply
ALTER TABLE ... DISTRIBUTED BY ... BUCKETS ...when data volume or cluster size changes.
Quick Start
Use the starrocks-bucketing skill to design your StarRocks table distribution by selecting the right distribution key, bucket count, and colocate join settings for your expected data size and join patterns.
Dependency Matrix
Required Modules
None requiredComponents
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-bucketing Download link: https://github.com/ivanshamaev/de-agent-skills/archive/main.zip#starrocks-bucketing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.