DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > BaseX vs. EJDB vs. MongoDB vs. SurrealDB vs. TimesTen

System Properties Comparison BaseX vs. EJDB vs. MongoDB vs. SurrealDB vs. TimesTen

Editorial information provided by DB-Engines
NameBaseX  Xexclude from comparisonEJDB  Xexclude from comparisonMongoDB  Xexclude from comparisonSurrealDB  Xexclude from comparisonTimesTen  Xexclude from comparison
DescriptionLight-weight Native XML DBMS with support for XQuery 3.0 and interactive GUI.Embeddable document-store database library with JSON representation of queries (in MongoDB style)One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureA fully ACID transactional, developer-friendly, multi-model DBMSAn in-memory SQL relational database that delivers microsecond response and high throughput for OLTP applications. TimesTen can be deployed as a standalone database or as a cache to a backend Oracle database.
Primary database modelNative XML DBMSDocument storeDocument storeDocument store
Graph DBMS
Relational 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
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.56
Rank#141  Overall
#4  Native XML DBMS
Score0.13
Rank#331  Overall
#46  Document stores
Score410.24
Rank#5  Overall
#1  Document stores
Score1.11
Rank#174  Overall
#30  Document stores
#17  Graph DBMS
Score1.26
Rank#164  Overall
#75  Relational DBMS
Websitebasex.orggithub.com/­Softmotions/­ejdbwww.mongodb.comsurrealdb.comwww.oracle.com/­database/­technologies/­related/­timesten.html
Technical documentationdocs.basex.orggithub.com/­Softmotions/­ejdb/­blob/­master/­README.mdwww.mongodb.com/­docs/­manualsurrealdb.com/­docsdocs.oracle.com/­en/­database/­other-databases/­timesten/­index.html
DeveloperBaseX GmbHSoftmotionsMongoDB, IncSurrealDB LtdOracle infooriginally founded in HP Labs it was acquired by Oracle in 2005
Initial release20072012200920221998
Current release11.2, August 20247.0.5, January 2024v1.5.0, May 2024Release 22.1
License infoCommercial or Open SourceOpen Source infoBSD licenseOpen Source infoGPLv2Open Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Sourcecommercial
Cloud-based only infoOnly available as a cloud servicenonono 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 Flex @ STACKIT offers managed MongoDB Instances with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.
  • 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 languageJavaCC++Rust
Server operating systemsLinux
OS X
Windows
server-lessLinux
OS X
Solaris
Windows
Linux
macOS
Windows
IBM AIX Power PC 64-bit
Linux arm64
Linux x86-64
Solaris SPARC 64
Solaris SPARC/x86
Solaris x86-64
Data schemeschema-freeschema-freeschema-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 dateno infoXQuery supports typesyes infostring, integer, double, bool, date, object_idyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyesyes
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.no
Secondary indexesyesnoyesyes
SQL infoSupport of SQLnonoRead-only SQL queries via the MongoDB Atlas SQL InterfaceSQL-like query languageyes
APIs and other access methodsJava API
RESTful HTTP API
RESTXQ
WebDAV
XML:DB
XQJ
in-process shared libraryGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
GraphQL
RESTful HTTP API
WebSocket
ODBC
ODP.NET
Oracle Call Interface (OCI)
Pro*C/C++ programming interfaces
SQL and PL/SQL via JDBC
Supported programming languagesActionscript
C
C#
Haskell
Java
JavaScript infoNode.js
Lisp
Perl
PHP
Python
Qt
Rebol
Ruby
Scala
Visual Basic
Actionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
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
Kotlin
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
Deno
Go
JavaScript (Node.js)
Rust
C
C++
Java
Node.js
PL/SQL
Python
Server-side scripts infoStored proceduresyesnoJavaScriptPL/SQL
Triggersyes infovia eventsnoyes infoin MongoDB Atlas onlyno
Partitioning methods infoMethods for storing different data on different nodesnonenoneSharding 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 nodesnonenoneMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Multi-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate Consistency or Eventual Consistency depending on configuration
Foreign keys infoReferential integritynono infotypically not needed, however similar functionality with collection joins possibleno infotypically not used, however similar functionality with DBRef possibleyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datamultiple readers, single writernoMulti-document ACID Transactions with snapshot isolationACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes infoRead/Write Lockingyesyesyes
Durability infoSupport for making data persistentyesyesyes infooptional, enabled by defaultyesyes infoby means of logfiles and checkpoints
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes infoIn-memory storage engine introduced with MongoDB version 3.2yes
User concepts infoAccess controlUsers with fine-grained authorization concept on 4 levelsnoAccess rights for users and rolesyes, based on authentication and database rulesfine grained access rights according to SQL-standard
More information provided by the system vendor
BaseXEJDBMongoDBSurrealDBTimesTen
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» 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 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

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

More resources
BaseXEJDBMongoDBSurrealDBTimesTen
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

XML Injection Attacks: What to Know About XPath, XQuery, XXE & More
18 May 2022, Hashed Out by The SSL Store™

9 Skills You Need to Become a Data Engineer
2 November 2022, KDnuggets

provided by Google News

MongoDB’s Rick Houlihan talks prioritizing user experience in digital services
19 September 2024, FedScoop

MongoDB, Inc. (MDB): A Bull Case Theory
20 September 2024, Yahoo Finance

MongoDB, Inc. Announces Second Quarter Fiscal 2025 Financial Results
29 August 2024, PR Newswire

MongoDB director sells over $400k in company stock
19 September 2024, Investing.com

MongoDB takes a swing at PostgreSQL after claiming wins against rival
30 August 2024, The Register

provided by Google News

SurrealDB Delivers Future-Ready Database Technology for Developers and Enterprises with Release of SurrealDB 2.0
17 September 2024, Business Wire

SurrealDB is helping developers consolidate their databases
18 June 2024, TechCrunch

Multi-model database startup SurrealDB raises $20M and announces cloud beta access
18 June 2024, SiliconANGLE News

SurrealDB Raises $20M To Disrupt Big Data Industry
20 June 2024, Datanami

SurrealDB Raises $20 Million to Disrupt Database Tech; Introduces New Cloud Beta Access
18 June 2024, PR Newswire

provided by Google News

Oracle starts peddling Exalytics in-memory appliance
12 March 2012, The Register

SAP S&D Benchmark - The Intel Xeon E7-8800 v3 Review: The POWER8 Killer?
8 May 2015, AnandTech

provided by Google News



Share this page

Featured Products

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

RaimaDB logo

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

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

Neo4j logo

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

Present your product here