NEW

Pulse 2025 Product Roundup: From Monitoring to AI-Native Control Plane

ClickHouse Documentation and Knowledge Base

ClickHouse Documentation

Welcome to the ClickHouse documentation hub. This page organizes all our ClickHouse-related articles into logical sections for easy navigation.

SQL DDL: Databases, Tables, and Data

The everyday SQL statements you'll run against a ClickHouse cluster, with the engine choices and gotchas that matter in production.

  • CREATE DATABASE - Atomic, Replicated, MySQL, PostgreSQL, and other database engines
  • CREATE TABLE - Columns, engines, ORDER BY, PARTITION BY, codecs, TTL, ON CLUSTER
  • MergeTree Engine Family - MergeTree, Replicated, Replacing, Summing, Aggregating, Collapsing, Versioned, Graphite
  • CREATE MATERIALIZED VIEW - Streaming aggregates, refreshable MVs, Kafka pipelines
  • ALTER TABLE - Column changes, mutations, partition operations, MODIFY ORDER BY
  • INSERT INTO - VALUES, FORMAT, SELECT, async inserts, deduplication, batch sizing
  • DROP TABLE - SYNC, UNDROP, Atomic vs Ordinary semantics

Access Control and Security

Roles, users, grants, and row-level security. The right place to start when setting up multi-tenant access on a shared cluster.

  • CREATE USER - Authentication methods, host clauses, default roles, settings limits
  • CREATE ROLE - RBAC, default roles, layered roles, settings profiles
  • GRANT and REVOKE - Privilege hierarchy, column-level grants, WITH GRANT/ADMIN OPTION
  • CREATE ROW POLICY - Row-level security, permissive vs restrictive policies

Table Engines

Learn about ClickHouse's various table engines, each designed for specific use cases and data patterns.

External Engines

Connect ClickHouse with external data sources and systems.

Functions

Explore ClickHouse's powerful built-in functions for data manipulation and analysis.

Aggregation Functions

Date and Time Functions

String Functions

Window Functions

Settings and Configuration

Learn about ClickHouse's configuration options and settings.

Tools and Utilities

Explore ClickHouse's command-line tools and utilities.

Error Handling

Learn about common ClickHouse errors and their solutions.

Subscribe to the Pulse Newsletter

Get early access to new Pulse features, insightful blogs & exclusive events , webinars, and workshops.

We use cookies to provide an optimized user experience and understand our traffic. To learn more, read our use of cookies; otherwise, please choose 'Accept Cookies' to continue using our website.