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

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

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

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonLeanXcale  Xexclude from comparisonLokiJS  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 capabilitiesIn-memory JavaScript DBMSA 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
Document storeWide 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
Score0.28
Rank#286  Overall
#41  Key-value stores
#130  Relational DBMS
Score0.44
Rank#256  Overall
#40  Document stores
Score0.01
Rank#378  Overall
#13  Wide column stores
Score4.09
Rank#72  Overall
#38  Relational DBMS
Websitewww.cockroachlabs.comwww.leanxcale.comgithub.com/­techfort/­LokiJSgithub.com/­kashirin-alex/­swc-db
www.swcdb.org
pingcap.com
Technical documentationwww.cockroachlabs.com/­docstechfort.github.io/­LokiJSdocs.pingcap.com/­tidb/­stable
DeveloperCockroach LabsLeanXcaleAlex KashirinPingCAP, Inc.
Initial release20152015201420202016
Current release24.1.0, May 20240.5, April 20218.2.0, July 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialOpen SourceOpen 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 languageGoJavaScriptC++Go, Rust
Server operating systemsLinux
macOS
Windows
server-less, requires a JavaScript environment (browser, Node.js)LinuxLinux
Data schemedynamic schemayesschema-freeschema-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 indexesyesyes infovia viewsyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infothrough Apache DerbynoSQL-like query languageyes
APIs and other access methodsJDBCJDBC
Kafka Connector
ODBC
proprietary key/value interface
Spark Connector
JavaScript APIProprietary 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
JavaScriptC++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 proceduresnoView functions in JavaScriptnono
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 RAFTnoneShardinghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencynoneImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDno infoatomic operations within a single collection possibleACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yesyes
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 controlnoFine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBLeanXcaleLokiJSSWC-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
CockroachDBLeanXcaleLokiJSSWC-DB infoSuper Wide Column DatabaseTiDB
DB-Engines blog posts

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

show all

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

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

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.

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

Neo4j logo

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

Milvus logo

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

Present your product here