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. IBM Db2 vs. PostGIS vs. Riak KV

System Properties Comparison Google Cloud Spanner vs. IBM Db2 vs. PostGIS vs. Riak KV

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonPostGIS  Xexclude from comparisonRiak KV  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.Common in IBM host environments, 2 different versions for host and Windows/LinuxSpatial extension of PostgreSQLDistributed, fault tolerant key-value store
Primary database modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBSpatial DBMSKey-value store infowith links between data sets and object tags for the creation of secondary indexes
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Relational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.84
Rank#100  Overall
#51  Relational DBMS
Score125.90
Rank#9  Overall
#6  Relational DBMS
Score21.72
Rank#29  Overall
#1  Spatial DBMS
Score4.01
Rank#79  Overall
#9  Key-value stores
Websitecloud.google.com/­spannerwww.ibm.com/­products/­db2postgis.net
Technical documentationcloud.google.com/­spanner/­docswww.ibm.com/­docs/­en/­db2postgis.net/­documentationwww.tiot.jp/­riak-docs/­riak/­kv/­latest
DeveloperGoogleIBMOpenSource, formerly Basho Technologies
Initial release20171983 infohost version20052009
Current release12.1, October 20163.4.2, February 20243.2.0, December 2022
License infoCommercial or Open Sourcecommercialcommercial infofree version is availableOpen Source infoGPL v2.0Open Source infoApache version 2, commercial enterprise edition
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 and C++CErlang
Server operating systemshostedAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
OS X
Data schemeyesyesyesschema-free
Typing infopredefined data types such as float or dateyesyesyesno
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.noyesno
Secondary indexesyesyesyesrestricted
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yesyesno
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
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
HTTP API
Native Erlang Interface
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Server-side scripts infoStored proceduresnoyesuser defined functionsErlang
Triggersnoyesyesyes infopre-commit hooks and post-commit hooks
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoonly with Windows/Unix/Linux Versionyes infobased on PostgreSQLSharding infono "single point of failure"
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.yes infowith separate tools (MQ, InfoSphere)yes infobased on PostgreSQLselectable replication factor
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownonoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyesyesno infolinks between data sets can be stored
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACIDACIDno
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.nono
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-standardyes infobased on PostgreSQLyes, using Riak Security

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 SpannerIBM Db2 infoformerly named DB2 or IBM Database 2PostGISRiak KV
DB-Engines blog posts

Spatial database management systems
6 April 2021, Matthias Gelbmann

show all

Recent citations in the news

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

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

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

Google Cloud Spanner Is Now Half the Cost of Amazon DynamoDB
13 October 2023, Datanami

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

provided by Google News

12 Most Popular Databases in 2024
6 June 2024, MarkTechPost

Denial of Service in IBM DB2 Universal Database
1 June 2024, ITPro Today

Use AWS DMS to migrate data from IBM Db2 DPF to an AWS target | Amazon Web Services
28 May 2024, AWS Blog

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, Precisely

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

provided by Google News

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

Basho to Bolster Riak with DB Plug-Ins
5 May 2014, Datanami

A Critique of Resizable Hash Tables: Riak Core & Random Slicing
26 August 2018, InfoQ.com

Basho Advances NoSQL Riak Enterprise 2.0 With Search, Advanced Data Types
15 September 2014, Data Center Knowledge

provided by Google News



Share this page

Featured Products

Neo4j logo

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

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

Present your product here