ClickHouseColumn-oriented real-time analytics database management system
TiDBOpen-source distributed SQL database for scale
ClickHouse vs TiDB
How ClickHouse and TiDB compare on popularity, activity, license and platforms: two open-source Databases projects, both alternatives to Snowflake.
At a glance
- ClickHouse has more GitHub stars (51.4k vs 40.8k).
- Both are actively maintained (last commits today and today).
- Both use the Apache-2.0 license.
- Both can be self-hosted.
Side by side
| ClickHouse | TiDB | |
|---|---|---|
| GitHub stars | ★ 51,352 +251 in 10 days | ★ 40,805 +35 in 10 days |
| Forks | 9,369 | 6,324 |
| Last commit | today | today |
| Latest version | v26.9.45.22-stable | v7.5.8 |
| Repository started | June 2016 | September 2015 |
| License | Apache-2.0 · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Linux, macOS | – |
| Main language | C++ | Go |
| Alternative to | Amazon Redshift, BigQuery, Snowflake | Amazon Aurora, Azure SQL Database, IBM Db2, Microsoft SQL Server, Snowflake |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
ClickHouse
ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.
Key features
- Column-oriented OLAP storage
- Real-time analytical SQL queries
- High compression for large datasets
- Vectorized query execution
- BI and client integrations
- Self-managed database server
TiDB
TiDB is a cloud-native distributed SQL database aimed at high availability, elastic scaling, and strong consistency, with support for transactions, analytics, and vector search.
Key features
- Distributed SQL storage
- Horizontal and vertical scaling
- High availability design
- MySQL-compatible access
- HTAP-style analytics
- Vector search in SQL