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 > BaseX vs. Google Cloud Spanner vs. MongoDB vs. ObjectBox

System Properties Comparison BaseX vs. Google Cloud Spanner vs. MongoDB vs. ObjectBox

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBaseX  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonMongoDB  Xexclude from comparisonObjectBox  Xexclude from comparison
DescriptionLight-weight Native XML DBMS with support for XQuery 3.0 and interactive GUI.A 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 infrastructureExtremely fast embedded database for small devices, IoT and Mobile
Primary database modelNative XML DBMSRelational DBMSDocument storeObject oriented 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
Time Series DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.48
Rank#142  Overall
#4  Native XML DBMS
Score3.46
Rank#92  Overall
#48  Relational DBMS
Score488.57
Rank#5  Overall
#1  Document stores
Score0.94
Rank#182  Overall
#7  Object oriented DBMS
Websitebasex.orgcloud.google.com/­spannerwww.mongodb.comobjectbox.io
Technical documentationdocs.basex.orgcloud.google.com/­spanner/­docsdocs.mongodb.com/­manualdocs.objectbox.io
DeveloperBaseX GmbHGoogleMongoDB, IncObjectBox Limited
Initial release2007201720092017
Current release9.6.4, December 20215.0.5, December 2021
License infoCommercial or Open SourceOpen Source infoBSD licensecommercialOpen 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 License 2.0
Cloud-based only infoOnly available as a cloud servicenoyesno 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.
  • 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.
  • 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.
Implementation languageJavaC++C and C++
Server operating systemsLinux
OS X
Windows
hostedLinux
OS X
Solaris
Windows
Android
iOS
Linux
macOS
Windows
Data schemeschema-freeyesschema-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 dateno infoXQuery supports typesyesyes 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 indexesyesyesyesyes
SQL infoSupport of SQLnoyes infoQuery statements complying to ANSI 2011Read-only SQL queries via the MongoDB Connector for BIno
APIs and other access methodsJava API
RESTful HTTP API
RESTXQ
WebDAV
XML:DB
XQJ
gRPC (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 JSONProprietary native API
Supported programming languagesActionscript
C
C#
Haskell
Java
JavaScript infoNode.js
Lisp
Perl
PHP
Python
Qt
Rebol
Ruby
Scala
Visual Basic
Go
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++
Dart
Go
Java
JavaScript infoplanned (as of Jan 2019)
Kotlin
Python infoplanned (as of Jan 2019)
Swift
Server-side scripts infoStored proceduresyesnoJavaScriptno
Triggersyes infovia eventsnoyes infoin MongoDB Atlas onlyno
Partitioning methods infoMethods for storing different data on different nodesnoneShardingSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.none
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMulti-source replication with 3 replicas for regional instances.Multi-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
online/offline synchronization between client and server
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes 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 integritynoyes 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 datamultiple readers, single writerACID infoStrict serializable isolationMulti-document ACID Transactions with snapshot isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyes 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 controlUsers with fine-grained authorization concept on 4 levelsAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access rights for users and rolesyes
More information provided by the system vendor
BaseXGoogle Cloud SpannerMongoDBObjectBox
Specific characteristicsMongoDB’s application data platform provides developers a unified interface to power...
» more
Competitive advantagesThe MongoDB platform can be used by developers building transactional, operational,...
» 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 metrics175 million downloads, over 1.5M Atlas database clusters under management handling...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
News

ObjectBox Database Java 3.1 – Flex type
20 December 2021

Beginner C++ Database Tutorial: How to use ObjectBox
24 November 2021

Beginner C++ tutorial: ObjectBox installation
26 October 2021

ObjectBox Database Java / Kotlin 3.0 + CRUD Benchmarks
19 October 2021

Building a Business on Open Source
1 July 2021

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 partiesStudio 3T: The world's favorite IDE for working with MongoDB
» more

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

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» more

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

More resources
BaseXGoogle Cloud SpannerMongoDBObjectBox
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

BaseX: Free, open source XML wrangling
3 March 2015, Network World

provided by Google News

Google Cloud Spanner Dialect for SQLAlchemy is Generally Available
15 January 2022, InfoQ.com

Google Cloud Gives Spanner a PostgreSQL Interface
12 October 2021, Datanami

Google Cloud Spanner Adds PostgreSQL Interface: Is PostgreSQL Now Standard for Cloud Databases?
29 October 2021, InfoQ.com

Database in the cloud: All about Google Cloud Spanner
29 October 2021, TechGenix

Google Cloud Digital Leader exam guide has been updated from January 26, 2022
6 January 2022, Analytics India Magazine

provided by Google News

MongoDB 2.6 Improves Open-Source Database Performance
8 April 2014, databasejournal.com

MongoDB Poaches Top Amazon Executives to Compete With AWS
21 December 2021, Bloomberg

MongoDB's Mark Porter on Database Trends and the 'Innovation Tax' | eWEEK
11 January 2022, eWeek

MongoDB, Inc. (NASDAQ:MDB) Receives Average Rating of "Buy" from Analysts
16 January 2022, MarketBeat

Here's Why CrowdStrike, Datadog, and MongoDB Were Under Pressure on Thursday
13 January 2022, Motley Fool

provided by Google News

ObjectBox has built a distributed database for the IoT
17 September 2019, Stacey on IoT

IIoT Edge Computing Market Expected to Reach Highest CAGR 2028: The major players covered in IIoT Edge Computing are:, IoTium, Schneider Electric, Amazon Web Services, Supermicro – Industrial IT
13 January 2022, Industrial IT

ObjectBox Raises $2M in Funding
4 December 2018, FinSMEs

provided by Google News

Job opportunities

Staff Software Engineer, Spanner, Google Cloud
Google, New York, NY

Software Engineer III, Google Play
Google, Atlanta, GA

Google Cloud Platform (GCP) Data Warehouse Architect
Capgemini, Chicago, IL

Application Engineer, Supply Chain System
Google, Sunnyvale, CA

Google Cloud Spanner Database SME
NR Consulting LLC, Parsippany, NJ

Database Administrator
AMCHES, INC, Annapolis Junction, MD

Recruiting Coordinator - NYC/CLT/Remote
Nomad Health, Remote

Account Administrator (NYC/Charlotte/Remote)
Nomad Health, Remote

MongoDB
State Tech, Remote

Appian Developer- Location Open
Deloitte, Honolulu, HI

jobs by Indeed



Share this page

Featured Products

Neo4j logo

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

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Couchbase logo

The modern database for enterprise applications. Build fast. Scale Big. Save more.
Get started today.

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.

Present your product here