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. HBase vs. IBM Db2 vs. RethinkDB

System Properties Comparison Google Cloud Spanner vs. HBase vs. IBM Db2 vs. RethinkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonHBase  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonRethinkDB  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.Wide-column store based on Apache Hadoop and on concepts of BigTableCommon in IBM host environments, 2 different versions for host and Windows/LinuxDBMS for the Web with a mechanism to push updated query results to applications in realtime.
Primary database modelRelational DBMSWide column storeRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument store
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score30.50
Rank#26  Overall
#2  Wide column stores
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score2.74
Rank#105  Overall
#19  Document stores
Websitecloud.google.com/­spannerhbase.apache.orgwww.ibm.com/­products/­db2rethinkdb.com
Technical documentationcloud.google.com/­spanner/­docshbase.apache.org/­book.htmlwww.ibm.com/­docs/­en/­db2rethinkdb.com/­docs
DeveloperGoogleApache Software Foundation infoApache top-level project, originally developed by PowersetIBMThe Linux Foundation infosince July 2017
Initial release201720081983 infohost version2009
Current release2.3.4, January 202112.1, October 20162.4.1, August 2020
License infoCommercial or Open SourcecommercialOpen Source infoApache version 2commercial infofree version is availableOpen Source infoApache Version 2
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 languageJavaC and C++C++
Server operating systemshostedLinux
Unix
Windows infousing Cygwin
AIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
OS X
Windows
Data schemeyesschema-free, schema definition possibleyesschema-free
Typing infopredefined data types such as float or dateyesoptions to bring your own types, AVROyesyes infostring, binary, float, bool, date, geometry
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 indexesyesnoyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011noyesno
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
Java API
RESTful HTTP API
Thrift
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C
C#
C++
Groovy
Java
PHP
Python
Scala
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C infocommunity-supported driver
C# infocommunity-supported driver
C++ infocommunity-supported driver
Clojure infocommunity-supported driver
Dart infocommunity-supported driver
Erlang infocommunity-supported driver
Go infocommunity-supported driver
Haskell infocommunity-supported driver
Java infoofficial driver
JavaScript (Node.js) infoofficial driver
Lisp infocommunity-supported driver
Lua infocommunity-supported driver
Objective-C infocommunity-supported driver
Perl infocommunity-supported driver
PHP infocommunity-supported driver
Python infoofficial driver
Ruby infoofficial driver
Scala infocommunity-supported driver
Server-side scripts infoStored proceduresnoyes infoCoprocessors in Javayes
TriggersnoyesyesClient-side triggers through changefeeds
Partitioning methods infoMethods for storing different data on different nodesShardingShardingSharding infoonly with Windows/Unix/Linux VersionSharding inforange based
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.Multi-source replication
Source-replica replication
yes infowith separate tools (MQ, InfoSphere)Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflowyesnoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency or Eventual ConsistencyImmediate Consistency
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 isolationSingle row ACID (across millions of columns)ACIDAtomic single-document operations
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes infoMVCC based
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.noyesno
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access Control Lists (ACL) for RBAC, integration with Apache Ranger for RBAC & ABACfine grained access rights according to SQL-standardyes infousers and table-level permissions

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

Cloudera's HBase PaaS offering now supports Complex Transactions
11 August 2021,  Krishna Maheshwari (sponsor) 

Why is Hadoop not listed in the DB-Engines Ranking?
13 May 2013, Paul Andlinger

show all

Meet some database management systems you are likely to hear more about in the future
4 August 2014, Paul Andlinger

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

Best Practices from Rackspace for Modernizing a Legacy HBase/Solr Architecture Using AWS Services | Amazon Web ...
9 October 2023, AWS Blog

Less Components, Higher Performance: Apache Doris instead of ClickHouse, MySQL, Presto, and HBase
20 October 2023, hackernoon.com

HBase: The database big data left behind
6 May 2016, InfoWorld

HydraBase – The evolution of HBase@Facebook
5 June 2014, Facebook Engineering

HBase Tutorial
24 February 2023, Simplilearn

provided by Google News

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

Performance optimization of full load and ongoing replication tasks from self-managed Db2 to Amazon RDS for Db2 ...
24 April 2024, AWS Blog

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

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks & Files

Precisely supports Amazon RDS for Db2 Service
3 May 2024, E3-Magazin

provided by Google News

MongoDB: The Popular Database for IoT
15 August 2023, Open Source For You

How to Use RethinkDB with Node.js Applications — SitePoint
16 December 2015, SitePoint

Stripe acquires team behind NoSQL database startup RethinkDB
5 October 2016, VentureBeat

RethinkDB is dead, and MongoDB isn't what killed it
24 January 2017, TechRepublic

Review: RethinkDB rethinks real-time Web apps
23 September 2015, InfoWorld

provided by Google News



Share this page

Featured Products

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

AllegroGraph logo

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

Neo4j logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Present your product here