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

DBMS > ClickHouse vs. Google Cloud Spanner vs. IBM Db2 vs. MariaDB

System Properties Comparison ClickHouse vs. Google Cloud Spanner vs. IBM Db2 vs. MariaDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameClickHouse  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMariaDB  Xexclude from comparison
DescriptionA high-performance, column-oriented SQL DBMS for online analytical processing (OLAP) that uses all available system resources to their full potential to process each analytical query as fast as possible. It is available as both an open-source software and a cloud offering.A horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.Common 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 DBMSRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS
Secondary database modelsTime Series DBMSDocument 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
Score15.88
Rank#37  Overall
#22  Relational DBMS
Score2.69
Rank#101  Overall
#51  Relational DBMS
Score123.05
Rank#9  Overall
#6  Relational DBMS
Score83.44
Rank#15  Overall
#10  Relational DBMS
Websiteclickhouse.comcloud.google.com/­spannerwww.ibm.com/­products/­db2mariadb.com infoSite of MariaDB Corporation
mariadb.org infoSite of MariaDB Foundation
Technical documentationclickhouse.com/­docscloud.google.com/­spanner/­docswww.ibm.com/­docs/­en/­db2mariadb.com/­kb/­en/­library
DeveloperClickhouse Inc.GoogleIBMMariaDB Corporation Ab (MariaDB Enterprise),
MariaDB Foundation (community MariaDB Server) infoThe lead developer Monty Widenius is the original author of MySQL
Initial release201620171983 infohost version2009 infoFork of MySQL, which was first released in 1995
Current releasev24.6.2.17-stable, July 202412.1, October 201611.5.2, August 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0commercialcommercial infofree version is availableOpen Source infoGPL version 2, commercial enterprise subscription available
Cloud-based only infoOnly available as a cloud servicenoyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • ClickHouse Cloud: Get the performance you love from open source ClickHouse in a serverless offering that takes care of the details so you can spend more time getting insight out of the fastest database on earth.
  • DoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
STACKIT MariaDB offers MariaDB in a fully managed version in enterprise grade, 100% GDPR-compliant.
Implementation languageC++C and C++C and C++
Server operating systemsFreeBSD
Linux
macOS
hostedAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
Linux
Solaris
Windows infoColumnStore storage engine not available on Windows
Data schemeyesyesyesyes infoDynamic columns are supported
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.nonoyes
Secondary indexesyesyesyesyes
SQL infoSupport of SQLClose to ANSI SQL (SQL/JSON + extensions)yes infoQuery statements complying to ANSI 2011yesyes infowith proprietary extensions
APIs and other access methodsgRPC
HTTP REST
JDBC
MySQL wire protocol
ODBC
PostgreSQL wire protocol
Proprietary protocol
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
Proprietary native API
Supported programming languagesC# info3rd party library
C++
Elixir info3rd party library
Go info3rd party library
Java info3rd party library
JavaScript (Node.js) info3rd party library
Kotlin info3rd party library
Nim info3rd party library
Perl info3rd party library
PHP info3rd party library
Python info3rd party library
R info3rd party library
Ruby info3rd party library
Rust
Scala info3rd party library
Go
Java
JavaScript (Node.js)
Python
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 proceduresyesnoyesyes infoPL/SQL compatibility added with version 10.3
Triggersnonoyesyes
Partitioning methods infoMethods for storing different data on different nodeskey based and customShardingSharding infoonly with Windows/Unix/Linux Versionseveral options for horizontal partitioning and Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesAsynchronous and synchronous physical replication; geographically distributed replicas; support for object storages.Multi-source replication with 3 replicas for regional instances.yes infowith separate tools (MQ, InfoSphere)Multi-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infousing Google Cloud Dataflownono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyesyes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACID infoStrict serializable isolationACIDACID 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.yesnoyes infowith MEMORY storage engine
User concepts infoAccess controlAccess rights for users and roles. Column and row based policies. Quotas and resource limits. Pluggable authentication with LDAP and Kerberos. Password based, X.509 certificate, and SSH key authentication.Access rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)fine grained access rights according to SQL-standardfine grained access rights according to SQL-standard
More information provided by the system vendor
ClickHouseGoogle Cloud SpannerIBM 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 partiesDoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
» more
Navicat 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
ClickHouseGoogle Cloud SpannerIBM 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

Real-time database startup ClickHouse acquires PeerDB to expand its Postgres support
30 July 2024, TechCrunch

A Beginner’s Guide to ClickHouse Database
13 September 2024, KDnuggets

Database startup ClickHouse Announces PeerDB Acquistion
31 July 2024, Tech Times

Azur Games migrates all game analytics data to ClickHouse Cloud on AWS
16 July 2024, AWS Blog

ClickHouse Acquires PeerDB to Boost Real-time Analytics with Postgres CDC Integration
30 July 2024, Business Wire

provided by Google News

Google Cloud Spanner gets dual-region configuration option
23 July 2024, InfoWorld

Google Cloud adds graph and vector search features to Spanner database
2 August 2024, Techzine Europe

Google Cloud Enhances Spanner with Dual-Region Configuration
1 August 2024, InfoQ.com

New features make Google's Spanner a database for AI
1 August 2024, TechTarget

Google Cloud expands its database portfolio with new AI capabilities
1 August 2024, TechCrunch

provided by Google News

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

Anonymizing Your Data in Db2 for Better Testing and Development
26 September 2024, Security Boulevard

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, blogs.oracle.com

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



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

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