DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Cassandra vs. ClickHouse vs. NCache vs. TiDB

System Properties Comparison Cassandra vs. ClickHouse vs. NCache vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonClickHouse  Xexclude from comparisonNCache  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessA 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.Open-Source and Enterprise in-memory Key-Value StoreTiDB 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 modelWide column storeRelational DBMSKey-value storeRelational DBMS
Secondary database modelsVector DBMS infostarting with release V5Time Series DBMSDocument store
Search engine infoUsing distributed Lucene
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score101.89
Rank#12  Overall
#1  Wide column stores
Score16.34
Rank#38  Overall
#23  Relational DBMS
Score0.94
Rank#195  Overall
#29  Key-value stores
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitecassandra.apache.orgclickhouse.comwww.alachisoft.com/­ncachepingcap.com
Technical documentationcassandra.apache.org/­doc/­latestclickhouse.com/­docswww.alachisoft.com/­resources/­docsdocs.pingcap.com/­tidb/­stable
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookClickhouse Inc.AlachisoftPingCAP, Inc.
Initial release2008201620052016
Current release4.1.3, July 2023v24.4.1.2088-stable, May 20245.3.3, April 20248.0.0, March 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache 2.0Open Source infoEnterprise Edition availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Astra DB: Multi-cloud DBaaS built on Apache Cassandra.
  • Aiven for Clickhouse: Managed cloud data warehousing with high-speed analytics.
  • DoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
  • ClickHouse Cloud: Get the performance you love from open source ClickHouse in a serverless offering that takes care of the details so you can spend more time getting insight out of the fastest database on earth.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaC++C#, .NET, .NET Core, JavaGo, Rust
Server operating systemsBSD
Linux
OS X
Windows
FreeBSD
Linux
macOS
Linux
Windows
Linux
Data schemeschema-freeyesschema-freeyes
Typing infopredefined data types such as float or dateyesyespartial infoSupported data types are Lists, Queues, Hashsets, Dictionary and Counteryes
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.nononono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyesyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)Close to ANSI SQL (SQL/JSON + extensions)SQL-like query syntax and LINQ for searching the cache. Cache Synchronization with SQL Server using SQL dependency.yes
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
gRPC
HTTP REST
JDBC
MySQL wire protocol
ODBC
PostgreSQL wire protocol
Proprietary protocol
IDistributedCache
JCache
LINQ
Proprietary native API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
C# 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
.Net
.Net Core
C#
Java
JavaScript (Node.js)
Python
Scala
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 proceduresnoyesno infosupport for stored procedures with SQL-Server CLRno
Triggersyesnoyes infoNotificationsno
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"key based and customyeshorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleAsynchronous and synchronous physical replication; geographically distributed replicas; support for object storages.yes, with selectable consistency levelUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnoyesyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate ConsistencyEventual Consistency
Immediate Consistency
Strong Eventual Consistency over WAN with Conflict Resolution using Bridge Topology
Immediate Consistency
Foreign keys infoReferential integritynononoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsnooptimistic locking and pessimistic lockingACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesno
User concepts infoAccess controlAccess rights for users can be defined per objectAccess 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.Authentication to access the cache via Active Directory/LDAP (possible roles: user, administrator)Fine grained access rights according to SQL-standard
More information provided by the system vendor
CassandraClickHouseNCacheTiDB
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
NCache has been the market leader in .NET Distributed Caching since 2005 . NCache...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
NCache is 100% .NET/ .NET Core based which fully supports ASP.NET Core Sessions ,...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
NCache enables industries like retail, finance, banking IoT, travel, ecommerce, healthcare...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
Bank of America, Citi, Natures Way, Charter Spectrum, Barclays, Henry Schein, GBM,...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
Market Leader in .NET Distributed Caching since 2005.
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» more
NCache Open Source is free on an as-is basis without any support. NCache Enterprise...
» more
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more
News

How Concide Built its Chat Platform with Enhanced Document Management for Legal Tech Professionals
23 May 2024

Astra Vectorize: Generate Vector Embeddings with 1 Line of Code
22 May 2024

GitHub Copilot + DataStax Astra DB: Build GenAI Apps 100x Faster
21 May 2024

Empowering On-Premises Deployments with Generative AI: Introducing Vector Search for a Self-Managed Modern Architecture
15 May 2024

Tips and Tricks for the DataStax Astra CLI
7 May 2024

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
3rd partiesCassandra Forward event: Want to level up your Cassandra game? Watch now replays of the March 2023 sessions.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more
DoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
» more

Aiven for Clickhouse: Managed cloud data warehousing with high-speed analytics.
» more

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

More resources
CassandraClickHouseNCacheTiDB
DB-Engines blog posts

Cassandra keeps climbing the ranks of the DB-Engines Ranking
3 May 2016, Matthias Gelbmann

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

Winners, losers and an attractive newcomer in Novembers DB-Engines ranking
2 November 2015, Paul Andlinger

show all

Recent citations in the news

Microsoft Build 2024: Cosmos DB for NoSQL gets vector search
21 May 2024, InfoWorld

Why Apache Cassandra 5.0 Is a Game-Changer for Developers
10 May 2024, The New Stack

Cassandra is the “best f*cking database for gen AI,” says DataStax CEO
13 December 2023, VentureBeat

How Uber Optimized Cassandra Operations At Scale
20 July 2023, Uber

Here's What to Know About Apache Cassandra 5.0
15 April 2024, hackernoon.com

provided by Google News

Ubuntu 24.04 + Linux 6.9 Intel & AMD Server Performance
23 May 2024, Phoronix

Why Clickhouse Should Be Your Next Database
6 July 2023, The New Stack

ClickHouse Cloud & Amazon S3 Express One Zone: Making a blazing fast analytical database even faster | Amazon ...
28 November 2023, AWS Blog

A 1000x Faster Database Solution: ClickHouse’s Aaron Katz
1 November 2023, GrowthCap

ClickHouse Announces Launch of ClickPipes
26 September 2023, Datanami

provided by Google News

How to use NCache in ASP.Net Core
25 February 2019, InfoWorld

Custom Response Caching Using NCache in ASP.NET Core
22 April 2020, InfoQ.com

NCache 4.4 Open Sourced
16 January 2015, iProgrammer

provided by Google News

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

Unlocking performance, scalability, and cost-efficiency of Zomato's Billing Platform by switching from TiDB to ...
22 December 2023, AWS Blog

provided by Google News



Share this page

Featured Products

Milvus logo

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

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

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

RaimaDB logo

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

Neo4j logo

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

Present your product here