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. GridDB vs. H2 vs. IBM Db2

System Properties Comparison Google Cloud Spanner vs. GridDB vs. H2 vs. IBM Db2

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonGridDB  Xexclude from comparisonH2  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  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.Scalable in-memory time series database optimized for IoT and Big DataFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Common in IBM host environments, 2 different versions for host and Windows/Linux
Primary database modelRelational DBMSTime Series DBMSRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDB
Secondary database modelsKey-value store
Relational DBMS
Spatial DBMSDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.68
Rank#92  Overall
#48  Relational DBMS
Score1.23
Rank#159  Overall
#11  Time Series DBMS
Score9.83
Rank#51  Overall
#31  Relational DBMS
Score160.32
Rank#7  Overall
#5  Relational DBMS
Websitecloud.google.com/­spannergriddb.netwww.h2database.comwww.ibm.com/­analytics/­db2
Technical documentationcloud.google.com/­spanner/­docsdocs.griddb.netwww.h2database.com/­html/­main.htmlwww.ibm.com/­support/­knowledgecenter/­SSEPGG
DeveloperGoogleToshiba CorporationThomas MuellerIBM
Initial release2017201320051983 infohost version
Current release4.6, February 20212.1.210, January 202212.1, October 2016
License infoCommercial or Open SourcecommercialOpen Source infoAGPL version 3 and Apache License, version 2.0 , commercial license (standard and advanced editions) also availableOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercial infofree version is available
Cloud-based only infoOnly available as a cloud serviceyesnonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageC++JavaC and C++
Server operating systemshostedLinuxAll OS with a Java VMAIX
HP-UX
Linux
Solaris
Windows
z/OS
Data schemeyesyesyesyes
Typing infopredefined data types such as float or dateyesyes infonumerical, string, blob, geometry, boolean, timestampyesyes
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.nonono
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011SQL92, SQL-like TQL (Toshiba Query Language)yesyes
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
Proprietary protocolJDBC
ODBC
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C
C++
Go
Java
JavaScript (Node.js)
Perl
PHP
Python
Ruby
JavaC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
Server-side scripts infoStored proceduresnonoJava Stored Procedures and User-Defined Functionsyes
Triggersnoyesyesyes
Partitioning methods infoMethods for storing different data on different nodesShardingShardingnoneSharding infoonly with Windows/Unix/Linux Version
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.Source-replica replicationWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes infowith separate tools (MQ, InfoSphere)
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud DataflowConnector for using GridDB as an input source and output destination for Hadoop MapReduce jobsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate consistency within container, eventual consistency across containersImmediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynoyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACID at container levelACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyesyesyes
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)Access rights for users can be defined per databasefine grained access rights according to SQL-standardfine grained access rights according to SQL-standard
More information provided by the system vendor
Google Cloud SpannerGridDBH2IBM Db2 infoformerly named DB2 or IBM Database 2
Specific characteristicsGridDB is a highly scalable, in-memory time series database optimized for IoT and...
» more
Competitive advantages1. Optimized for IoT Equipped with Toshiba's proprietary key-container data model...
» more
Typical application scenariosFactory IoT, Automative Industry, Energy, BEMS, Smart Community, Monitoring system.
» more
Key customersDenso International [see use case ] An Electric Power company [see use case ] Ishinomaki...
» more
Market metricsGitHub trending repository
» more
Licensing and pricing modelsOpen Source license (AGPL v3 & Apache v2) Commercial license (subscription)
» 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

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

More resources
Google Cloud SpannerGridDBH2IBM Db2 infoformerly named DB2 or IBM Database 2
Recent citations in the news

Google Cloud Launches New Postgres-Compatible Database, AlloyDB
11 May 2022, Datanami

Google Cloud Spanner Gets Change Streams
6 April 2022, Datanami

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

Database in the cloud: All about Google Cloud Spanner
29 October 2021, TechGenix

Google Opens Up Spanner Database With PostgreSQL Interface
13 October 2021, The Next Platform

provided by Google News

Google Needs Another Database To Attack Oracle, DB2, And SQL Server Directly
16 May 2022, The Next Platform

IBM Launches Db2 13 for z/OS
18 April 2022, Database Trends and Applications

Database And Developer Enhancements In IBM i 7.5 And 7.4 TR6
9 May 2022, IT Jungle

IBM database updates address critical vulnerabilities in third-party XML parser
25 April 2022, The Daily Swig

Review: YugabyteDB does PostgreSQL proud
16 May 2022, InfoWorld

provided by Google News

Job opportunities

Google Cloud Platform Data Engineer
Capgemini, Albany, NY

Google Cloud Platform Solution Architecture
Deloitte, Newton, MA

SAP Application Engineer Lead, Google Cloud
Google, Pittsburgh, PA

Cloud Architect
Landis+Gyr, Alpharetta, GA

Application Engineer, Inventory and Order Management Supply Chain
Google, Sunnyvale, CA

Database Developer- DB2
Morgan Stanley, Alpharetta, GA

Software Tester
North Carolina Department of Information Technology, Raleigh, NC

Overnight SQL Database Administrator
Xtivia Inc, Remote

Mainframe DB2 Database Management
JPMorgan Chase Bank, N.A., Jersey City, NJ

IBM Db2 Database Administrator
West Advanced Technologies (WATI), Downey, CA

jobs by Indeed



Share this page

Featured Products

The definitive guide for Cassandra

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

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

AllegroGraph logo

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

Redis logo

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

Present your product here