DB-EnginesextremeDB - Data management wherever you need itEnglish
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 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
Score4.02
Rank#68  Overall
#37  Relational DBMS
Score999.99
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
3rd partiesCData: 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

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

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scurries off to proprietary software land
23 August 2024, The Register

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

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

provided by Google News

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

Amazon RDS for MySQL LTS version 8.4 is now generally available
21 November 2024, AWS Blog

Upgrading Uber’s MySQL Fleet to version 8.0
8 August 2024, Uber

How To Set, Change, and Recover Your MySQL Root Password
3 January 2025, TechRepublic

Top 100+ Node.js Interview Questions and Answers for 2025
3 February 2025, Simplilearn

provided by Google News



Share this page

Featured Products

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

RaimaDB logo

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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

Present your product here