DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Badger vs. CockroachDB vs. PlanetScale vs. YugabyteDB

System Properties Comparison Badger vs. CockroachDB vs. PlanetScale vs. YugabyteDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBadger  Xexclude from comparisonCockroachDB  Xexclude from comparisonPlanetScale  Xexclude from comparisonYugabyteDB  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.Scalable, distributed, serverless MySQL database platform built on top of VitessHigh-performance distributed SQL database for global, internet-scale applications. Wire and feature compatible with PostgreSQL.
Primary database modelKey-value storeRelational DBMSRelational DBMSRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
Wide column store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.22
Rank#320  Overall
#47  Key-value stores
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score1.49
Rank#155  Overall
#72  Relational DBMS
Score2.63
Rank#109  Overall
#53  Relational DBMS
Websitegithub.com/­dgraph-io/­badgerwww.cockroachlabs.complanetscale.comwww.yugabyte.com
Technical documentationgodoc.org/­github.com/­dgraph-io/­badgerwww.cockroachlabs.com/­docsplanetscale.com/­docsdocs.yugabyte.com
github.com/­yugabyte/­yugabyte-db
DeveloperDGraph LabsCockroach LabsPlanetScaleYugabyte Inc.
Initial release2017201520202017
Current release24.1.0, May 20242.19, September 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoApache 2.0, commercial license availablecommercialOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
YugabyteDB Managed is the fully managed database-as-a-service offering of YugabyteDB. Get started quickly, and effortlessly ensure continuous availability and limitless scale of your cloud native applications.
Implementation languageGoGoGoC and C++
Server operating systemsBSD
Linux
OS X
Solaris
Windows
Linux
macOS
Windows
Docker
Linux
macOS
Linux
OS X
Data schemeschema-freedynamic schemayesdepending on used data model
Typing infopredefined data types such as float or datenoyesyesyes
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 indexesnoyesyesyes
SQL infoSupport of SQLnoyes, wire compatible with PostgreSQLyes infowith proprietary extensionsyes, PostgreSQL compatible
APIs and other access methodsJDBCADO.NET
JDBC
MySQL protocol
ODBC
JDBC
YCQL, an SQL-based flexible-schema API with its roots in Cassandra Query Language
YSQL - a fully relational SQL API that is wire compatible with the SQL language in PostgreSQL
Supported programming languagesGoC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
C
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Scala
Server-side scripts infoStored proceduresnonoyes infoproprietary syntaxyes infosql, plpgsql, C
Triggersnonoyesyes
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 RAFTShardingHash and Range Sharding, row-level geo-partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMulti-source replication using RAFTMulti-source replication
Source-replica replication
Based on Raft distributed consensus protocol, minimum 3 replicas for continuous availability
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyEventual Consistency across shards
Immediate Consistency within a shard
Strong consistency on writes and tunable consistency on reads
Foreign keys infoReferential integritynoyesyes infonot for MyISAM storage engineyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACID at shard levelDistributed ACID with Serializable & Snapshot Isolation. Inspired by Google Spanner architecture.
Concurrency infoSupport for concurrent manipulation of datayesyesyes infotable locks or row locks depending on storage engineyes
Durability infoSupport for making data persistentyesyesyesyes infobased on RocksDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyesno
User concepts infoAccess controlnoRole-based access controlUsers with fine-grained authorization concept infono user groups or rolesyes
More information provided by the system vendor
BadgerCockroachDBPlanetScaleYugabyteDB
Specific characteristicsYugabyteDB is an open source distributed SQL database for cloud native transactional...
» more
Competitive advantagesPostgreSQL compatible: Get instantly productive with a PostgreSQL compatible RDBMS....
» more
Typical application scenariosSystems of record and engagement for cloud native applications that require resilience,...
» more
Market metrics2 Million+ lifetime clusters deployed, 6.5K+ GitHub stars, 7K YugabyteDB Community...
» more
Licensing and pricing modelsApache 2.0 license for the database
» 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
BadgerCockroachDBPlanetScaleYugabyteDB
Recent citations in the 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

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

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

provided by Google News

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

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

PlanetScale Named to Fortune 2023 Best Small Workplaces
31 August 2023, Business Wire

PlanetScale Ranked Number 188 Fastest-Growing Company in North America on the 2023 Deloitte Technology Fast ...
8 November 2023, FinTech Futures

PlanetScale forks MySQL to add vector support
3 October 2023, Yahoo Movies Canada

provided by Google News

YugabyteDB Becomes First Distributed SQL Database Vendor to Complete CIS Benchmark
1 February 2024, Datanami

Yugabyte Achieves PCI DSS Level 1 Compliance, Validating Secure and Scalable Distributed PostgreSQL for ...
14 March 2024, businesswire.com

The surprising link between Formula One and enterprise PostgreSQL optimisation
28 March 2024, The Stack

Yugabyte Embraces 'No Downtime, No Limits,' as the Theme of the Upcoming Distributed SQL Summit Asia
18 April 2024, businesswire.com

Can Yugabyte Become The Defacto Database For Large-Scale, Cloud Native Applications?
20 May 2022, Forbes

provided by Google News



Share this page

Featured Products

Milvus logo

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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

Present your product here