DB-EnginesExtremeDB: the first and only COTS deterministic embedded database management system for mission- and safety-critical hard real-time applicationsEnglish
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
Score3.19
Rank#95  Overall
#50  Relational DBMS
Score9.69
Rank#48  Overall
#30  Relational DBMS
Score1212.52
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 release1.4.200, October 20198.0.26, July 2021
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 AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
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 partiesFivetran: Quickly and easily centralize your on-premise and cloud databases.
» more

ClusterControl: the only management system you’ll ever need to take control of your open source database infrastructure.
» more

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

CData: Connect to Big Data & NoSQL through standard Drivers.
» 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

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 plays catch-up with JSON support for distributed RDBMS Spanner
8 September 2021, The Register

One on One with Google Cloud Product Director Irina Farooq
16 September 2021, Datanami

Google Cloud Opens New Canadian Cloud Region In Toronto
14 September 2021, CRN

Google Bolsters Cloud Spanner with Point-in-Time Recovery
6 April 2021, InfoQ.com

DataStax extends Astra DB serverless to go multiregion
15 September 2021, ZDNet

provided by Google News

PlanetScale review: Horizontally scalable MySQL in the cloud
1 September 2021, InfoWorld

MySQL Training Service Market is Booming Worldwide with Oracle, Udemy, Pluralsight - Herefordshire Live
28 September 2021, Herefordshire Live

Add Authentication to Any PHP App Using MySQL
8 September 2021, MakeUseOf

Daily Deal: The Modern Web Development And MySQL Programming Bundle
21 September 2021, Techdirt

Add repository to Install MySQL 5.7 on Ubuntu 20.04 LTS Linux
9 September 2021, H2S Media

provided by Google News

Job opportunities

Software Engineer III, Google Play
Google, Atlanta, GA

Manufacturing Software Development Engineer
Google, Sunnyvale, CA

Google Cloud Platform Data Engineer and Subject Matter Expert
Booz Allen Hamilton, McLean, VA

Systems Engineer
Major League Baseball, Boulder, CO

Customer Experience Manager
Level Ex, Remote

PHP/MySQL Developer
Third Rock, Round Rock, TX

Support Engineer - MySQL/PostgreSQL/MariaDB
Microsoft, Charlotte, NC

PHP & MySQL & HTML/CSS & JS Developers
Retail Ecommerce Ventures, Remote

Software Tester
Miva, Remote

Sr. PHP/MySQL Developer
VS Media Inc, Praha, TX

jobs by Indeed



Share this page

Featured Products

Neo4j logo

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

Couchbase logo

The modern database for enterprise applications. Build fast. Scale Big. Save more.
Get started today.

Datastax Astra logo

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

AllegroGraph logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here