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

DBMS > CockroachDB vs. GridDB vs. IBM Db2 vs. MariaDB

System Properties Comparison CockroachDB vs. GridDB vs. IBM Db2 vs. MariaDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonGridDB  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMariaDB  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.Scalable in-memory time series database optimized for IoT and Big DataCommon in IBM host environments, 2 different versions for host and Windows/LinuxMySQL 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.
Primary database modelRelational DBMSTime Series DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS
Secondary database modelsKey-value store
Relational DBMS
Document store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Graph DBMS infowith OQGraph storage engine
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score1.91
Rank#123  Overall
#10  Time Series DBMS
Score123.05
Rank#9  Overall
#6  Relational DBMS
Score83.44
Rank#15  Overall
#10  Relational DBMS
Websitewww.cockroachlabs.comgriddb.netwww.ibm.com/­products/­db2mariadb.com infoSite of MariaDB Corporation
mariadb.org infoSite of MariaDB Foundation
Technical documentationwww.cockroachlabs.com/­docsdocs.griddb.netwww.ibm.com/­docs/­en/­db2mariadb.com/­kb/­en/­library
DeveloperCockroach LabsToshiba CorporationIBMMariaDB Corporation Ab (MariaDB Enterprise),
MariaDB Foundation (community MariaDB Server) infoThe lead developer Monty Widenius is the original author of MySQL
Initial release201520131983 infohost version2009 infoFork of MySQL, which was first released in 1995
Current release24.1.0, May 20245.1, August 202212.1, October 201611.5.2, August 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoAGPL version 3 and Apache License, version 2.0 , commercial license (standard and advanced editions) also availablecommercial infofree version is availableOpen Source infoGPL version 2, commercial enterprise subscription available
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++C and C++C and C++
Server operating systemsLinux
macOS
Windows
LinuxAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
Linux
Solaris
Windows infoColumnStore storage engine not available on Windows
Data schemedynamic schemayesyesyes infoDynamic columns are supported
Typing infopredefined data types such as float or dateyesyes infonumerical, string, blob, geometry, boolean, timestampyesyes
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.nonoyes
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL92, SQL-like TQL (Toshiba Query Language)yesyes infowith proprietary extensions
APIs and other access methodsJDBCJDBC
ODBC
Proprietary protocol
RESTful HTTP/JSON API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
Proprietary native API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
C++
Go
Java
JavaScript (Node.js)
Perl
PHP
Python
Ruby
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
Ada
C
C#
C++
D
Eiffel
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnonoyesyes infoPL/SQL compatibility added with version 10.3
Triggersnoyesyesyes
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 RAFTShardingSharding infoonly with Windows/Unix/Linux Versionseveral options for horizontal partitioning and Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTSource-replica replicationyes infowith separate tools (MQ, InfoSphere)Multi-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoConnector for using GridDB as an input source and output destination for Hadoop MapReduce jobsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate consistency within container, eventual consistency across containersImmediate Consistency
Foreign keys infoReferential integrityyesnoyesyes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID at container levelACIDACID infonot for MyISAM storage engine
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes infonot for in-memory storage engine
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes infowith MEMORY storage engine
User concepts infoAccess controlRole-based access controlAccess rights for users can be defined per databasefine grained access rights according to SQL-standardfine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBGridDBIBM Db2 infoformerly named DB2 or IBM Database 2MariaDB
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

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

More resources
CockroachDBGridDBIBM Db2 infoformerly named DB2 or IBM Database 2MariaDB
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

Recent citations in the news

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 Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

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

provided by Google News

Now Features Scale-Out and Scale-Up combo for Petabyte-scale Data Management
3 December 2019, global.toshiba

Toshiba launches cloudy managed IoT database service running its own GridDB
8 April 2021, The Register

’s SQL Interface, Aims to Accelerate Open Innovation
17 June 2020, global.toshiba

TOSHIBA DIGITAL SOLUTIONS CORPORATION
1 November 2020, global.toshiba

IoT: Opt for the Right Open Source Database
11 August 2023, Open Source For You

provided by Google News

Db2 is a story worth telling, even if IBM won't
4 July 2024, The Register

Data migration strategies to Amazon RDS for Db2
15 May 2024, AWS Blog

Six new Db2 capabilities DBAs must try today with Db2 11.5.9
9 April 2024, IBM

Using Oracle Cloud Infrastructure (OCI) GoldenGate with Db2 for z Database
31 May 2024, Oracle

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, Precisely

provided by Google News

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

Proposal Seeks To Replace MySQL With MariaDB By Default For Ubuntu 25.04
20 September 2024, Phoronix

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

provided by Google News



Share this page

Featured Products

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

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

Neo4j logo

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

RaimaDB logo

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

Present your product here