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

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

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

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonetcd  Xexclude from comparisonLeanXcale  Xexclude from comparisonSWC-DB infoSuper Wide Column Database  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionCockroachDB 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 distributed reliable key-value storeA 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 modelRelational DBMSKey-value storeKey-value store
Relational DBMS
Wide column storeRelational DBMS
Secondary database modelsTime Series DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score7.05
Rank#53  Overall
#5  Key-value stores
Score0.28
Rank#286  Overall
#41  Key-value stores
#130  Relational DBMS
Score0.01
Rank#378  Overall
#13  Wide column stores
Score4.09
Rank#72  Overall
#38  Relational DBMS
Websitewww.cockroachlabs.cometcd.io
github.com/­etcd-io/­etcd
www.leanxcale.comgithub.com/­kashirin-alex/­swc-db
www.swcdb.org
pingcap.com
Technical documentationwww.cockroachlabs.com/­docsetcd.io/­docs
github.com/­etcd-io/­etcd/­tree/­master/­Documentation
docs.pingcap.com/­tidb/­stable
DeveloperCockroach LabsLeanXcaleAlex KashirinPingCAP, Inc.
Initial release2015201520202016
Current release24.1.0, May 20243.4, August 20190.5, April 20218.2.0, July 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache Version 2.0commercialOpen 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.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoGoC++Go, Rust
Server operating systemsLinux
macOS
Windows
FreeBSD
Linux
Windows infoexperimental
LinuxLinux
Data schemedynamic schemaschema-freeyesschema-freeyes
Typing infopredefined data types such as float or dateyesnoyes
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 indexesyesnoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoyes infothrough Apache DerbySQL-like query languageyes
APIs and other access methodsJDBCgRPC
JSON over HTTP
JDBC
Kafka Connector
ODBC
proprietary key/value interface
Spark Connector
Proprietary protocol
Thrift
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Perl
PHP
Python
R
Ruby
Rust
Scala
Tcl
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
Triggersnoyes, watching key changesnono
Partitioning methods infoMethods for storing different data on different nodeshorizontal 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 nodesMulti-source replication using RAFTUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnoyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDACID
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 controlRole-based access controlnoFine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBetcdLeanXcaleSWC-DB infoSuper Wide Column DatabaseTiDB
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersBlock, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metrics34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsTiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more

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
CockroachDBetcdLeanXcaleSWC-DB infoSuper Wide Column DatabaseTiDB
Recent citations in the news

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

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

Now CockroachDB Ditches Open-Source License
20 August 2024, It's FOSS News

provided by Google News

ETCD guidelines: RBI seeks to balance rupee stability, competitiveness | Policy Circle
8 April 2024, Policy Circle

Public preview: AKS cluster control plane metrics in managed Prometheus
12 February 2024, Microsoft

Is Your etcd an Open Door for Cyber Attacks? How to Secure Your Kubernetes Clusters & Nodes
8 November 2023, Information Security Newspaper

Monitor Amazon EKS Control Plane metrics using AWS Open Source monitoring services
12 October 2023, AWS Blog

6 Cool Kubernetes Operators and How to Use Them
22 January 2024, hackernoon.com

provided by Google News

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

provided by Google News

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

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

TiDB Can Do What MongoDB or CockRoachDB Can’t
27 June 2024, AIM

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

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

provided by Google News



Share this page

Featured Products

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.

SingleStore logo

The data platform to build your intelligent applications.
Try it 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

Milvus logo

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

Present your product here