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 > MongoDB vs. Spark SQL vs. Stardog vs. TDengine vs. TiDB

System Properties Comparison MongoDB vs. Spark SQL vs. Stardog vs. TDengine vs. TiDB

Editorial information provided by DB-Engines
NameMongoDB  Xexclude from comparisonSpark SQL  Xexclude from comparisonStardog  Xexclude from comparisonTDengine  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureSpark SQL is a component on top of 'Spark Core' for structured data processingEnterprise Knowledge Graph platform and graph DBMS with high availability, high performance reasoning, and virtualizationTime Series DBMS and big data platformTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelDocument storeRelational DBMSGraph DBMS
RDF store
Time Series DBMSRelational 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
Relational DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score421.08
Rank#5  Overall
#1  Document stores
Score18.04
Rank#33  Overall
#20  Relational DBMS
Score2.07
Rank#122  Overall
#11  Graph DBMS
#6  RDF stores
Score2.68
Rank#106  Overall
#9  Time Series DBMS
Score4.25
Rank#74  Overall
#40  Relational DBMS
Websitewww.mongodb.comspark.apache.org/­sqlwww.stardog.comgithub.com/­taosdata/­TDengine
tdengine.com
pingcap.com
Technical documentationwww.mongodb.com/­docs/­manualspark.apache.org/­docs/­latest/­sql-programming-guide.htmldocs.stardog.comdocs.tdengine.comdocs.pingcap.com/­tidb/­stable
DeveloperMongoDB, IncApache Software FoundationStardog-UnionTDEngine, previously Taos DataPingCAP, Inc.
Initial release20092014201020192016
Current release6.0.7, June 20233.5.0 ( 2.13), September 20237.3.0, May 20203.0, August 20228.1.0, May 2024
License infoCommercial or Open SourceOpen 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 2.0commercial info60-day fully-featured trial license; 1-year fully-featured non-commercial use license for academics/studentsOpen Source infoAGPL V3, also commercial editions availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud serviceno infoMongoDB available as DBaaS (MongoDB Atlas)nononono
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.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC++ScalaJavaCGo, Rust
Server operating systemsLinux
OS X
Solaris
Windows
Linux
OS X
Windows
Linux
macOS
Windows
Linux
Windows
Linux
Data schemeschema-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.yesschema-free and OWL/RDFS-schema supportyesyes
Typing infopredefined data types such as float or dateyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyesyesyesyes
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 infoImport/export of XML data possiblenono
Secondary indexesyesnoyes infosupports real-time indexing in full-text and geospatialnoyes
SQL infoSupport of SQLRead-only SQL queries via the MongoDB Atlas SQL InterfaceSQL-like DML and DDL statementsYes, compatible with all major SQL variants through dedicated BI/SQL ServerStandard SQL with extensions for time-series applicationsyes
APIs and other access methodsGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
JDBC
ODBC
GraphQL query language
HTTP API
Jena RDF API
OWL
RDF4J API
Sesame REST HTTP Protocol
SNARL
SPARQL
Spring Data
Stardog Studio
TinkerPop 3
JDBC
RESTful HTTP API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesActionscript 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
Java
Python
R
Scala
.Net
Clojure
Groovy
Java
JavaScript
Python
Ruby
C
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Rust
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresJavaScriptnouser defined functions and aggregates, HTTP Server extensions in Javanono
Triggersyes infoin MongoDB Atlas onlynoyes infovia event handlersyes, via alarm monitoringno
Partitioning methods infoMethods for storing different data on different nodesSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.yes, utilizing Spark CorenoneShardinghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
noneMulti-source replication in HA-ClusteryesUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnoyes infowith TiSpark Connector
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 in HA-ClusterImmediate Consistency
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possiblenoyes inforelationships in graphsnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataMulti-document ACID Transactions with snapshot isolationnoACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyes infooptional, enabled by defaultyesyesyesyes
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.2noyesno
User concepts infoAccess controlAccess rights for users and rolesnoAccess rights for users and rolesyesFine grained access rights according to SQL-standard
More information provided by the system vendor
MongoDBSpark SQLStardogTDengineTiDB
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
TDengine™ is a next generation data historian purpose-built for Industry 4.0 and...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
High Performance at any Scale: TDengine is purpose-built for handling massive industrial...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
TDengine is designed for Industrial IoT scenarios, including: Manufacturing Connected...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
TDengine has garnered over 22,500 stars on GitHub and is used in over 50 countries...
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
TDengine OSS is an open source, cloud native time series database. It includes built-in...
» more
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more
News

Streamlining Time-Series Data Management with TDengine’s PostgreSQL Connector
12 June 2024

Enhancing IoT and Industrial Data Management with TDengine’s MySQL Connector
12 June 2024

Comprehensive Comparison Between TDengine and MongoDB
6 June 2024

Comprehensive Comparison Between TDengine and TimescaleDB
5 June 2024

Mastering Memory Leak Detection in TDengine
31 May 2024

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

CData: Connect to Big Data & NoSQL through standard Drivers.
» 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
MongoDBSpark SQLStardogTDengineTiDB
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

MongoDB Joins Digital Twin Consortium, Bringing AI and Real-Time Data Expertise
12 June 2024, Datanami

MongoDB (NASDAQ:MDB) Shares Up 2.1%
16 June 2024, Defense World

Alger Mid Cap Growth Fund Maintains its Conviction in MongoDB (MDB)
14 June 2024, Yahoo Finance

MongoDB Stock Sinks 20% As Company Lowers Sales Guidance
31 May 2024, Investor's Business Daily

Why MongoDB Stock Plunged Today
31 May 2024, The Motley Fool

provided by Google News

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

Performant IPv4 Range Spark Joins | by Jean-Claude Cote
24 January 2024, Towards Data Science

Simba Technologies(R) Introduces New, Powerful JDBC Driver With SQL Connector for Apache Spark(TM)
17 March 2024, Yahoo Singapore News

provided by Google News

TDengine named Top Global Industrial Data Management Solution
4 January 2024, IT Brief Australia

TDengine debuts cloud-based time-series data processing platform for IoT deployments
20 September 2022, SiliconANGLE News

New TDengine Benchmark Results Show Up to 37.0x Higher Query Performance Than InfluxDB and TimescaleDB
28 February 2023, Yahoo Finance

Comparing Different Time-Series Databases
10 February 2022, hackernoon.com

MindsDB is now the leading and fastest growing applied ML platform in the world India - English
3 November 2022, PR Newswire

provided by Google News

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

TiDB by PingCAP Leads Data Management Revolution at GIDS 2024, Empowering India's Burgeoning Developer ...
25 April 2024, CXOToday.com

Navigating Modern Data Challenges: Ed Huang, CTO of PingCAP on the Future of Distributed SQL Databases
10 June 2024, DATAQUEST

provided by Google News



Share this page

Featured Products

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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