DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. LeanXcale vs. TiDB

System Properties Comparison CockroachDB vs. LeanXcale vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonLeanXcale  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 capabilitiesTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelRelational DBMSKey-value store
Relational DBMS
Relational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.85
Rank#57  Overall
#33  Relational DBMS
Score0.18
Rank#292  Overall
#42  Key-value stores
#136  Relational DBMS
Score3.54
Rank#93  Overall
#49  Relational DBMS
Websitewww.cockroachlabs.comwww.leanxcale.compingcap.com
Technical documentationwww.cockroachlabs.com/­docsdocs.pingcap.com/­tidb/­stable
DeveloperCockroach LabsLeanXcalePingCAP, Inc.
Initial release201520152016
Current release21.1.2, June 20215.0.1, April 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
CockroachDB: A cloud-native, distributed SQL database designed for speed, scale, and survival. Get started for free today with a fully-managed CockroachDB cluster -- leave operations behind and get your app to market faster.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoGo, Rust
Server operating systemsLinux
macOS
Windows
Linux
Data schemedynamic schemayesyes
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 SQLyes, wire compatible with PostgreSQLyes infothrough Apache Derbyyes
APIs and other access methodsJDBCJDBC
Kafka Connector
ODBC
proprietary key/value interface
Spark Connector
JDBC
ODBC
Proprietary protocol
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
Server-side scripts infoStored proceduresnono
Triggersnono
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 RAFThorizontal 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.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesno infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesno
User concepts infoAccess controlRole-based access controlUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
CockroachDBLeanXcaleTiDB
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
Full ACID and full SQL operational database with analytical queries over operational...
» more
TiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Linear scalability upto 100s of nodes (tested with 100 nodes and TPC-C).
» more
In the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
Hybrid Transactional-Analytical Processing (HTAP) requiring an operational database...
» more
TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, MyDoc, Bitski,...
» more
banking/finance/fintech, telco, insurance, traveltech, M2M/IoT, retail
» more
Shopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics8K+ long-running clusters 2.5K+ CockroachDB Self-Hosted clusters 15K+ CockroachDB...
» more
15 beta testers
» more
25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» more
annual fee covering license and support based on number of physical cores
» more
Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

TiDB Operator Source Code Reading (V): Backup and Restore
14 December 2021

Implementing Chaos Engineering in K8s: Chaos Mesh Principle Analysis and Control Plane Development
9 December 2021

TiDB 5.3: Delivering Enhancements for Data Intensive Applications
7 December 2021

Believe in the Multiplicative Power of Openness
30 November 2021

How to Connect TiDB Cloud to Metabase
24 November 2021

Related products and services

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

More resources
CockroachDBLeanXcaleTiDB
Recent citations in the news

O'Reilly Launches New Book: CockroachDB the Definitive Guide
10 May 2022, PR Newswire

How to deploy a CockroachDB cluster in secure mode
27 April 2022, TechRepublic

Leading Distributed Database Company, Cockroach Labs Expands into EMEA
27 April 2022, PR Newswire

Cockroach Labs Named on Inc. Magazine's Annual List of Best Workplaces for 2022
11 May 2022, PR Newswire

CockroachDB database creator Cockroach Labs raises $278M
16 December 2021, VentureBeat

provided by Google News

PingCap brings TiDB distributed SQL HTAP database to cloud
11 May 2022, TechTarget

Raft Engine: a Log-Structured Embedded Storage Engine for Multi-Raft Logs in TiKV
12 May 2022, InfoQ.com

Takuya Hirano Joins PingCAP as an Executive Advisor
19 May 2022, PR Newswire

PingCAP Enhances Support for Data Intensive Applications with TiDB 5.3
7 December 2021, PR Newswire

PingCap TiDB 5.3 Supports Both High Volume Transaction Processing and Real-Time Analytics
4 January 2022, Database Trends and Applications

provided by Google News

Job opportunities

Full Stack Engineer
Intone Networks, Remote

Director, Architecture
Fidelity Investments, Smithfield, RI

Java Software Engineer
Fortinet, Sunnyvale, CA

Software Engineering
JPMorgan Chase Bank, N.A., Jersey City, NJ

Software Engineering - Lead
JPMorgan Chase Bank, N.A., Jersey City, NJ

Sales Account Executive- Remote
PingCAP, Remote

Software Engineer - Availability, Cash App
Cash App, New York, NY

Software Engineer - Availability, Cash App
Cash App, Los Angeles, CA

Software Engineer - Cash Cards
Cash App, Austin, TX

Software Engineer - Cash Cards
Cash App, New York, NY

jobs by Indeed



Share this page

Featured Products

Neo4j logo

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

Redis logo

The world’s most loved real‑time data platform.
Try free

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

Present your product here