DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. GridDB vs. IBM Db2 vs. TerarkDB

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonGridDB  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonTerarkDB  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 DataCommon in IBM host environments, 2 different versions for host and Windows/LinuxA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelRelational DBMSTime Series DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBKey-value store
Secondary database modelsKey-value store
Relational DBMS
Document 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.37
Rank#97  Overall
#50  Relational DBMS
Score2.00
Rank#137  Overall
#11  Time Series DBMS
Score127.75
Rank#8  Overall
#5  Relational DBMS
Score0.06
Rank#377  Overall
#57  Key-value stores
Websitecloud.google.com/­spannergriddb.netwww.ibm.com/­products/­db2github.com/­bytedance/­terarkdb
Technical documentationcloud.google.com/­spanner/­docsdocs.griddb.netwww.ibm.com/­docs/­en/­db2bytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperGoogleToshiba CorporationIBMByteDance, originally Terark
Initial release201720131983 infohost version2016
Current release5.1, August 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 availablecommercial infofree version is availablecommercial inforestricted open source version 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++C and C++C++
Server operating systemshostedLinuxAIX
HP-UX
Linux
Solaris
Windows
z/OS
Data schemeyesyesyesschema-free
Typing infopredefined data types such as float or dateyesyes infonumerical, string, blob, geometry, boolean, timestampyesno
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 indexesyesyesyesno
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011SQL92, SQL-like TQL (Toshiba Query Language)yesno
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
Proprietary protocol
RESTful HTTP/JSON API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
C++ API
Java API
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C
C++
Go
Java
JavaScript (Node.js)
Perl
PHP
Python
Ruby
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C++
Java
Server-side scripts infoStored proceduresnonoyesno
Triggersnoyesyesno
Partitioning methods infoMethods for storing different data on different nodesShardingShardingSharding infoonly with Windows/Unix/Linux Versionnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.Source-replica replicationyes infowith separate tools (MQ, InfoSphere)none
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 containers
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACID at container levelACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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-standardno
More information provided by the system vendor
Google Cloud SpannerGridDBIBM Db2 infoformerly named DB2 or IBM Database 2TerarkDB
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 SpannerGridDBIBM Db2 infoformerly named DB2 or IBM Database 2TerarkDB
Recent citations in the news

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

Google Cloud Spanner competes directly with Amazon DynamoDB
12 October 2023, Techzine Europe

provided by Google News

General Availability of GridDB 5.3 Enterprise Edition ~ Major Enhancement in IoT and Time Series Data Analysis ...
16 May 2023, global.toshiba

Toshiba launches cloudy managed IoT database service running its own GridDB
8 April 2021, The Register

Toshiba's Distributed Database GridDB(R) Now Features Scale-Out and Scale-Up combo for Petabyte-scale Data ...
3 December 2019, global.toshiba

General Availability of GridDB 5.1 Enterprise Edition ~ Continuous database usage in the event of data center failure ...
19 August 2022, global.toshiba

Leveraging Open Source Tools for IoT - open source for you
19 February 2020, Open Source For You

provided by Google News

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Getting started with new Amazon RDS for Db2 | Amazon Web Services
27 November 2023, AWS Blog

Celebrating 40 years of Db2: Running the world's mission critical workloads
11 September 2023, ibm.com

How Amazon RDS for IBM Db2 Showcases the Power of Co-Creation
21 December 2023, Acceleration Economy

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, PR Newswire

provided by Google News

A Chinese company is making the cloud 200x faster ยท TechNode
3 July 2017, TechNode

provided by Google News



Share this page

Featured Products

AllegroGraph logo

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

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Neo4j logo

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Present your product here