clickhouse-schema-design

Official

Optimize ClickHouse schemas for speed and compression.

Authorobsessiondb
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you design and optimize ClickHouse table schemas to achieve sub-second query performance, significantly improve data compression, and automate data lifecycle management.

Core Features & Use Cases

  • Schema Design Rules: Provides critical, high, and medium priority rules for ORDER BY, PARTITION BY, and data types.
  • Engine Selection Guidance: Explains the use cases for various MergeTree engines.
  • TTL Configuration: Demonstrates how to set up data retention and tiered storage policies.
  • Use Case: When creating a new table for event logs, use this Skill to ensure your ORDER BY clause is optimized for common query patterns, your PARTITION BY is set for efficient data management, and you select the most space-efficient data types.

Quick Start

Use the clickhouse-schema-design skill to generate an optimized schema for an events table with daily partitioning and a time-based order by clause.

Dependency Matrix

Required Modules

None required

Components

referencesscripts

💻 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: clickhouse-schema-design
Download link: https://github.com/obsessiondb/clickhouse-skills/archive/main.zip#clickhouse-schema-design

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