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. Citus vs. CockroachDB vs. TerarkDB

System Properties Comparison Badger vs. Citus vs. CockroachDB vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBadger  Xexclude from comparisonCitus  Xexclude from comparisonCockroachDB  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionAn embeddable, persistent, simple and fast Key-Value Store, written purely in Go.Scalable hybrid operational and analytics RDBMS for big data use cases based on PostgreSQLCockroachDB 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 key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelKey-value storeRelational DBMSRelational DBMSKey-value store
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.14
Rank#331  Overall
#49  Key-value stores
Score2.21
Rank#118  Overall
#56  Relational DBMS
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score0.00
Rank#383  Overall
#60  Key-value stores
Websitegithub.com/­dgraph-io/­badgerwww.citusdata.comwww.cockroachlabs.comgithub.com/­bytedance/­terarkdb
Technical documentationgodoc.org/­github.com/­dgraph-io/­badgerdocs.citusdata.comwww.cockroachlabs.com/­docsbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperDGraph LabsCockroach LabsByteDance, originally Terark
Initial release2017201020152016
Current release8.1, December 201824.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoAGPL, commercial license also availableOpen Source infoApache 2.0, commercial license availablecommercial inforestricted open source version available
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoCGoC++
Server operating systemsBSD
Linux
OS X
Solaris
Windows
LinuxLinux
macOS
Windows
Data schemeschema-freeyesdynamic schemaschema-free
Typing infopredefined data types such as float or datenoyesyesno
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.noyes infospecific XML type available, but no XML query functionalitynono
Secondary indexesnoyesyesno
SQL infoSupport of SQLnoyes infostandard, with numerous extensionsyes, wire compatible with PostgreSQLno
APIs and other access methodsADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBCC++ API
Java API
Supported programming languagesGo.Net
C
C++
Delphi
Java
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C++
Java
Server-side scripts infoStored proceduresnouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.nono
Triggersnoyesnono
Partitioning methods infoMethods for storing different data on different nodesnoneShardinghorizontal 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 RAFTnone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneSource-replica replication infoother methods possible by using 3rd party extensionsMulti-source replication using RAFTnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nononoyes
User concepts infoAccess controlnofine grained access rights according to SQL-standardRole-based access controlno

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
BadgerCitusCockroachDBTerarkDB
Recent citations in the news

Ubicloud wants to build an open source alternative to AWS
5 March 2024, TechCrunch

Ubicloud reels in $16M for its open-source cloud platform
5 March 2024, SiliconANGLE News

Microsoft acquires Citus Data, re-affirming its commitment to Open Source and accelerating Azure PostgreSQL ...
24 January 2019, blogs.microsoft.com

Microsoft Benchmarks Distributed PostgreSQL DBs
10 July 2023, Datanami

Distributed PostgreSQL Benchmarks: Azure Cosmos DB, CockroachDB, and YugabyteDB
8 July 2023, InfoQ.com

provided by Google News

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

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

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

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

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

provided by Google News



Share this page

Featured Products

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.

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Milvus logo

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

Present your product here