qmetrics.net
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

Side by side

ClickHouseTiDB
GitHub stars★ 51,352 +251 in 10 days★ 40,805 +35 in 10 days
Forks9,3696,324
Last committodaytoday
Latest versionv26.9.45.22-stablev7.5.8
Repository startedJune 2016September 2015
LicenseApache-2.0 · permissiveApache-2.0 · permissive
Self-hostedYesYes
PlatformsLinux, macOS–
Main languageC++Go
Alternative toAmazon Redshift, BigQuery, SnowflakeAmazon 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

More comparisons

Report a mistake on this page