DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > CockroachDB vs. MySQL

System Properties Comparison CockroachDB vs. MySQL

Please select another system to include it in the comparison.

Our visitors often compare CockroachDB and MySQL with PostgreSQL, TiDB and Apache Cassandra.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMySQL  Xexclude from comparison
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 RDBMS
Primary database modelRelational DBMSRelational DBMS infoKey/Value like access via memcached API
Secondary database modelsDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.90
Rank#68  Overall
#36  Relational DBMS
Score964.98
Rank#2  Overall
#2  Relational DBMS
Websitewww.cockroachlabs.comwww.mysql.com
Technical documentationwww.cockroachlabs.com/­docsdev.mysql.com/­doc
DeveloperCockroach LabsOracle infosince 2010, originally MySQL AB, then Sun
Initial release20151995
Current release24.1.0, May 20249.0.0, July 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoGPL version 2. Commercial licenses with extended functionallity are available
Cloud-based only infoOnly available as a cloud servicenono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoC and C++
Server operating systemsLinux
macOS
Windows
FreeBSD
Linux
OS X
Solaris
Windows
Data schemedynamic schemayes
Typing infopredefined data types such as float or dateyesyes
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
Secondary indexesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infowith proprietary extensions
APIs and other access methodsJDBCADO.NET
JDBC
ODBC
Proprietary native API
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
Server-side scripts infoStored proceduresnoyes infoproprietary syntax
Triggersnoyes
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 Fabric
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engine
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engine
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes
User concepts infoAccess controlRole-based access controlUsers with fine-grained authorization concept infono user groups or roles

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
CockroachDBMySQL
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

IBM Expands Its Hybrid Cloud and AI Capabilities with CockroachDB Integration
7 May 2025, TipRanks

Cockroach Labs Brings Distributed SQL to IBM LinuxONE and Linux on IBM Z
7 May 2025, StreetInsider

Cockroach Labs Brings Distributed SQL to IBM LinuxONE and Linux on IBM Z
7 May 2025, Longview News-Journal

AI Meets Resilience: Cockroach Labs Intros CockroachDB 24.2
2 October 2024, Channel Insider

Now CockroachDB Ditches Open-Source License
20 August 2024, It's FOSS News

provided by Google News

30 years of MySQL, the database that changed the world
6 May 2025, theregister.com

Study and Get Certified For MySQL With Oracle University For Free
6 May 2025, i-programmer.info

Continuent Releases Tungsten Cluster v8, Expanding Enterprise-Grade MySQL High Availability with Powerful New Features and Tools
6 May 2025, Yahoo Finance

MySQL Explained: Your Guide to Mastering This Powerful Database
29 August 2024, Oracle

Migrate very large databases to Amazon Aurora MySQL using MyDumper and MyLoader
27 February 2025, Amazon Web Services

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.

RaimaDB logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it 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