DB-EnginesExtremeDB: the first and only COTS deterministic embedded database management system for mission- and safety-critical hard real-time applicationsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

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, MongoDB and Google Cloud Spanner.

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
Score6.93
Rank#58  Overall
#32  Relational DBMS
Score1206.04
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 release21.1.2, June 20218.0.27, October 2021
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.
CockroachCloud: Get your applications to market faster with a fully managed CockroachDB instance. Leave the daily maintenance, security, and operations of your database to us, and spend more time building apps and running your business.ScaleGrid for MySQL: Fully managed MySQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
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
CockroachDBMySQL
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Typical application scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
Key customersComcast, eBay, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, MyDoc,...
» more
Market metrics6.5K+ long-running clusters 1.5K+ CockroachDB Self-Hosted clusters 6.5K+ CockroachDB...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» 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 partiesSQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» 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
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

CockroachDB update scales distributed SQL database
16 November 2021, TechTarget

Cockroach Labs Delivers an Improved Developer Experience with CockroachDB 21.2
24 November 2021, Database Trends and Applications

Break point: XCRemote Cache, PagerDuty, Prometheus, CockroachDB, and Spring Data • DEVCLASS
19 November 2021, DevClass

The CockroachDB EC-1
15 July 2021, TechCrunch

Cockroach Labs Introduces CockroachDB Serverless: Build What You Dream and Never Worry about the Database
19 October 2021, PRNewswire

provided by Google News

Amazon Aurora Supports MySQL 8.0
29 November 2021, InfoQ.com

PlanetScale Scalable Serverless MySQL Database Now Generally Available
23 November 2021, Database Trends and Applications

PlanetScale Introduces Managed Cloud to Scale MySQL Databases
11 November 2021, InfoQ.com

How to install MySQL 8.0 Server on Debian 11 Bullseye
26 November 2021, Linux Shout

Microsoft Announces the General Availability of Azure Database for MySQL - Flexible Server
5 November 2021, InfoQ.com

provided by Google News

Job opportunities

Salesforce Administrator, Remote, US
Cockroach Labs, Remote

Sales Development Representative
Cockroach Labs, French, VA

CockroachDB Engineer (Remote)
Pinnacle Group, Plano, TX

Sales Commissions Manager
Cockroach Labs, United States

Senior Software Engineer
Netflix, Remote

Software Developer - Full Remote
MobyMax, Remote

Software Developer – Entry Level
Grant Street Group, Remote

Software Developer (Entry Level)
UltiSat, Remote

48338
Zachary Piper Solutions LLC, Remote

Perl CGI Expert
Tellus solutions, Remote

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

Couchbase logo

The modern database for enterprise applications. Build fast. Scale Big. Save more.
Get started today.

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.

Present your product here