DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Badger vs. CockroachDB vs. RethinkDB vs. SwayDB vs. XTDB

System Properties Comparison Badger vs. CockroachDB vs. RethinkDB vs. SwayDB vs. XTDB

Editorial information provided by DB-Engines
NameBadger  Xexclude from comparisonCockroachDB  Xexclude from comparisonRethinkDB  Xexclude from comparisonSwayDB  Xexclude from comparisonXTDB infoformerly named Crux  Xexclude from comparison
DescriptionAn embeddable, persistent, simple and fast Key-Value Store, written purely in Go.CockroachDB 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.DBMS for the Web with a mechanism to push updated query results to applications in realtime.An embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storageA general purpose database with bitemporal SQL and Datalog and graph queries
Primary database modelKey-value storeRelational DBMSDocument storeKey-value storeDocument store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.14
Rank#331  Overall
#49  Key-value stores
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score2.74
Rank#105  Overall
#19  Document stores
Score0.00
Rank#382  Overall
#59  Key-value stores
Score0.11
Rank#343  Overall
#46  Document stores
Websitegithub.com/­dgraph-io/­badgerwww.cockroachlabs.comrethinkdb.comswaydb.simer.augithub.com/­xtdb/­xtdb
www.xtdb.com
Technical documentationgodoc.org/­github.com/­dgraph-io/­badgerwww.cockroachlabs.com/­docsrethinkdb.com/­docswww.xtdb.com/­docs
DeveloperDGraph LabsCockroach LabsThe Linux Foundation infosince July 2017Simer PlahaJuxt Ltd.
Initial release20172015200920182019
Current release23.1.1, May 20232.4.1, August 20201.19, September 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoApache 2.0, commercial license availableOpen Source infoApache Version 2Open Source infoGNU Affero GPL V3.0Open Source infoMIT License
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.
Implementation languageGoGoC++ScalaClojure
Server operating systemsBSD
Linux
OS X
Solaris
Windows
Linux
macOS
Windows
Linux
OS X
Windows
All OS with a Java 8 (and higher) VM
Linux
Data schemeschema-freedynamic schemaschema-freeschema-freeschema-free
Typing infopredefined data types such as float or datenoyesyes infostring, binary, float, bool, date, geometrynoyes, extensible-data-notation format
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.nonononono
Secondary indexesnoyesyesnoyes
SQL infoSupport of SQLnoyes, wire compatible with PostgreSQLnonolimited SQL, making use of Apache Calcite
APIs and other access methodsJDBCHTTP REST
JDBC
Supported programming languagesGoC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C infocommunity-supported driver
C# infocommunity-supported driver
C++ infocommunity-supported driver
Clojure infocommunity-supported driver
Dart infocommunity-supported driver
Erlang infocommunity-supported driver
Go infocommunity-supported driver
Haskell infocommunity-supported driver
Java infoofficial driver
JavaScript (Node.js) infoofficial driver
Lisp infocommunity-supported driver
Lua infocommunity-supported driver
Objective-C infocommunity-supported driver
Perl infocommunity-supported driver
PHP infocommunity-supported driver
Python infoofficial driver
Ruby infoofficial driver
Scala infocommunity-supported driver
Java
Kotlin
Scala
Clojure
Java
Server-side scripts infoStored proceduresnononono
TriggersnonoClient-side triggers through changefeedsnono
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal 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 RAFTSharding inforange basednonenone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMulti-source replication using RAFTSource-replica replicationnoneyes, each node contains all data
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDAtomic single-document operationsAtomic execution of operationsACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoMVCC basedyesyes
Durability infoSupport for making data persistentyesyesyesyesyes, flexibel persistency by using storage technologies like Apache Kafka, RocksDB or LMDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nononoyes
User concepts infoAccess controlnoRole-based access controlyes infousers and table-level permissionsno

More information provided by the system vendor

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
BadgerCockroachDBRethinkDBSwayDBXTDB infoformerly named Crux
DB-Engines blog posts

Meet some database management systems you are likely to hear more about in the future
4 August 2014, Paul Andlinger

show all

Recent citations in the news

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

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

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

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

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

provided by Google News

How to Use RethinkDB with Node.js Applications — SitePoint
16 December 2015, SitePoint

Stripe acquires team behind NoSQL database startup RethinkDB
5 October 2016, VentureBeat

MongoDB: The Popular Database for IoT
15 August 2023, Open Source For You

RethinkDB is dead, and MongoDB isn't what killed it
24 January 2017, TechRepublic

Review: RethinkDB rethinks real-time Web apps
23 September 2015, InfoWorld

provided by Google News



Share this page

Featured Products

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

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

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.

Present your product here