DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. H2 vs. MariaDB

System Properties Comparison Google Cloud Spanner vs. H2 vs. MariaDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonH2  Xexclude from comparisonMariaDB  Xexclude from comparison
DescriptionA 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.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.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.
Primary database modelRelational DBMSRelational DBMSRelational DBMS
Secondary database modelsSpatial DBMSDocument store
Graph DBMS infowith OQGraph storage engine
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.89
Rank#105  Overall
#53  Relational DBMS
Score8.22
Rank#50  Overall
#32  Relational DBMS
Score93.81
Rank#13  Overall
#9  Relational DBMS
Websitecloud.google.com/­spannerwww.h2database.commariadb.com infoSite of MariaDB Corporation
mariadb.org infoSite of MariaDB Foundation
Technical documentationcloud.google.com/­spanner/­docswww.h2database.com/­html/­main.htmlmariadb.com/­kb/­en/­library
DeveloperGoogleThomas MuellerMariaDB Corporation Ab (MariaDB Enterprise),
MariaDB Foundation (community MariaDB Server) infoThe lead developer Monty Widenius is the original author of MySQL
Initial release201720052009 infoFork of MySQL, which was first released in 1995
Current release2.2.220, July 202311.3.2, February 2024
License infoCommercial or Open SourcecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoGPL version 2, commercial enterprise subscription available
Cloud-based only infoOnly available as a cloud serviceyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaC and C++
Server operating systemshostedAll OS with a Java VMFreeBSD
Linux
Solaris
Windows infoColumnStore storage engine not available on Windows
Data schemeyesyesyes infoDynamic columns are supported
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.nonoyes
Secondary indexesyesyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yesyes infowith proprietary extensions
APIs and other access methodsgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
JDBC
ODBC
ADO.NET
JDBC
ODBC
Proprietary native API
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
JavaAda
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 proceduresnoJava Stored Procedures and User-Defined Functionsyes infoPL/SQL compatibility added with version 10.3
Triggersnoyesyes
Partitioning methods infoMethods for storing different data on different nodesShardingnoneseveral options for horizontal partitioning and Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.With clustering: 2 database servers on different computers operate on identical copies of a databaseMulti-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyes 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 dataACID infoStrict serializable isolationACIDACID infonot for MyISAM storage engine
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyesyes 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 controlAccess 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
Google Cloud SpannerH2MariaDB
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
Google Cloud SpannerH2MariaDB
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

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

Google Cloud Spanner competes directly with Amazon DynamoDB
12 October 2023, Techzine Europe

provided by Google News

Struggling database company MariaDB could be taken private in $37M deal
19 February 2024, TechCrunch

Lender threatens to sweep MariaDB accounts over private equity bid
23 February 2024, The Register

MariaDB (NYSE:MRDB) Shares Up 2.4%
13 April 2024, Defense World

MariaDB Receives Takeover Bid | DealFlow's SPAC News
29 March 2024, DealFlow's SPAC News

Can MariaDB’s enterprise business be saved?
21 February 2024, InfoWorld

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Neo4j logo

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

Present your product here