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

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
Score4.46
Rank#87  Overall
#45  Relational DBMS
Score8.67
Rank#52  Overall
#31  Relational DBMS
Websitecloud.google.com/­spannerwww.h2database.com
Technical documentationcloud.google.com/­spanner/­docswww.h2database.com/­html/­main.html
DeveloperGoogleThomas Mueller
Initial release20172005
Current release2.1.210, January 2022
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 Spanner Introduces Free Trial Instances and Fine-Grained Access Control
24 September 2022, InfoQ.com

Google rolls out cloud database innovations, including free trial instances for Spanner
15 September 2022, SiliconANGLE News

Cloud Spanner Introduces Committed Use Discounts
19 March 2022, InfoQ.com

Google Cloud Spanner Adds PostgreSQL Interface: Is PostgreSQL Now Standard for Cloud Databases?
29 October 2021, InfoQ.com

Google expands Cloud Spanner database with PostgreSQL
12 October 2021, TechTarget

provided by Google News

Job opportunities

Cloud Data Architect (GCP)
Moorecroft Systems, Dayton, OH

Database Engineer
66degrees, Chicago, IL

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

Cloud Relational Database Engineer
Ford Motor Company, Dearborn, MI

Principal Cloud Architect
Jack Henry and Associates, Inc., Remote

jobs by Indeed



Share this page

Featured Products

Redis logo

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

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

Neo4j logo

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

Present your product here