Loading...
Loading...
Diagnose ClickHouse disk usage, compression efficiency, part sizes, and storage bottlenecks. Use for disk space issues and slow IO.
npx skill4agent add altinity/skills altinity-expert-clickhouse-storage-- Always limit results
limit 100
-- For part_log
where event_date >= today() - 1system.diskssystem.partssystem.columnssystem.storage_policiessystem.detached_parts| Finding | Load Module | Reason |
|---|---|---|
| Poor compression | | Codec recommendations |
| Many small parts | | Merge backlog |
| High write IO | | Batch sizing |
| System logs large | | TTL configuration |
| Slow disk + merges | | Merge optimization |
| Setting | Notes |
|---|---|
| Threshold for Wide vs Compact parts |
| Row threshold for Wide parts |
| Max merge size |
| Disable merges (emergency) |