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

DBMS > CockroachDB vs. MySQL vs. PlanetScale vs. ToroDB vs. TypeDB

System Properties Comparison CockroachDB vs. MySQL vs. PlanetScale vs. ToroDB vs. TypeDB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMySQL  Xexclude from comparisonPlanetScale  Xexclude from comparisonToroDB  Xexclude from comparisonTypeDB infoformerly named Grakn  Xexclude from comparison
ToroDB seems to be discontinued. Therefore it is excluded from the DB-Engines Ranking.
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.Widely used open source RDBMSScalable, distributed, serverless MySQL database platform built on top of VitessA MongoDB-compatible JSON document store, built on top of PostgreSQLTypeDB is a strongly-typed database with a rich and logical type system and TypeQL as its query language
Primary database modelRelational DBMSRelational DBMS infoKey/Value like access via memcached APIRelational DBMSDocument storeGraph DBMS
Relational DBMS infoOften described as a 'hyper-relational' database, since it implements the 'Entity-Relationship Paradigm' to manage complex data structures and ontologies.
Secondary database modelsDocument store
Spatial DBMS
Document store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score1083.74
Rank#2  Overall
#2  Relational DBMS
Score1.59
Rank#151  Overall
#70  Relational DBMS
Score0.65
Rank#234  Overall
#20  Graph DBMS
#107  Relational DBMS
Websitewww.cockroachlabs.comwww.mysql.complanetscale.comgithub.com/­torodb/­servertypedb.com
Technical documentationwww.cockroachlabs.com/­docsdev.mysql.com/­docplanetscale.com/­docstypedb.com/­docs
DeveloperCockroach LabsOracle infosince 2010, originally MySQL AB, then SunPlanetScale8KdataVaticle
Initial release20151995202020162016
Current release23.1.1, May 20238.4.0, April 20242.26.3, January 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availablecommercialOpen Source infoAGPL-V3Open Source infoGPL Version 3, commercial licenses available
Cloud-based only infoOnly available as a cloud servicenonoyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
Implementation languageGoC and C++GoJavaJava
Server operating systemsLinux
macOS
Windows
FreeBSD
Linux
OS X
Solaris
Windows
Docker
Linux
macOS
All OS with a Java 7 VMLinux
OS X
Windows
Data schemedynamic schemayesyesschema-freeyes
Typing infopredefined data types such as float or dateyesyesyesyes infostring, integer, double, boolean, date, object_idyes
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.noyesnono
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infowith proprietary extensionsyes infowith proprietary extensionsno
APIs and other access methodsJDBCADO.NET
JDBC
ODBC
Proprietary native API
ADO.NET
JDBC
MySQL protocol
ODBC
gRPC protocol
TypeDB Console (shell)
TypeDB Studio (Visualisation software- previously TypeDB Workbase)
Supported programming languagesC#
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
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
All JVM based languages
Groovy
Java
JavaScript (Node.js)
Python
Scala
Server-side scripts infoStored proceduresnoyes infoproprietary syntaxyes infoproprietary syntaxno
Triggersnoyesyesnono
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, sharding with MySQL Cluster or MySQL FabricShardingShardingSharding infoby using Cassandra
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication
Source-replica replication
Multi-source replication
Source-replica replication
Source-replica replicationMulti-source replication infoby using Cassandra
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infoby using Apache Kafka and Apache Zookeeper
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency across shards
Immediate Consistency within a shard
Eventual Consistency
Immediate Consistency
Immediate Consistency
Foreign keys infoReferential integrityyesyes infonot for MyISAM storage engineyes infonot for MyISAM storage enginenono infosubstituted by the relationship feature
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engineACID at shard levelnoACID
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyes infotable locks or row locks depending on storage engineyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesno
User concepts infoAccess controlRole-based access controlUsers with fine-grained authorization concept infono user groups or rolesUsers with fine-grained authorization concept infono user groups or rolesAccess rights for users and rolesyes infoat REST API level; other APIs in progress
More information provided by the system vendor
CockroachDBMySQLPlanetScaleToroDBTypeDB infoformerly named Grakn
Specific characteristicsTypeDB is a polymorphic database with a conceptual data model, a strong subtyping...
» more
Competitive advantagesTypeDB provides a new level of expressivity, extensibility, interoperability, and...
» more
Typical application scenariosLife sciences : TypeDB makes working with biological data much easier and accelerates...
» more
Licensing and pricing modelsApache f or language drivers, and AGPL and Commercial for the database server. The...
» 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
3rd partiesNavicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more

Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
CockroachDBMySQLPlanetScaleToroDBTypeDB infoformerly named Grakn
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, 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

Rule::array() and whereJsonOverlaps() for MySQL in Laravel 11.7
7 May 2024, Laravel News

Enterprise Manager: How Comcast enhanced monitoring for MySQL InnoDB Clusters
22 April 2024, blogs.oracle.com

Amazon Aurora MySQL version 2 (with MySQL 5.7 compatibility) to version 3 (with MySQL 8.0 compatibility) upgrade ...
18 March 2024, AWS Blog

Zendesk Moves from DynamoDB to MySQL and S3 to Save over 80% in Costs
29 December 2023, InfoQ.com

How to Create a MySQL 8 Database User With Remote Access
4 January 2024, TechRepublic

provided by Google News

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

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

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

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

Top 70+ startups in Database as a Service (DBaaS)
5 April 2024, Tracxn

provided by Google News

An Enterprise Data Stack Using TypeDB | by Daniel Crowe
2 September 2021, Towards Data Science

Speedb Goes Open Source With Its Speedb Data Engine, A Drop-in Replacement for RocksDB
9 November 2022, Business Wire

Modelling Biomedical Data for a Drug Discovery Knowledge Graph
6 October 2020, Towards Data Science

How Roche Discovered Novel Potential Gene Targets with TypeDB
8 June 2021, Towards Data Science

Bayer's Approach to Modelling and Loading Data at Scale
16 August 2021, Towards Data Science

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

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

AllegroGraph logo

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

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.

Present your product here