
ClickHouse
Fast open source column-oriented database for analytics
Replaces Snowflake, Amazon Redshift, Google Bigquery

Who it's for
Store clickstream, product, or usage events and query them with SQL at dashboard speed.
Your workload is small enough for PostgreSQL or your BI tool cache.
Run fast aggregations over logs, metrics, traces, or security events without a fully hosted warehouse.
You need a managed warehouse with no database operations work.
The problem
Analytics workloads become expensive when every dashboard, event query, and retention decision runs through a metered warehouse. Teams with high-volume logs, metrics, product events, or user behavior data need fast analytical queries without giving up control over storage and deployment.
How it works
ClickHouse stores data by column, which makes aggregation and filtering fast for event, log, and metrics workloads.
The README describes ClickHouse as a database for generating analytical reports in real time, not a general row-store replacement.
Teams can operate ClickHouse themselves or use ClickHouse Cloud when they want the creators to run it.
Features
- Column-oriented OLAP engine
- Real-time SQL analytics
- Self-hosted or managed path
How to install
Self-host ClickHouse with the official Docker image for a local server or evaluation instance.
docker pull clickhouse/clickhouse-server
docker run -d --name clickhouse-server -p 8123:8123 -p 9000:9000 clickhouse/clickhouse-serverRecommended for this setup
Strengths
- High performance for event analytics: ClickHouse is a strong fit for large append-heavy datasets where dashboards need fast aggregates over many rows.
- Apache-licensed infrastructure control: The Apache-2.0 license and self-hosted path make it practical for teams that need analytics close to private data.
Trade-offs
- Not a transactional app database: ClickHouse is not the right primary database for ordinary OLTP application writes.
- Cluster operations require database skill: Replication, shards, storage, memory, and query tuning need planning once data volume grows.
Tech stack
FAQ
ClickHouse is best for analytical SQL over large columnar datasets, especially events, logs, metrics, and reporting tables.
No, not for ordinary transactional app workloads. ClickHouse complements PostgreSQL when analytics queries become too heavy for a row-store database.
Yes. ClickHouse reports an Apache-2.0 license in GitHub metadata and can be self-hosted.