DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

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

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

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonLeanXcale  Xexclude from comparisonPlanetScale  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 highly scalable full ACID SQL database with fast NoSQL data ingestion and GIS capabilitiesScalable, distributed, serverless MySQL database platform built on top of VitessA 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 store
Relational DBMS
Relational DBMSWide column storeRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Time Series DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score0.28
Rank#286  Overall
#41  Key-value stores
#130  Relational DBMS
Score1.09
Rank#178  Overall
#82  Relational DBMS
Score0.01
Rank#378  Overall
#13  Wide column stores
Score4.09
Rank#72  Overall
#38  Relational DBMS
Websitewww.cockroachlabs.comwww.leanxcale.complanetscale.comgithub.com/­kashirin-alex/­swc-db
www.swcdb.org
pingcap.com
Technical documentationwww.cockroachlabs.com/­docsplanetscale.com/­docsdocs.pingcap.com/­tidb/­stable
DeveloperCockroach LabsLeanXcalePlanetScaleAlex KashirinPingCAP, Inc.
Initial release20152015202020202016
Current release24.1.0, May 20240.5, April 20218.2.0, July 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialcommercialOpen Source infoGPL V3Open Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonoyesnono
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
Docker
Linux
macOS
LinuxLinux
Data schemedynamic schemayesyesschema-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.nonono
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infothrough Apache Derbyyes infowith proprietary extensionsSQL-like query languageyes
APIs and other access methodsJDBCJDBC
Kafka Connector
ODBC
proprietary key/value interface
Spark Connector
ADO.NET
JDBC
MySQL protocol
ODBC
Proprietary protocol
Thrift
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
Java
Scala
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
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 proceduresnoyes infoproprietary syntaxnono
Triggersnoyesnono
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 RAFTShardingShardinghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication
Source-replica replication
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 ConsistencyEventual Consistency across shards
Immediate Consistency within a shard
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesyes infonot for MyISAM storage engineyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID at shard levelACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes infotable locks or row locks depending on storage engineyesyes
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.noyesyesnono
User concepts infoAccess controlRole-based access controlUsers with fine-grained authorization concept infono user groups or rolesFine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBLeanXcalePlanetScaleSWC-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
CockroachDBLeanXcalePlanetScaleSWC-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

PlanetScale ends free tier bid, sheds staff in profitability bid
11 March 2024, The Register

PlanetScale Insights Anomalies introduces smart query monitoring
29 November 2023, SDTimes.com

PlanetScale forks MySQL to add vector support
3 October 2023, TechCrunch

Top Database as a Service (DBaaS) Startups
28 August 2024, Tracxn

PlanetScale review: Horizontally scalable MySQL in the cloud
1 September 2021, InfoWorld

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.

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.

SingleStore logo

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

Present your product here