DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > ClickHouse vs. TiDB

System Properties Comparison ClickHouse vs. TiDB

Please select another system to include it in the comparison.

Our visitors often compare ClickHouse and TiDB with PostgreSQL, StarRocks and MySQL.

Editorial information provided by DB-Engines
NameClickHouse  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionA high-performance, column-oriented SQL DBMS for online analytical processing (OLAP) that uses all available system resources to their full potential to process each analytical query as fast as possible. It is available as both an open-source software and a cloud offering.TiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelRelational DBMSRelational DBMS
Secondary database modelsTime Series DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score18.77
Rank#31  Overall
#19  Relational DBMS
Score3.58
Rank#73  Overall
#38  Relational DBMS
Websiteclickhouse.compingcap.com
Technical documentationclickhouse.com/­docsdocs.pingcap.com/­tidb/­stable
DeveloperClickhouse Inc.PingCAP, Inc.
Initial release20162016
Current releasev24.6.2.17-stable, July 20248.2.0, July 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageC++Go, Rust
Server operating systemsFreeBSD
Linux
macOS
Linux
Data schemeyesyes
Typing infopredefined data types such as float or dateyesyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nono
Secondary indexesyesyes
SQL infoSupport of SQLClose to ANSI SQL (SQL/JSON + extensions)yes
APIs and other access methodsgRPC
HTTP REST
JDBC
MySQL wire protocol
ODBC
PostgreSQL wire protocol
Proprietary protocol
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC# info3rd party library
C++
Elixir info3rd party library
Go info3rd party library
Java info3rd party library
JavaScript (Node.js) info3rd party library
Kotlin info3rd party library
Nim info3rd party library
Perl info3rd party library
PHP info3rd party library
Python info3rd party library
R info3rd party library
Ruby info3rd party library
Rust
Scala info3rd party library
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresyesno
Triggersnono
Partitioning methods infoMethods for storing different data on different nodeskey based and customhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesAsynchronous and synchronous physical replication; geographically distributed replicas; support for object storages.Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesno
User concepts infoAccess controlAccess rights for users and roles. Column and row based policies. Quotas and resource limits. Pluggable authentication with LDAP and Kerberos. Password based, X.509 certificate, and SSH key authentication.Fine grained access rights according to SQL-standard

More information provided by the system vendor

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
ClickHouseTiDB
DB-Engines blog posts

DB-Engines shares Q1 2025 database industry rankings and top climbers: Snowflake and PostgreSQL trending
1 May 2025, DB-Engines

show all

Recent citations in the news

Snowflake Challenger ClickHouse Targets $6 Billion Valuation
9 May 2025, The Information

Wiz Research Uncovers Exposed DeepSeek Database Leaking Sensitive Information, Including Chat History
29 January 2025, wiz.io

Bcachefs, Btrfs, EXT4, F2FS & XFS File-System Performance On Linux 6.15
10 May 2025, Phoronix

DeepSeek Exposed Database Leaks Sensitive Data
30 January 2025, Infosecurity Magazine

DeepSeek AI Database Exposed: Over 1 Million Log Lines, Secret Keys Leaked
30 January 2025, The Hacker News

provided by Google News

PingCAP Unveils Major TiDB Enhancements to Power Global Scale and AI-Driven Applications
22 April 2025, GlobeNewswire

Build a data lakehouse in a hybrid Environment using Amazon EMR Serverless, Apache DolphinScheduler, and TiDB
20 March 2025, Amazon Web Services (AWS)

How TiDB is solving enterprise data challenges with scalability and speed
21 March 2025, YourStory.com

How TiDB User Day India 2025 Sparked Conversations on the Future of Databases
5 May 2025, CXOToday.com

The future of databases in India: TiDB’s answer to modern data challenges
21 March 2025, ET CIO

provided by Google News



Share this page

Featured Products

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Present your product here