DB-EnginesExtremeDB: database for embedded systemsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. H2

System Properties Comparison Google Cloud Spanner vs. H2

Please select another system to include it in the comparison.

Our visitors often compare Google Cloud Spanner and H2 with PostgreSQL, MySQL and MongoDB.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonH2  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.
Primary database modelRelational DBMSRelational DBMS
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.20
Rank#93  Overall
#48  Relational DBMS
Score9.53
Rank#47  Overall
#30  Relational DBMS
Websitecloud.google.com/­spannerwww.h2database.com
Technical documentationcloud.google.com/­spanner/­docswww.h2database.com/­html/­main.html
DeveloperGoogleThomas Mueller
Initial release20172005
Current release1.4.200, October 2019
License infoCommercial or Open SourcecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)
Cloud-based only infoOnly available as a cloud serviceyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJava
Server operating systemshostedAll OS with a Java VM
Data schemeyesyes
Typing infopredefined data types such as float or dateyesyes
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.nono
Secondary indexesyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yes
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
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
Java
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functions
Triggersnoyes
Partitioning methods infoMethods for storing different data on different nodesShardingnone
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 database
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflowno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes
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-standard

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

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

More resources
Google Cloud SpannerH2
Recent citations in the news

Google Cloud Takes on AWS, Microsoft, Oracle, Snowflake in Databases
3 August 2021, Cloud Wars

Google Cloud to launch new region in Melbourne
27 July 2021, ZDNet

Google Cloud to open new region in Melbourne
28 July 2021, Cloud Pro

Google Cloud Database GM Andi Gutmans | Cloud DB Report Podcast
2 August 2021, Cloud Wars

Confluent Is Named Google Cloud Technology Partner of the Year for the Third Year in a Row
20 July 2021, Business Wire

provided by Google News

Job opportunities

Google Cloud
TCS, Houston, TX

Google Business Cloud Practice
TCS, New York, NY

Google Architect
Star Technology Solutions Inc, Remote

Google Cloud Architect (Remote)/Google Cloud Engineer
CitiusTech, Remote

Software Engineer III, Core Data, SQL Language Layer
Google, Sunnyvale, CA

jobs by Indeed



Share this page

Featured Products

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

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

Vertica logo

The fastest unified analytical warehouse at extreme scale with in-database machine learning. Try Vertica for free with no time limit.

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