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. Redis vs. ToroDB vs. TypeDB

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

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMySQL  Xexclude from comparisonRedis  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 RDBMSPopular in-memory data platform used as a cache, message broker, and database that can be deployed on-premises, across clouds, and hybrid environments infoRedis focuses on performance so most of its design decisions prioritize high performance and very low latencies.A 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 APIKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceDocument 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 infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
Vector 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
Score157.80
Rank#6  Overall
#1  Key-value stores
Score0.65
Rank#234  Overall
#20  Graph DBMS
#107  Relational DBMS
Websitewww.cockroachlabs.comwww.mysql.comredis.com
redis.io
github.com/­torodb/­servertypedb.com
Technical documentationwww.cockroachlabs.com/­docsdev.mysql.com/­docdocs.redis.com/­latest/­index.html
redis.io/­docs
typedb.com/­docs
DeveloperCockroach LabsOracle infosince 2010, originally MySQL AB, then SunRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.8KdataVaticle
Initial release20151995200920162016
Current release23.1.1, May 20238.4.0, April 20247.2.4, January 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 availableOpen Source infosource-available extensions (modules), commercial licenses for Redis EnterpriseOpen Source infoAGPL-V3Open Source infoGPL Version 3, commercial licenses available
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.
Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.Aiven for Redis: Fully managed in-memory key-value store for all your caching and speedy lookup needs.
Implementation languageGoC and C++CJavaJava
Server operating systemsLinux
macOS
Windows
FreeBSD
Linux
OS X
Solaris
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
All OS with a Java 7 VMLinux
OS X
Windows
Data schemedynamic schemayesschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesyes 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.noyesnonono
Secondary indexesyesyesyes infowith RediSearch moduleyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infowith proprietary extensionswith RediSQL moduleno
APIs and other access methodsJDBCADO.NET
JDBC
ODBC
Proprietary native API
proprietary protocol infoRESP - REdis Serialization ProtocolgRPC 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
C
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
All JVM based languages
Groovy
Java
JavaScript (Node.js)
Python
Scala
Server-side scripts infoStored proceduresnoyes infoproprietary syntaxLua; Redis Functions coming in Redis 7 (slides and Github)no
Triggersnoyespublish/subscribe channels provide some trigger functionality; RedisGearsnono
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 FabricSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardingShardingSharding 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 infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
Source-replica replicationMulti-source replication infoby using Cassandra
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonothrough RedisGearsyes infoby using Apache Kafka and Apache Zookeeper
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Eventual Consistency
Immediate Consistency
Immediate Consistency
Foreign keys infoReferential integrityyesyes infonot for MyISAM storage enginenonono infosubstituted by the relationship feature
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engineAtomic execution of command blocks and scripts and optimistic lockingnoACID
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyes infoData access is serialized by the serveryesyes
Durability infoSupport for making data persistentyesyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyesyes
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 rolesAccess Control Lists (ACLs): redis.io/­docs/­management/­security/­acl
LDAP and Role-Based Access Control (RBAC) for Redis Enterprise
Mutual TLS authentication: redis.io/­docs/­management/­security/­encryption
Password-based authentication
Access rights for users and rolesyes infoat REST API level; other APIs in progress
More information provided by the system vendor
CockroachDBMySQLRedisToroDBTypeDB 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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Navicat 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
Navicat for Redis: the award-winning Redis management tool with an intuitive and powerful graphical interface.
» more

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

Redisson PRO: The ultra-fast Redis Java Client.
» more

Aiven for Redis: Fully managed in-memory key-value store for all your caching and speedy lookup needs.
» more

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

More resources
CockroachDBMySQLRedisToroDBTypeDB 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

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

MongoDB is the DBMS of the year, defending the title from last year
7 January 2015, Paul Andlinger, Matthias Gelbmann

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

Linux Foundation marshals support for open source alternative to Redis
3 April 2024, The Register

The Coolest Database System Companies Of The 2024 Big Data 100
22 April 2024, CRN

Redis switches licenses, acquires Speedb to go beyond its core in-memory database
21 March 2024, TechCrunch

Valkey is Rapidly Overtaking Redis
19 April 2024, DevOps.com

Redis moves to source-available licenses
25 March 2024, InfoWorld

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

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.

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

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

Present your product here