Data & Analytics · Data Warehousing & Processing
ClickHouse
Fast open-source columnar SQL for real-time analytics
ClickHouse is an Apache 2.0 licensed, column-oriented SQL database for real-time analytics. Created at Yandex and open sourced in 2016, it uses compressed columnar storage, vectorized execution, and MergeTree engines for large analytical workloads. Users can run local or distributed clusters with Docker or Kubernetes, or choose ClickHouse Cloud, a managed service with usage-based pricing.
Key facts
- License
- Apache-2.0
- Main language
- C++
- Maintainer
- ClickHouse, Inc. and open-source contributors
- First released
- 2016
- Latest release
- v26.9.24.8-stable, October 21, 2026
- GitHub stars
- 50,509, October 2026
- Hosted option
- ClickHouse Cloud, $300 trial credits for 30 days; usage-based pricing
What ClickHouse is
ClickHouse began at Yandex in 2009, entered production for Yandex.Metrica in 2012, and became open source under Apache License 2.0 in 2016. Alexey Milovidov created it with the Yandex analytics team. ClickHouse, Inc. incorporated in 2021 and is now the principal commercial maintainer alongside open-source contributors. The project serves web analytics, observability, advertising, financial data, application analytics, and data warehousing workloads. Its repository lists 50,509 stars. Company financing included a $50 million initial investment in 2021, a $250 million Series B round that year, and a $350 million Series C round announced in 2025. A 2026 company history page also lists a $400 million Series D financing.
How it works
Users define tables, select storage engines and sorting keys, ingest files or streams, and query with SQL. Columnar storage reads selected columns, compression reduces storage and I/O, and vectorized execution processes data in batches. MergeTree engines form the main storage family, with partitioning, background merges, TTL rules, replication, mutations, and projections. Materialized views can compute aggregates during ingestion, while dictionaries support lookups. Distributed tables coordinate queries across shards and replicas. ClickHouse accepts many file and stream formats and can query formats such as Parquet, Iceberg, and Delta. Full joins, text indexes, JSON support, and lightweight updates extend its use beyond basic append-only reporting.
Architecture and recent releases
ClickHouse is primarily written in C++ and supports Linux, macOS, and FreeBSD installations, with Docker and Kubernetes deployment paths. A single binary can serve a local database, while clustered installations use sharding, replication, and ClickHouse Keeper for coordination. Storage may use local disks or object storage, and managed ClickHouse Cloud separates storage from compute. The release page lists v26.9.24.8-stable dated October 21, 2026 as the newest release, alongside v26.8.33.10-lts and v26.7.36.9-stable. The project uses a year-month version scheme with frequent stable and long-term-support branches. New releases include feature changes, fixes, and performance work, while prerelease status is not indicated for these listed versions.
License and pricing
ClickHouse core is licensed under Apache License 2.0, allowing commercial use, modification, redistribution, and hosted operation subject to license notices. ClickHouse Cloud is a separate managed service with automated scaling, backups, upgrades, and security controls. Its published pricing page describes metered resource pricing, automatic scaling toward zero for unused resources, and configurable limits, while the product page advertises $300 in trial credits for 30 days. The published pages do not state one universal monthly price because cost depends on compute, storage, and usage. Self-hosting avoids service subscription charges, although servers, storage, networking, operations, support, and backup infrastructure still create costs.
Limitations and how it compares
ClickHouse suits teams that want fast SQL analytics without giving up deployment choice. Its columnar execution and compression make large scans economical, while MergeTree engines organize sorted storage through partitioning, TTLs, merges, and replication. That flexibility requires care: sorting keys, mutations, merge behavior, replica design, retention, disk use, and cloud consumption can affect reliability and cost. PostgreSQL remains a better fit for transaction-heavy applications, DuckDB for straightforward local file analysis, and Apache Pinot or Apache Druid for specialized streaming, user-facing OLAP. BigQuery, Snowflake, and Redshift reduce operational work through managed services, whereas ClickHouse supports local, replicated, distributed, and object-backed installations. Choose ClickHouse when high ingestion, large analytical datasets, broad SQL, or self-hosting outweigh greater operational responsibility and unbounded usage costs.
Main features
- Columnar execution. Columnar execution processes selected columns in vectorized batches, reducing data movement during analytical scans and aggregations.
- MergeTree engines. MergeTree engines provide sorted, compressed, partitioned storage with background merges, TTL rules, mutations, and replication.
- Distributed clusters. Runs across servers using distributed tables, replicated shards, ClickHouse Keeper, and optional object storage for large analytical workloads.
- Real-time ingestion. Real-time ingestion accepts inserts, files, and streaming sources while queries continue running against incoming analytical data.
- Materialized views. Materialized views compute transformations and aggregates during ingestion, supporting recurring dashboards while reducing work required during queries.
- SQL interoperability. Supports joins, JSON, Parquet, Iceberg, Delta, dictionaries, text indexes, and many input and output formats.
Self-hosting ClickHouse
Install ClickHouse from official packages, the standalone binary, Docker, Kubernetes, or clickhousectl. A single node does not need PostgreSQL or Redis. Clustered deployments commonly use ClickHouse Keeper for coordination, replicated MergeTree tables for redundancy, and optional object storage for colder data or backups. There is no universal minimum hardware figure because sizing depends on ingestion rate, compression, sorting keys, query concurrency, replicas, retention, and storage tier. Administrators should plan network capacity, disk space, backup schedules, access controls, encryption, and upgrade procedures. Monitor merges, mutations, replication queues, disk usage, and query resource consumption. Validate schema and engine changes in a separate environment before production rollout.
Strengths
- Apache License 2.0 supports commercial and hosted deployments.
- Columnar execution and compression suit large analytical scans.
- A single binary supports local and clustered installations.
- Frequent releases add features and fixes.
Drawbacks
- Sorting keys and background merges require database expertise.
- It is not a general transactional PostgreSQL replacement.
- Unbounded cloud workloads can increase monthly bills.
What teams replace with it
Teams usually evaluate ClickHouse when they want to move off Snowflake, Google BigQuery, Amazon Redshift, Elasticsearch.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to ClickHouse
- Apache Pinot
- Apache Druid
- DuckDB
- StarRocks
Frequently asked questions
Is ClickHouse free?
Yes, self-managed ClickHouse is free to use under the Apache License 2.0, including commercial use, modification, redistribution, and hosting. You still pay for infrastructure, operations, backups, and optional support. ClickHouse Cloud is a paid managed service with $300 in trial credits for 30 days, followed by usage-based pricing tied to resource consumption.
Can ClickHouse be used commercially?
Yes. ClickHouse uses the Apache License 2.0, which permits commercial use, modification, redistribution, and hosting, subject to applicable copyright and license notices. Businesses can run it internally, include it in larger products, offer services built around it, self-host deployments, or use ClickHouse Cloud. Infrastructure, support, and managed-service charges may still apply.
How do I self-host ClickHouse?
Use distribution packages, the standalone binary, Docker, Kubernetes, or clickhousectl. A single node is the simplest starting point. Production clusters commonly add ClickHouse Keeper, replicated MergeTree tables, backups, monitoring, access controls, and capacity planning for storage, ingestion, query concurrency, and retention.
How does ClickHouse compare with Apache Pinot?
ClickHouse offers broad analytical SQL, multiple storage engines, joins, and flexible deployment choices. Apache Pinot focuses on fresh event ingestion, indexed serving, upserts, and high-concurrency user-facing analytics. ClickHouse fits wider analytical workloads, while Pinot can fit applications centered on low-latency event serving.
Is ClickHouse data private?
Self-managed deployments keep data within infrastructure selected by the operator when network boundaries, identity controls, encryption, backups, and logging are configured appropriately. ClickHouse Cloud places data in the service's managed environment, so users must review its regions, security controls, contractual terms, and retention settings.
Similar projects to compare
- Apache PinotApache-2.0Apache Pinot is an Apache-licensed distributed OLAP datastore for low-latency analytics on streaming and batch data. It began at LinkedIn, was open-sourced in 2015, and is maintained by the Apache Software Foundation. Pinot supports streaming ingestion, columnar storage, distributed SQL, varied indexes, upserts, and workload isolation. StarTree offers a separate hosted Pinot service with quote-based pricing.
- Apache DruidApache-2.0Apache Druid is an Apache-licensed real-time analytics database for event-oriented data, fast aggregations, and highly concurrent applications. It suits teams building analytical applications, operational dashboards, and APIs over streaming or batch data. Teams can self-host it, while Imply Polaris offers managed Druid service from $100 per month plus usage charges.
- Apache CloudberryApache-2.0Apache Cloudberry is an open-source, PostgreSQL-based massively parallel processing database created by original Greenplum developers. Maintained under the Apache Incubator and licensed under Apache License 2.0, it supports data warehousing, large-scale analytics, and AI or machine-learning workloads. Users deploy and operate clusters themselves, using coordinator and segment processes for distributed SQL execution.
- DatabendApache-2.0 core; selected enterprise features Elastic License 2.0Databend is an open-source analytical warehouse written in Rust that stores data on object storage and separates compute from storage. It combines SQL analytics with vector and full-text search, schema evolution, transactions, branching and sandboxed Python UDFs. The Apache-2.0 core supports self-hosted deployment and Databend Cloud, while selected enterprise features use Elastic License 2.0.
Sources
- ClickHouse repository
- ClickHouse releases
- ClickHouse product page
- ClickHouse pricing
- ClickHouse company history
Last updated 2026-10-22.