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

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

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 comparisonMongoDB  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/LinuxOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructure
Primary database modelRelational DBMSTime Series DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument store
Secondary database modelsKey-value store
Relational DBMS
Document store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Spatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
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
Score160.32
Rank#7  Overall
#5  Relational DBMS
Score478.24
Rank#5  Overall
#1  Document stores
Websitecloud.google.com/­spannergriddb.netwww.ibm.com/­analytics/­db2www.mongodb.com
Technical documentationcloud.google.com/­spanner/­docsdocs.griddb.netwww.ibm.com/­support/­knowledgecenter/­SSEPGGdocs.mongodb.com/­manual
DeveloperGoogleToshiba CorporationIBMMongoDB, Inc
Initial release201720131983 infohost version2009
Current release4.6, February 202112.1, October 20165.0.8, April 2022
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 availableOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.
Cloud-based only infoOnly available as a cloud serviceyesnonono infoMongoDB available as DBaaS (MongoDB Atlas)
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • ScaleGrid for MongoDB: Fully managed hosting for MongoDB database on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
  • MongoDB Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.
Implementation languageC++C and C++C++
Server operating systemshostedLinuxAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
OS X
Solaris
Windows
Data schemeyesyesyesschema-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.
Typing infopredefined data types such as float or dateyesyes infonumerical, string, blob, geometry, boolean, timestampyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatial
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.nono
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011SQL92, SQL-like TQL (Toshiba Query Language)yesRead-only SQL queries via the MongoDB Connector for BI
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 protocolADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
proprietary protocol using JSON
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
Actionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
Server-side scripts infoStored proceduresnonoyesJavaScript
Triggersnoyesyesyes infoin MongoDB Atlas only
Partitioning methods infoMethods for storing different data on different nodesShardingShardingSharding infoonly with Windows/Unix/Linux VersionSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.
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)Multi-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
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 jobsnoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate consistency within container, eventual consistency across containersEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynoyesno infotypically not used, however similar functionality with DBRef possible
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACID at container levelACIDMulti-document ACID Transactions with snapshot isolation
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes infooptional, enabled by default
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 rights for users can be defined per databasefine grained access rights according to SQL-standardAccess rights for users and roles
More information provided by the system vendor
Google Cloud SpannerGridDBIBM Db2 infoformerly named DB2 or IBM Database 2MongoDB
Specific characteristicsGridDB is a highly scalable, in-memory time series database optimized for IoT and...
» more
MongoDB’s application data platform provides developers a unified interface to power...
» more
Competitive advantages1. Optimized for IoT Equipped with Toshiba's proprietary key-container data model...
» more
The MongoDB platform can be used by developers building transactional, operational,...
» more
Typical application scenariosFactory IoT, Automative Industry, Energy, BEMS, Smart Community, Monitoring system.
» more
Internet of Things and Time Series (Bosch, Jaguar Land Rover) Mobile (The Weather...
» more
Key customersDenso International [see use case ] An Electric Power company [see use case ] Ishinomaki...
» more
ADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metricsGitHub trending repository
» more
200+ million downloads, over 1.5M Atlas database clusters under management handling...
» more
Licensing and pricing modelsOpen Source license (AGPL v3 & Apache v2) Commercial license (subscription)
» more
MongoDB 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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

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 2MongoDB
DB-Engines blog posts

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

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

show all

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

ERP Transitions Loom for SAP on IBM i Customers
23 May 2022, IT Jungle

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

Immutable Copies Are Only As Good As Your Validation
23 May 2022, IT Jungle

Announcement Day: IBM Lifts The Veil On IBM i 7.5 And 7.4 TR6
3 May 2022, IT Jungle

provided by Google News

Why MongoDB Stock Went Up on Friday
20 May 2022, The Motley Fool

MongoDB: A Software Developers Perspective (NASDAQ:MDB)
28 April 2022, Seeking Alpha

How to Set Up MongoDB Cluster in the Cloud for Free - MUO
12 May 2022, MakeUseOf

MongoDB, Inc. to Host Investor Session at MongoDB World 2022
13 May 2022, 69News WFMZ-TV

MongoDB's document-oriented model strikes a chord with developers
11 May 2022, SiliconANGLE News

provided by Google News

Job opportunities

Google Cloud Platform Solution Architecture
Deloitte, Honolulu, HI

Google Cloud Platform Solution Architecture
Deloitte, Providence, RI

Google Cloud Platform Solution Architecture
Deloitte, New Carrollton, MD

Google Cloud Platform Solution Architecture
Deloitte, Davenport, IA

Google Cloud Platform Solution Architecture
Deloitte, Harrisburg, PA

Overnight SQL Database Administrator
Xtivia Inc, Remote

DB2 Database Administrator
LOCKHEED MARTIN CORPORATION, Moorestown, NJ

DB2 Database Administrator
Secured Leasing, El Segundo, CA

Mainframe DB2 DBA
Cognizant, Auburn, AL

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

MongoDB
State Tech, Remote

MongoDB Database Engineer (work from home)
Cigna, St. Louis, MO

Technical Lead - Full Stack (NodeJS, Angular, MongoDB, JS)
Irisidea TechSolutions Pvt Ltd, Remote

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

Software Test Engineer (entry-level)
Real-Time Technology Solutions, Remote

jobs by Indeed



Share this page

Featured Products

Redis logo

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

AllegroGraph logo

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

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB 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.

Present your product here