DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > CockroachDB vs. MariaDB vs. MySQL vs. StarRocks

System Properties Comparison CockroachDB vs. MariaDB vs. MySQL vs. StarRocks

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMariaDB  Xexclude from comparisonMySQL  Xexclude from comparisonStarRocks  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.MySQL application compatible open source RDBMS, enhanced with high availability, security, interoperability and performance capabilities. MariaDB ColumnStore provides a column-oriented storage engine and MariaDB Xpand supports distributed SQL.Widely used open source RDBMSAn open source, high-performance columnar analytical database that enables real-time, multi-dimensional, and highly concurrent data analytics infoForked from Apache Doris
Primary database modelRelational DBMSRelational DBMSRelational DBMS infoKey/Value like access via memcached APIRelational DBMS
Secondary database modelsDocument store
Graph DBMS infowith OQGraph storage engine
Spatial DBMS
Document store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score83.44
Rank#15  Overall
#10  Relational DBMS
Score1029.49
Rank#2  Overall
#2  Relational DBMS
Score0.95
Rank#193  Overall
#89  Relational DBMS
Websitewww.cockroachlabs.commariadb.com infoSite of MariaDB Corporation
mariadb.org infoSite of MariaDB Foundation
www.mysql.comwww.starrocks.io
Technical documentationwww.cockroachlabs.com/­docsmariadb.com/­kb/­en/­librarydev.mysql.com/­docdocs.starrocks.io/­en-us/­latest/­introduction/­StarRocks_intro
DeveloperCockroach LabsMariaDB Corporation Ab (MariaDB Enterprise),
MariaDB Foundation (community MariaDB Server) infoThe lead developer Monty Widenius is the original author of MySQL
Oracle infosince 2010, originally MySQL AB, then SunThe Linux Foundation infosince Feb 2023
Initial release20152009 infoFork of MySQL, which was first released in 199519952020
Current release24.1.0, May 202411.5.2, August 20249.0.0, July 20243.3, June 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoGPL version 2, commercial enterprise subscription availableOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoApache Version 2.0
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
STACKIT MariaDB offers MariaDB in a fully managed version in enterprise grade, 100% GDPR-compliant.
Implementation languageGoC and C++C and C++C++, Java
Server operating systemsLinux
macOS
Windows
FreeBSD
Linux
Solaris
Windows infoColumnStore storage engine not available on Windows
FreeBSD
Linux
OS X
Solaris
Windows
Linux
Data schemedynamic schemayes infoDynamic columns are supportedyesyes
Typing infopredefined data types such as float or dateyesyesyesyes
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.noyesyesno
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infowith proprietary extensionsyes infowith proprietary extensionsyes
APIs and other access methodsJDBCADO.NET
JDBC
ODBC
Proprietary native API
ADO.NET
JDBC
ODBC
Proprietary native API
JDBC
MySQL protocol
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Ada
C
C#
C++
D
Eiffel
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Java
Server-side scripts infoStored proceduresnoyes infoPL/SQL compatibility added with version 10.3yes infoproprietary syntaxuser defined functions
Triggersnoyesyesno
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 RAFTseveral options for horizontal partitioning and Shardinghorizontal partitioning, sharding with MySQL Cluster or MySQL Fabrichorizontal partitioning (by range and hash)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication
Source-replica replication
Multi-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyes infonot for MyISAM storage engineyes infonot for MyISAM storage engineno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engineACID infonot for MyISAM storage engineno
Concurrency infoSupport for concurrent manipulation of datayesyesyes infotable locks or row locks depending on storage engineyes
Durability infoSupport for making data persistentyesyes infonot for in-memory storage engineyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infowith MEMORY storage engineyesno
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or rolesRole based access control and fine grained access rights
More information provided by the system vendor
CockroachDBMariaDBMySQLStarRocks
Specific characteristicsMariaDB is the most powerful open source relational database – modern SQL and JSON...
» more
Competitive advantagesMariaDB Servers have many features unavailable in other open source relational databases....
» more
Typical application scenariosWeb, SaaS and Cloud operational applications that require high availability, scalability...
» more
Key customersDeutsche Bank, DBS Bank, Nasdaq, Red Hat, ServiceNow, Verizon and Walgreens Featured...
» more
Market metricsMariaDB is the default database in the LAMP stack supplied by Red Hat and SUSE Linux,...
» more
Licensing and pricing modelsMariaDB plc subscriptions cover our free, open source database, Community Server,...
» 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 MariaDB provides a native environment for MariaDB database management and development.
» more
Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more

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

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

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

More resources
CockroachDBMariaDBMySQLStarRocks
DB-Engines blog posts

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

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

Cockroach Labs Sets a New Benchmark in Enterprise Resilience with Next-Generation AI Capabilities and Enhanced Cloud Tiers
26 September 2024, PR Newswire

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

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

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

Cockroach Labs Shifts from Open Core to Single Enterprise Model
19 August 2024, Datanami

provided by Google News

K1 Acquires MariaDB, a Leading Database Software Company, and Appoints New CEO
10 September 2024, PR Newswire

MariaDB goes private after acquisition by K1 Investment Management
10 September 2024, SiliconANGLE News

MariaDB goes private with new CEO as K1 closes acquisition
10 September 2024, TechCrunch

ServiceNow moves its backend off MariaDB to homebrew Postgres
10 September 2024, The Register

Progress Software Corp. Statement regarding a Possible Offer for MariaDB plc
19 April 2024, Progress Investor Relations

provided by Google News

Learn how Presence migrated off a monolithic Amazon RDS for MySQL instance, with near-zero downtime, using replication filters
17 September 2024, AWS Blog

HeatWave MySQL – New Capabilities for OLTP Workloads
10 September 2024, Oracle

Older PHP & MySQL no longer working in Later Versions
15 May 2024, SitePoint

How to get started with MySQL
31 July 2024, InfoWorld

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

provided by Google News

StarRocks analytical DB heads to Linux Foundation
14 February 2023, VentureBeat

StarRocks Announces Incorporation of CelerData
1 September 2022, Datanami

How vectorization improves database performance
15 November 2022, InfoWorld

StarRocks’ real-time analytics engine moves to the cloud
14 July 2022, SiliconANGLE News

StarRocks Launches the Industry's Fastest, Cloud Native, Real-time Analytics Engine
14 July 2022, GlobeNewswire

provided by Google News



Share this page

Featured Products

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

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.

Present your product here