DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. Derby vs. MySQL

System Properties Comparison CockroachDB vs. Derby vs. MySQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  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.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Widely used open source RDBMS
Primary database modelRelational DBMSRelational 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.61
Rank#65  Overall
#36  Relational DBMS
Score6.87
Rank#60  Overall
#34  Relational DBMS
Score1163.94
Rank#2  Overall
#2  Relational DBMS
Websitewww.cockroachlabs.comdb.apache.org/­derbywww.mysql.com
Technical documentationwww.cockroachlabs.com/­docsdb.apache.org/­derby/­manuals/­index.htmldev.mysql.com/­doc
DeveloperCockroach LabsApache Software FoundationOracle infosince 2010, originally MySQL AB, then Sun
Initial release201519971995
Current release23.1.1, May 202310.16.1.1, May 20228.0.33, April 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache version 2Open Source infoGPL version 2. Commercial licenses with extended functionallity are available
Cloud-based only infoOnly available as a cloud servicenonono
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.
  • PlanetScale: Deploy a fully managed database with the reliability of MySQL and the scale of open source Vitess with PlanetScale today. Predictably scale, increase workflow velocity, and deploy features with zero downtime.
Implementation languageGoJavaC and C++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMFreeBSD
Linux
OS X
Solaris
Windows
Data schemedynamic schemayesyes
Typing infopredefined data types such as float or dateyesyesyes
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.noyesyes
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesyes infowith proprietary extensions
APIs and other access methodsJDBCJDBCADO.NET
JDBC
ODBC
Proprietary native API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
JavaAda
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 proceduresnoJava Stored Proceduresyes infoproprietary syntax
Triggersnoyesyes
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 RAFTnonehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabric
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTSource-replica replicationMulti-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesyes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID infonot for MyISAM storage engine
Concurrency infoSupport for concurrent manipulation of datayesyesyes infotable locks or row locks depending on storage engine
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or roles
More information provided by the system vendor
CockroachDBDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBMySQL
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 metrics10K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ 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 partiesNavicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

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

PlanetScale: Deploy a fully managed serverless database with the reliability of MySQL and the tested scalability of Vitess. Predictably scale, increase workflow velocity, and deploy features with zero downtime.
Get started with a PlanetScale database today for free.
» 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

DbVisualizer 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

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

More resources
CockroachDBDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBMySQL
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 now supports Microsoft Azure, multiregion deployments
16 May 2023, InfoWorld

Launch of CockroachDB-as-a-Service Optimizes and Enhances ...
1 June 2023, Database Trends and Applications

MariaDB's Xpand offers PostgreSQL compatibility without the forking drama
10 May 2023, The Register

Database Futures with a Cockroach Labs Co-Founder
27 January 2023, Datanami

Finleap goes cloud-native with the help of CockroachDB
23 March 2023, SiliconANGLE News

provided by Google News

Apache Derby | GoLand Documentation
21 February 2023, jetbrains.com

Apache Derby - Market Share, Competitor Insights in Relational Databases
22 March 2023, 6sense.com

Missing dependency: Spring Boot 3.x + embedded apache derby · Issue #34923 · spring-projects/spring-boot
10 April 2023, github.com

Buy Spring Boot Apache Derby | UP TO 59% OFF
3 June 2023, packbox.in

How to fix Derby issue for Apache Netbeans IDE 15
5 November 2022, stackoverflow.com

provided by Google News

Turbocharge your MySQL with HeatWave | nasscom | The Official ...
8 June 2023, NASSCOM Community

Oracle Support for MySQL 5.7 Ends Soon, Key Upgrades in 8.0
30 May 2023, The New Stack

Building and deploying MySQL Raft at Meta
16 May 2023, Facebook Engineering

If you don't brush and floss, you're gonna get an abscess – same with MySQL updates
11 May 2023, The Register

Are you planning ahead for the MySQL 5.7 end of life? [Q&A]
22 May 2023, BetaNews

provided by Google News

Job opportunities

Kubernetes Engineer
Flywheel Exchange, Remote

AWS DevOps Engineer
Intone Networks, Plano, TX

Strategy & Operations Manager, Office of the CEO - New York, San Francisco
Cockroach Labs, New York, NY

Backend Engineer, Managed Datastores
Render, San Francisco Bay Area, CA

Full Stack Web Developer
Game Changer Studio LLC, Remote

DEV OPS ENGINEER
Esperanto.ai, Mountain View, CA

Mid-Level PHP/MySQL Programmer/Developer
ApplicantPro, Remote

PHP/MySQL Developers
Webmasters.com, Tampa, FL

PHP Developers
10Types, Wilmington, DE

LARAVEL DEVELOPER
Coalition Technologies, Culver City, CA

DIGITAL STRATEGIST
Coalition Technologies, Culver City, CA

jobs by Indeed



Share this page

Featured Products

Neo4j logo

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

Cassandra Forward online event

Want to level up your Cassandra game?
If you missed the event or would like to re-watch a session, replays are available now. Watch now!

AllegroGraph logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Redis logo

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

Present your product here