DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Apache Phoenix vs. Derby vs. MongoDB vs. Spark SQL vs. TiDB

System Properties Comparison Apache Phoenix vs. Derby vs. MongoDB vs. Spark SQL vs. TiDB

Editorial information provided by DB-Engines
NameApache Phoenix  Xexclude from comparisonDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  Xexclude from comparisonMongoDB  Xexclude from comparisonSpark SQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionA scale-out RDBMS with evolutionary schema built on Apache HBaseFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.One 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 processingTiDB 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 modelRelational DBMSRelational DBMSDocument storeRelational 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
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.97
Rank#126  Overall
#59  Relational DBMS
Score4.71
Rank#69  Overall
#37  Relational DBMS
Score421.65
Rank#5  Overall
#1  Document stores
Score18.96
Rank#33  Overall
#20  Relational DBMS
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitephoenix.apache.orgdb.apache.org/­derbywww.mongodb.comspark.apache.org/­sqlpingcap.com
Technical documentationphoenix.apache.orgdb.apache.org/­derby/­manuals/­index.htmlwww.mongodb.com/­docs/­manualspark.apache.org/­docs/­latest/­sql-programming-guide.htmldocs.pingcap.com/­tidb/­stable
DeveloperApache Software FoundationApache Software FoundationMongoDB, IncApache Software FoundationPingCAP, Inc.
Initial release20141997200920142016
Current release5.0-HBase2, July 2018 and 4.15-HBase1, December 201910.17.1.0, November 20236.0.7, June 20233.5.0 ( 2.13), September 20238.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache Version 2.0Open Source infoApache version 2Open 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.0Open Source infoApache 2.0
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.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaJavaC++ScalaGo, Rust
Server operating systemsLinux
Unix
Windows
All OS with a Java VMLinux
OS X
Solaris
Windows
Linux
OS X
Windows
Linux
Data schemeyes infolate-bound, schema-on-read capabilitiesyesschema-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.yesyes
Typing infopredefined data types such as float or dateyesyesyes 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.noyesnono
Secondary indexesyesyesyesnoyes
SQL infoSupport of SQLyesyesRead-only SQL queries via the MongoDB Atlas SQL InterfaceSQL-like DML and DDL statementsyes
APIs and other access methodsJDBCJDBCGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
JDBC
ODBC
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC
C#
C++
Go
Groovy
Java
PHP
Python
Scala
JavaActionscript 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
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 proceduresuser defined functionsJava Stored ProceduresJavaScriptnono
Triggersnoyesyes infoin MongoDB Atlas onlynono
Partitioning methods infoMethods for storing different data on different nodesShardingnoneSharding 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 Corehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication
Source-replica replication
Source-replica replicationMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
noneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsHadoop integrationnoyesyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency or Eventual ConsistencyImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate Consistency
Foreign keys infoReferential integritynoyesno infotypically not used, however similar functionality with DBRef possiblenoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDMulti-document ACID Transactions with snapshot isolationnoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyes infooptional, enabled by defaultyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyes infoIn-memory storage engine introduced with MongoDB version 3.2nono
User concepts infoAccess controlAccess Control Lists (using HBase ACL) for RBAC, integration with Apache Ranger for RBAC & ABAC, multi-tenancyfine grained access rights according to SQL-standardAccess rights for users and rolesnoFine grained access rights according to SQL-standard
More information provided by the system vendor
Apache PhoenixDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBMongoDBSpark SQLTiDB
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» 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
- 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
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
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
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» 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 partiesNavicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

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

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
Apache PhoenixDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBMongoDBSpark SQLTiDB
DB-Engines blog posts

Cloudera's HBase PaaS offering now supports Complex Transactions
11 August 2021,  Krishna Maheshwari (sponsor) 

show all

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

Supercharge SQL on Your Data in Apache HBase with Apache Phoenix | Amazon Web Services
2 June 2016, AWS Blog

Azure #HDInsight Apache Phoenix now supports Zeppelin
16 August 2018, Microsoft

Bridge the SQL-NoSQL gap with Apache Phoenix
4 February 2016, InfoWorld

Apache Calcite, FreeMarker, Gora, Phoenix, and Solr updated
27 March 2017, SDTimes.com

Hortonworks Starts Hadoop Summit with Data Platform Update -- ADTmag
28 June 2016, ADT Magazine

provided by Google News

JDBC tutorial: Easy installation and setup with Apache Derby
20 December 2019, TheServerSide.com

The Arrival of Java 20
21 March 2023, Oracle

Installing Apache Hive 3.1.2 on Windows 10 | by Hadi Fadlallah
3 May 2020, Towards Data Science

The ApacheĀ® Software Foundation Announces 18 Years of Open Source Leadership
28 March 2017, GlobeNewswire

No, Citrix did not kill CloudStack
15 September 2014, InfoWorld

provided by Google News

MongoDB (MDB) to Report Q1 Earnings: What's in the Offing?
28 May 2024, Zacks Investment Research

Quest Partners LLC Purchases New Position in MongoDB, Inc. (NASDAQ:MDB)
28 May 2024, Defense World

Insights Into MongoDB (MDB) Q1: Wall Street Projections for Key Metrics
24 May 2024, Yahoo Finance

MongoDB Q1 Earnings Preview: Caution As Investor Optimism Elevated (NASDAQ:MDB)
26 May 2024, Seeking Alpha

MongoDB CEO Ittycheria: AI Has Reached 'A Crucible Moment' In Its Development.
9 May 2024, CRN

provided by Google News

Run Apache Hive workloads using Spark SQL with Amazon EMR on EKS | Amazon Web Services
18 October 2023, 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

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

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

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

provided by Google News



Share this page

Featured Products

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

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

Neo4j logo

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

Milvus logo

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

Present your product here