DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. MongoDB vs. openGauss

System Properties Comparison Google Cloud Spanner vs. MongoDB vs. openGauss

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonMongoDB  Xexclude from comparisonopenGauss  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.One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureAn enterprise-class RDBMS compatible with high-performance, high-availability and high-performance originally developed by Huawei
Primary database modelRelational DBMSDocument storeRelational DBMS
Secondary database modelsSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
Document store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.24
Rank#92  Overall
#46  Relational DBMS
Score458.78
Rank#5  Overall
#1  Document stores
Score1.19
Rank#196  Overall
#94  Relational DBMS
Websitecloud.google.com/­spannerwww.mongodb.comgitee.com/­opengauss
opengauss.org
Technical documentationcloud.google.com/­spanner/­docsdocs.mongodb.com/­manualgitee.com/­opengauss/­docs
opengauss.org/­en/­docs/­latest/­docs/­BriefTutorial/­BriefTutorial.html
DeveloperGoogleMongoDB, IncHuawei and openGauss community
Initial release201720092019
Current release6.0.1, August 20223.0, March 2022
License infoCommercial or Open SourcecommercialOpen 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
Cloud-based only infoOnly available as a cloud serviceyesno infoMongoDB available as DBaaS (MongoDB Atlas)no
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
ScaleGrid for MongoDB Database: Fully managed hosting for MongoDB Database on a wide variety of cloud providers and On-Premises. Automate your management, scaling and backups through one centralized platform.
Implementation languageC++C, C++, Java
Server operating systemshostedLinux
OS X
Solaris
Windows
Linux
Data schemeyesschema-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.yes
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyes
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 indexesyesyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011Read-only SQL queries via the MongoDB Connector for BIANSI SQL 2011
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 protocol using JSONJDBC
ODBC
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
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
C
C++
Java
Server-side scripts infoStored proceduresnoJavaScriptyes
Triggersnoyes infoin MongoDB Atlas onlyyes
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.horizontal partitioning (by range, list and hash)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.Multi-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflowyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno infotypically not used, however similar functionality with DBRef possibleyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationMulti-document ACID Transactions with snapshot isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes infooptional, enabled by defaultyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access rights for users and rolesAccess rights for users, groups and roles according to SQL-standard

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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

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

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

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

More resources
Google Cloud SpannerMongoDBopenGauss
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

After Stadia, Google unveils Google Cloud for Live Games strategy
8 March 2023, VentureBeat

The partnership between Google Cloud and crypto project Casper Labs.
1 March 2023, The Cryptonomist

Google Cloud Spanner Introduces Free Trial Instances and Fine ...
24 September 2022, InfoQ.com

Google rolls out cloud database innovations, including free trial ...
15 September 2022, SiliconANGLE News

Google Cloud and Deloitte Boost Grocery Associate Productivity and ...
20 January 2023, PR Newswire

provided by Google News

Industry Voice: How MongoDB enabled M&S 'build' over 'buy ...
24 March 2023, Computing

MongoDB, Inc. Announces Fourth Quarter and Full Year Fiscal 2023 ...
8 March 2023, PR Newswire

MongoDB Unusual Options Activity For March 23 - MongoDB ...
23 March 2023, Benzinga

Why Datadog, MongoDB, and DocuSign Fell Today
20 March 2023, The Motley Fool

The Tough Climb To Profitability For MongoDB
9 March 2023, The Next Platform

provided by Google News

openGauss Open Source Community Officially Launch
1 July 2020, huawei.com

Huawei's Four Open Source Basic Software Projects Infuse ...
12 October 2020, PR Newswire

About HUAWEI Open Source
8 April 2022, huawei.com

Huawei launches six new products to bolster growth in cloud sector
25 April 2021, Global Times

Over 50 New CVE Numbering Authorities Announced in 2022
22 December 2022, SecurityWeek

provided by Google News

Job opportunities

Cloud Engineer, Digital Biomarkers
Verily, South San Francisco, CA

Public Cloud Services Engineer
Citi, New York, NY

Public Cloud Services Engineer & Architect (Google Cloud Platform)
Citi, New York, NY

Cloud Relational Database Engineer
Ford Motor Company, Dearborn, MI

Senior Data Architect – Google Cloud (Remote role in USA)
Rackspace, San Antonio, TX

MongoDB Architect/SrDev
Tech Mahindra / Microsoft, Remote

MongoDB Developer - REMOTE
Chabez Tech, Chicago, IL

2023 Software Engineering Recent Grad Positions – Cat Digital
Caterpillar, Chicago, IL

Web Development Opportunities
SuretyBonds.com, Remote

Junior Backend Developer
Actum Lab, Austin, TX

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Cassandra Forward online event

Want to level up your Cassandra game?
If you missed the event or would like to re-watch a session, replays are available now. Watch now!

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.

Redis logo

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

Present your product here