DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Cassandra vs. CockroachDB vs. LeanXcale vs. SWC-DB vs. TiDB

System Properties Comparison Cassandra vs. CockroachDB vs. LeanXcale vs. SWC-DB vs. TiDB

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonCockroachDB  Xexclude from comparisonLeanXcale  Xexclude from comparisonSWC-DB infoSuper Wide Column Database  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.A highly scalable full ACID SQL database with fast NoSQL data ingestion and GIS capabilitiesA high performance, scalable Wide Column DBMSTiDB 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 store
Relational DBMS
Wide column storeRelational DBMS
Secondary database modelsVector DBMS infostarting with release V5Time Series DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score98.83
Rank#12  Overall
#1  Wide column stores
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score0.36
Rank#280  Overall
#40  Key-value stores
#129  Relational DBMS
Score0.08
Rank#364  Overall
#13  Wide column stores
Score4.25
Rank#74  Overall
#40  Relational DBMS
Websitecassandra.apache.orgwww.cockroachlabs.comwww.leanxcale.comgithub.com/­kashirin-alex/­swc-db
www.swcdb.org
pingcap.com
Technical documentationcassandra.apache.org/­doc/­latestwww.cockroachlabs.com/­docsdocs.pingcap.com/­tidb/­stable
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookCockroach LabsLeanXcaleAlex KashirinPingCAP, Inc.
Initial release20082015201520202016
Current release4.1.3, July 202324.1.0, May 20240.5, April 20218.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache 2.0, commercial license availablecommercialOpen Source infoGPL V3Open Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonononono
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.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaGoC++Go, Rust
Server operating systemsBSD
Linux
OS X
Windows
Linux
macOS
Windows
LinuxLinux
Data schemeschema-freedynamic schemayesschema-freeyes
Typing infopredefined data types such as float or dateyesyesyes
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 solutionyesyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yes, wire compatible with PostgreSQLyes infothrough Apache DerbySQL-like query languageyes
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JDBCJDBC
Kafka Connector
ODBC
proprietary key/value interface
Spark Connector
Proprietary protocol
Thrift
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
Java
Scala
C++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 proceduresnononono
Triggersyesnonono
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"horizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTShardinghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleMulti-source replication using RAFTUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnononoyes 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 ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyesyes 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 operationsACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyesnono
User concepts infoAccess controlAccess rights for users can be defined per objectRole-based access controlFine grained access rights according to SQL-standard
More information provided by the system vendor
CassandraCockroachDBLeanXcaleSWC-DB infoSuper Wide Column DatabaseTiDB
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» 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
- 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
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
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» 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
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more
News

An Introduction to David Jones-Gilardi, Developer Relations
11 June 2024

Introducing Tejas Kumar, Developer Relations Engineer
7 June 2024

Indexing All of Wikipedia on a Laptop
5 June 2024

An Introduction to Phil Nash, Developer Relations
3 June 2024

Focus on Creativity, Not Clusters: DataStax Mission Control in Action!
30 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

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

More resources
CassandraCockroachDBLeanXcaleSWC-DB infoSuper Wide Column DatabaseTiDB
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

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

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

DataStax Enterprise 4.0 Gives in-Memory Option to Cassandra
31 May 2024, Data Center Knowledge

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

Microsoft extends life support for aging Apache Cassandra 3.11 database
10 October 2023, The Register

provided by Google News

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

provided by Google News

2022 All O-Zone Football Team
17 December 2022, Ozarks Sports Zone

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

TiDB by PingCAP Leads Data Management Revolution at GIDS 2024, Empowering India's Burgeoning Developer ...
25 April 2024, CXOToday.com

Navigating Modern Data Challenges: Ed Huang, CTO of PingCAP on the Future of Distributed SQL Databases
10 June 2024, DATAQUEST

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

Neo4j logo

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

Present your product here