schema-design-advisor

Official

Optimize ClickHouse table schemas for performance and cost.

Authorchmonitor
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Poorly designed ClickHouse table schemas with suboptimal ORDER BY keys, incorrect data types, missing indexes, and inefficient partitioning lead to slow query performance, excessive storage usage, and degraded merge operations. This skill eliminates these issues by providing evidence-based, workload-aligned schema optimization recommendations.

Core Features & Use Cases

  • Evidence-First Inspection: Guides users to gather table schema, parts summary, column compression metrics, and cardinality data before making any recommendations to ensure suggestions are grounded in actual usage.
  • Comprehensive Optimization Guidance: Covers ORDER BY design, partition key selection, column type right-sizing, compression codec selection, skip index configuration, and projection/materialized view recommendations for all common ClickHouse schema optimization scenarios.
  • Use Case: For a ClickHouse table with slow filter queries and 2x higher than expected storage costs, use this skill to analyze its actual usage patterns and receive actionable ALTER TABLE commands that cut query latency by 40% and reduce storage overhead.

Quick Start

Use the schema-design-advisor skill to analyze your ClickHouse table's current schema, parts, and column metrics, then receive prioritized, actionable recommendations for ORDER BY keys, partition strategies, data types, codecs, skip indexes, and projections to improve query performance and reduce storage costs.

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: schema-design-advisor
Download link: https://github.com/chmonitor/chmonitor/archive/main.zip#schema-design-advisor

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