DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. H2 vs. MySQL

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonH2  Xexclude from comparisonMySQL  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.Widely used open source RDBMS
Primary database modelRelational DBMSRelational DBMSRelational DBMS infoKey/Value like access via memcached API
Secondary database modelsSpatial DBMSDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.40
Rank#91  Overall
#46  Relational DBMS
Score8.30
Rank#54  Overall
#32  Relational DBMS
Score1211.96
Rank#2  Overall
#2  Relational DBMS
Websitecloud.google.com/­spannerwww.h2database.comwww.mysql.com
Technical documentationcloud.google.com/­spanner/­docswww.h2database.com/­html/­main.htmldev.mysql.com/­doc
DeveloperGoogleThomas MuellerOracle infosince 2010, originally MySQL AB, then Sun
Initial release201720051995
Current release2.1.210, January 20228.0.32, January 2023
License infoCommercial or Open SourcecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoGPL version 2. Commercial licenses with extended functionallity are 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.
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.
Implementation languageJavaC and C++
Server operating systemshostedAll OS with a Java VMFreeBSD
Linux
OS X
Solaris
Windows
Data schemeyesyesyes
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
Delphi
Eiffel
Erlang
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 infoproprietary syntax
Triggersnoyesyes
Partitioning methods infoMethods for storing different data on different nodesShardingnonehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabric
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 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 controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)fine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or roles

More information provided by the system vendor

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 partiesDbVisualizer 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

Arctype: A fast, beautiful database GUI for developers and teams. Download it for free today.
» more

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

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» 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

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

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

More resources
Google Cloud SpannerH2MySQL
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

Google Cloud and Deloitte Boost Grocery Associate Productivity and ...
20 January 2023, PR Newswire

Kroger upgrades to cloud-based IT architecture for retail operations
24 January 2023, Winsight Grocery Business

Kroger boosts associate productivity with Google Cloud, Deloitte ...
20 January 2023, Drug Store News

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

Google Cloud Spanner Introduces Free Trial Instances and Fine ...
24 September 2022, InfoQ.com

provided by Google News

Hardening MySQL for your WordPress site
18 January 2023, Security Boulevard

Canva's Live Database Migration: From MySQL to DynamoDB
11 January 2023, The New Stack

What is MySQL?
12 December 2022, Database Journal

Seven interesting SQL editor tools for ML developers
30 December 2022, INDIAai

mongoDB vs. MySQL
7 July 2022, Database Journal

provided by Google News

Job opportunities

Cloud Relational Database Engineer
Ford Motor Company, Dearborn, MI

Contractor - DevOps Engineer
ChaiOne, Remote

Senior Product Manager, Core Database
YugabyteDB, Remote

Architect - Cloud Infrastructure and Databases
Ford Motor Company, Dearborn, MI

Database Engineer
Miracle Software Systems, Michigan

PHP/MySQL Developers
Webmasters.com, Tampa, FL

MySQL DBA
Integra Global Solutions, Remote

Sr MySQL Database Admin (REMOTE)
RELX, Remote

Software Engineer
Jumpseller, Remote

Software Engineer
Humulo Engineering, Remote

jobs by Indeed



Share this page

Featured Products

Redis logo

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

AllegroGraph logo

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

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

Neo4j logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here