DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
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, TiDB and MongoDB.

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
Score7.98
Rank#56  Overall
#33  Relational DBMS
Score1205.54
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.31, October 2022
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.
CockroachDB: A cloud-native, distributed SQL database designed for speed, scale, and survival. Get started for free today with a fully-managed CockroachDB cluster -- leave operations behind and get your app to market faster.ScaleGrid for MySQL: Fully managed MySQL hosting On-Premises and on a wide variety of cloud providers. Easily deploy, monitor, provision, and scale your deployments in the cloud.
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, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, Bitski, Five9,...
» more
Market metrics8K+ long-running clusters 2.5K+ CockroachDB self-hosted clusters 20K+ 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 partiesDbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

SQLFlow: 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

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

Arctype: A fast, beautiful database GUI for developers and teams. Download it for free today.
» 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

Hasura Native Integrations with CockroachDB and AWS Athena Give Users Fast, Resilient, Secure GraphQL APIs Instantly
8 November 2022, Business Wire

In Conversation with Spencer Kimball, CEO, Cockroach Labs
17 November 2022, mattturck.com

Cockroach Labs debuts serverless edition of its popular CockroachDB database
21 September 2022, SiliconANGLE News

CockroachDB adds command line tool as database hits version 22.1
24 May 2022, The Register

CockroachDB 22.1 Strengthens its Distributed SQL Database
3 June 2022, Database Trends and Applications

provided by Google News

10 more essential MySQL performance tuning tips
7 November 2022, InfoWorld

Juggling hundreds and thousands of MySQL databases? Throw them into the cloud
22 November 2022, The Register

Analysts view Oracle’s MySQL HeatWave database platform as measuring up to the hype
2 November 2022, SiliconANGLE News

Connect mysql with php using docker and workbench
22 November 2022, SitePoint

3 strategies for migrating MySQL to the AWS Cloud - Latest Digital Transformation Trends | Cloud News
31 October 2022, Wire19

provided by Google News

Job opportunities

.NET Developer
Skillspark AB, Remote

Lead DBA
JPMorgan Chase Bank, N.A., Houston, TX

Infrastructure Engineer II
Bank of America, Charlotte, NC

Software Engineer (L5) - Membership Engineering
Netflix, California

Web Developer PHP/SQL
Round Sky, Las Vegas, NV

 PHP/MySQL Developer
Third Rock, Austin, TX

MySQL DBA
Devcare Solutions, Remote

MySQL Database Developer
Agama Solutions, San Francisco, CA

MySQL DBA (Dallas TX // Charlottee, NC)
Talent Groups, Dallas, TX

PHP/MySQL Software Developer
CORESense, Remote

jobs by Indeed



Share this page

Featured Products

AllegroGraph logo

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

Redis logo

The world’s most loved real‑time data platform.
Try free

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here