DB-EnginesInfluxDB download bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. HBase vs. MongoDB vs. Riak KV vs. STSdb

System Properties Comparison Google Cloud Spanner vs. HBase vs. MongoDB vs. Riak KV vs. STSdb

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonHBase  Xexclude from comparisonMongoDB  Xexclude from comparisonRiak KV  Xexclude from comparisonSTSdb  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 BigTableOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureDistributed, fault tolerant key-value storeKey-Value Store with special method for indexing infooptimized for high performance using a special indexing method
Primary database modelRelational DBMSWide column storeDocument storeKey-value store infowith links between data sets and object tags for the creation of secondary indexesKey-value store
Secondary database modelsSearch engine infointegrated Lucene index, currently in MongoDB Atlas only.
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.93
Rank#112  Overall
#54  Relational DBMS
Score50.15
Rank#22  Overall
#2  Wide column stores
Score438.43
Rank#5  Overall
#1  Document stores
Score5.24
Rank#59  Overall
#9  Key-value stores
Score0.08
Rank#296  Overall
#48  Key-value stores
Websitecloud.google.com/­spannerhbase.apache.orgwww.mongodb.comriak.com/­products/­riak-kvstssoft.com/­products/­stsdb-4-0
Technical documentationcloud.google.com/­spanner/­docshbase.apache.orgdocs.mongodb.com/­manual
DeveloperGoogleApache Software Foundation infoApache top-level project, originally developed by PowersetMongoDB, IncBasho TechnologiesSTS Soft SC
Initial release20172008200920092011
Current release2.2.0, June 20194.2.5, March 20202.1.0, April 2015
License infoCommercial or Open SourcecommercialOpen Source infoApache version 2Open Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Source infoApache version 2, commercial enterprise editionOpen Source infoGPLv2, commercial license available
Cloud-based only infoOnly available as a cloud serviceyesnono infoMongoDB available as DBaaS (MongoDB Atlas)nono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
MongoDB Atlas: Deploy a fully managed cloud database on-demand and ready for use in minutes. Available on AWS, Azure, and GCP.
Implementation languageJavaC++ErlangC#
Server operating systemshostedLinux
Unix
Windows infousing Cygwin
Linux
OS X
Solaris
Windows
Linux
OS X
Windows
Data schemeyesschema-free, schema definition possibleschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.schema-freeyes
Typing infopredefined data types such as float or dateyesoptions to bring your own types, AVROyes infostring, integer, double, decimal, boolean, date, object_id, geospatialnoyes infoprimitive types and user defined types (classes)
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 indexesyesnoyesrestrictedno
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011noRead-only SQL queries via the MongoDB Connector for BInono
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
proprietary protocol using JSONHTTP API
Native Erlang Interface
.NET Client API
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C
C#
C++
Groovy
Java
PHP
Python
Scala
Actionscript infoinofficial driver
C
C#
C++
Clojure infoinofficial driver
ColdFusion infoinofficial driver
D infoinofficial driver
Dart infoinofficial driver
Delphi infoinofficial driver
Erlang
Go
Groovy infoinofficial driver
Haskell
Java
JavaScript
Lisp infoinofficial driver
Lua infoinofficial driver
MatLab infoinofficial driver
Perl
PHP
PowerShell infoinofficial driver
Prolog infoinofficial driver
Python
R infoinofficial driver
Ruby
Scala
Smalltalk infoinofficial driver
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
C#
Java
Server-side scripts infoStored proceduresnoyes infoCoprocessors in JavaJavaScriptJavaScript and Erlangno
Triggersnoyesyes infoin MongoDB Atlas onlyyes infopre-commit hooks and post-commit hooksno
Partitioning methods infoMethods for storing different data on different nodesShardingShardingSharding infopartitioned by hashed, ranged, or zoned sharding keysSharding infono "single point of failure"none
Replication methods infoMethods for redundantly storing data on multiple nodesMaster-Master replication with 3 replicas for regional instances.Master-master replication
Master-slave replication
Master-slave replicationselectable replication factornone
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflowyesyesyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency or Eventual ConsistencyEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Eventual Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynono infotypically not used, however similar functionality with DBRef possibleno infolinks between data sets can be storedno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationSingle row ACID (across millions of columns)Multi-document ACID Transactions with snapshot isolationnono
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyes infooptionalyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes infoIn-memory storage engine introduced with MongoDB version 3.2
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 & ABACAccess rights for users and rolesnono
More information provided by the system vendor
Google Cloud SpannerHBaseMongoDBRiak KVSTSdb
Specific characteristicsMongoDB is the leading modern, general purpose data platform, designed to unleash...
» more
Competitive advantagesThe MongoDB Data Platform can be used by developers building OLTP and analytical...
» more
Typical application scenariosInternet of Things and Time Series (Bosch, Jaguar Land Rover) Mobile (The Weather...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metrics70 million downloads (growing at more than 30 thousand downloads per day). 15,000+...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» 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
3rd partiesNavicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

ScaleGrid: Deploy, monitor, backup and scale MongoDB in the cloud with the #1 Database-as-a-Service (DBaaS) platform.
» more

DBHawk: Secure access to SQL, NoSQL and Cloud databases with an all-in-one solution.
» more

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

More resources
Google Cloud SpannerHBaseMongoDBRiak KVSTSdb
DB-Engines blog posts

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

show all

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

PostgreSQL moves up one rank at the expense of MongoDB
1 September 2016, Paul Andlinger

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

7 Google Cloud database options to free up your IT team
27 March 2020, TechTarget

Google Cloud weathers global disruptions to multiple services
27 March 2020, ARNnet

Spring Boot Tutorial: Building Microservices Deployed to Google Cloud
26 March 2020, InfoQ.com

Google lays out HarbourBridge to tempt PostgreSQL users onto Cloud Spanner • DEVCLASS
13 February 2020, DevClass

Big Tech in Blockchain: Comparing IBM, Microsoft, Apple, Google and More
29 March 2020, Cointelegraph

provided by Google News

9 Ways Database Technology Gives Your Applications an Edge
26 March 2020, TechNative

HBase vs Cassandra: Which is Better of the Two NoSQL Databases?
20 January 2020, Appinventiv

The Apache® Software Foundation Celebrates 21 Years of Open Source Leadership
26 March 2020, Yahoo Finance

The Best 9 Database Platforms Catering to Big Data Requirements
10 March 2020, CIO East Africa

Cloudera Extends Apache HBase To Use Amazon S3
4 October 2019, iProgrammer

provided by Google News

Why MongoDB Stock Fell 10.5% in March
5 April 2020, Motley Fool

MongoDB’s field-level encryption protects private data—even from DBAs
1 April 2020, Ars Technica

Technical Services Engineer - MongoDB
3 April 2020, Built In Austin

A Complete Kickstart Guide To MongoDB
3 April 2020, Analytics India Magazine

All about that DBaaS: NoSQL cheerleader MongoDB sees revenue spike, but expects 'up to' $25m Covid-19 hit for 2021
18 March 2020, The Register

provided by Google News

Is Riak A Good NoSQL Database Option?
1 July 2019, Analytics India Magazine

Basho open-sources its Riak TS database for the Internet Of Things
5 May 2016, TechCrunch

NoSQL database Riak acquired following Basho’s fall from grace
13 September 2017, Computer Business Review

Riak KV NoSQL DBMS overview
29 July 2015, TechTarget

The Big Data Industry to 2025 - Market Leading Companies Rapidly Integrating Big Data Technologies with IoT Infrastructure
20 March 2020, Yahoo Finance

provided by Google News

Job opportunities

Principal Engineer, Spanner, Google Cloud
Google, Kirkland, WA

Technical Curriculum Developer, Machine Learning, Google Cloud
Google, Austin, TX

Complex Solution Architect - Google Cloud Platform focus
IBM, United States

Cloud Engineer, GCP
Fractal.ai, Cincinnati, OH

Software Engineering Lead- Cloud Platform Database
Lowe's Inc., Charlotte, NC

Data Scientist
Brigham Young University, Provo, UT

AI researcher
Qikspace, United States

Python Developer
Ace-stack LLC, Columbus, OH

Ab Initio Developers
Ace-stack LLC, Columbus, OH

AbInitio Developer
Ace-stack LLC, Columbus, OH

MongoDB DBA - remote (EMEA hours)
Percona, Remote

MongoDB DBA - remote (US East hours)
Percona, Remote

MongoDB Consultant - remote
Percona, Remote

Python/MongoDB Developer
Evolent Health, Remote

MongoDB Engineer - (remote)
Percona, Remote

Software Engineer (Java Developer)
iQuasar LLC, Fort Meade, MD

Data Scientist
Cerner Corporation, Kansas City, MO

Infrastructure Engineer
Wild Works, Draper, UT

Site Reliability Engineer
Everbridge, United States

Back End Developer
Tietronix, Houston, TX

jobs by Indeed




Share this page

Featured Products

Datastax Luna logo

Simple, subscription-based support for open source
Apache Cassandra™ from the Cassandra experts.
Learn more.

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

AllegroGraph logo

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

Present your product here