DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Ehcache vs. MongoDB vs. Riak KV vs. Spark SQL

System Properties Comparison Ehcache vs. MongoDB vs. Riak KV vs. Spark SQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonMongoDB  Xexclude from comparisonRiak KV  Xexclude from comparisonSpark SQL  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureDistributed, fault tolerant key-value storeSpark SQL is a component on top of 'Spark Core' for structured data processing
Primary database modelKey-value storeDocument storeKey-value store infowith links between data sets and object tags for the creation of secondary indexesRelational 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
Score5.55
Rank#69  Overall
#8  Key-value stores
Score424.53
Rank#5  Overall
#1  Document stores
Score4.95
Rank#76  Overall
#9  Key-value stores
Score19.56
Rank#34  Overall
#21  Relational DBMS
Websitewww.ehcache.orgwww.mongodb.comspark.apache.org/­sql
Technical documentationwww.ehcache.org/­documentationwww.mongodb.com/­docs/­manualwww.tiot.jp/­riak-docs/­riak/­kv/­latestspark.apache.org/­docs/­latest/­sql-programming-guide.html
DeveloperTerracotta Inc, owned by Software AGMongoDB, IncOpenSource, formerly Basho TechnologiesApache Software Foundation
Initial release2009200920092014
Current release3.10.0, March 20226.0.7, June 20233.2.0, December 20223.5.0 ( 2.13), September 2023
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen 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 version 2, commercial enterprise editionOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenono 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 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 languageJavaC++ErlangScala
Server operating systemsAll OS with a Java VMLinux
OS X
Solaris
Windows
Linux
OS X
Linux
OS X
Windows
Data schemeschema-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 dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialnoyes
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.nonono
Secondary indexesnoyesrestrictedno
SQL infoSupport of SQLnoRead-only SQL queries via the MongoDB Atlas SQL InterfacenoSQL-like DML and DDL statements
APIs and other access methodsJCacheGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
HTTP API
Native Erlang Interface
JDBC
ODBC
Supported programming languagesJavaActionscript 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
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Java
Python
R
Scala
Server-side scripts infoStored proceduresnoJavaScriptErlangno
Triggersyes infoCache Event Listenersyes infoin MongoDB Atlas onlyyes infopre-commit hooks and post-commit hooksno
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta ServerSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.Sharding infono "single point of failure"yes, utilizing Spark Core
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta ServerMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
selectable replication factornone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesyes
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)Eventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Eventual Consistency
Foreign keys infoReferential integritynono infotypically not used, however similar functionality with DBRef possibleno infolinks between data sets can be storedno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourceMulti-document ACID Transactions with snapshot isolationnono
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyes infooptional, enabled by defaultyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlnoAccess rights for users and rolesyes, using Riak Securityno
More information provided by the system vendor
EhcacheMongoDBRiak KVSpark SQL
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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» 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
EhcacheMongoDBRiak KVSpark SQL
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

Ehcache 3.0 Released with Revamped API and Off-Heap Storage
2 May 2016, InfoQ.com

Setting Up Distributed Infinispan Cache with Hibernate and Spring
26 May 2016, dzone.com

Atlassian asks customers to patch critical Jira vulnerability
22 July 2021, BleepingComputer

Terracotta: A Picture of the Changing Database Market
20 July 2010, ReadWrite

Ehcache Joins Terracotta
18 August 2009, InfoQ.com

provided by Google News

Decoding 26 Analyst Evaluations For MongoDB - MongoDB (NASDAQ:MDB)
28 March 2024, Benzinga

MongoDB (NASDAQ:MDB) Price Target Increased to $500.00 by Analysts at Tigress Financial
28 March 2024, MarketBeat

How to Build Your Own RAG System With LlamaIndex and MongoDB
27 March 2024, Built In

MongoDB: The Future Propelled By Atlas Cloud Database (NASDAQ:MDB)
24 March 2024, Seeking Alpha

MongoDB, Inc. (MDB) Is a Trending Stock: Facts to Know Before Betting on It
25 March 2024, Zacks Investment Research

provided by Google News

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

Basho, Maker of Riak NoSQL Database, Raises $25M
13 January 2015, Data Center Knowledge

A Critique of Resizable Hash Tables: Riak Core & Random Slicing
26 August 2018, InfoQ.com

Riak's NoSQL Database and its New Fit with Apache Mesos
19 August 2015, The New Stack

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

provided by Google News

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

Run Spark SQL on Amazon Athena Spark | AWS Big Data Blog
23 October 2023, AWS Blog

1.5 Years of Spark Knowledge in 8 Tips | by Michael Berk
23 December 2023, Towards Data Science

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

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

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

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Present your product here