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 > Ehcache vs. MongoDB vs. TiDB

System Properties Comparison Ehcache vs. MongoDB vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonMongoDB  Xexclude from comparisonTiDB  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 infrastructureTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelKey-value storeDocument storeRelational 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
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.47
Rank#66  Overall
#9  Key-value stores
Score478.24
Rank#5  Overall
#1  Document stores
Score3.54
Rank#93  Overall
#49  Relational DBMS
Websitewww.ehcache.orgwww.mongodb.compingcap.com
Technical documentationwww.ehcache.org/­documentationdocs.mongodb.com/­manualdocs.pingcap.com/­tidb/­stable
DeveloperTerracotta Inc, owned by Software AGMongoDB, IncPingCAP, Inc.
Initial release200920092016
Current release3.9.6, September 20215.0.8, April 20225.0.1, April 2021
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 2.0
Cloud-based only infoOnly available as a cloud servicenono 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.
  • 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.
  • 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 languageJavaC++Go, Rust
Server operating systemsAll OS with a Java VMLinux
OS X
Solaris
Windows
Linux
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.yes
Typing infopredefined data types such as float or dateyesyes 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 indexesnoyesyes
SQL infoSupport of SQLnoRead-only SQL queries via the MongoDB Connector for BIyes
APIs and other access methodsJCacheproprietary protocol using JSONJDBC
ODBC
Proprietary protocol
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
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
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 proceduresnoJavaScriptno
Triggersyes infoCache Event Listenersyes infoin MongoDB Atlas onlyno
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.horizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta ServerMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)Eventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate Consistency
Foreign keys infoReferential integritynono infotypically not used, however similar functionality with DBRef possibleno infocurrently only supported in syntax
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 isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyes infooptional, enabled by defaultyes
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 rolesUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
EhcacheMongoDBTiDB
Specific characteristicsMongoDB’s application data platform provides developers a unified interface to power...
» more
TiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantagesThe MongoDB platform can be used by developers building transactional, operational,...
» more
In the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosInternet of Things and Time Series (Bosch, Jaguar Land Rover) Mobile (The Weather...
» more
TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Shopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics200+ million downloads, over 1.5M Atlas database clusters under management handling...
» more
25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

TiDB Operator Source Code Reading (V): Backup and Restore
14 December 2021

Implementing Chaos Engineering in K8s: Chaos Mesh Principle Analysis and Control Plane Development
9 December 2021

TiDB 5.3: Delivering Enhancements for Data Intensive Applications
7 December 2021

Believe in the Multiplicative Power of Openness
30 November 2021

How to Connect TiDB Cloud to Metabase
24 November 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 partiesNavicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» 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
EhcacheMongoDBTiDB
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

Jira Data Center user? Here's a critical Ehcache vulnerability to spoil your day
22 July 2021, The Register

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

Memcached surpasses EhCache and Coherence in Java Job Demand
13 September 2011, InfoQ.com

Terabyte-sized Java apps now possible
22 July 2010, InfoWorld

How to Create a Spring Boot App With Caching Enabled
1 February 2017, DZone

provided by Google News

Why MongoDB Stock Went Up on Friday
20 May 2022, The Motley Fool

MongoDB: A Software Developers Perspective (NASDAQ:MDB)
28 April 2022, Seeking Alpha

MongoDB just opened a hybrid Philly office for its local employees
11 May 2022, Technical.ly

How to Set Up MongoDB Cluster in the Cloud for Free - MUO
12 May 2022, MakeUseOf

MongoDB's document-oriented model strikes a chord with developers
11 May 2022, SiliconANGLE News

provided by Google News

PingCap brings TiDB distributed SQL HTAP database to cloud
11 May 2022, TechTarget

Takuya Hirano Joins PingCAP as an Executive Advisor
19 May 2022, PR Newswire

Raft Engine: a Log-Structured Embedded Storage Engine for Multi-Raft Logs in TiKV
12 May 2022, InfoQ.com

PingCAP Enhances Support for Data Intensive Applications with TiDB 5.3
7 December 2021, PR Newswire

PingCap TiDB 5.3 Supports Both High Volume Transaction Processing and Real-Time Analytics
4 January 2022, Database Trends and Applications

provided by Google News

Job opportunities

Jr. Backend Engineer
Viant, Irvine, CA

Sr. Software Developer
Pioneer Consulting Services, West Des Moines, IA

Core Java Software Developer
Tiger IT Solutions, Greenwich, CT

Java Software Development Engineer
JPMorgan Chase Bank, N.A., Jersey City, NJ

Systems Specialist
otisitinc, Greenville, DE

MongoDB
State Tech, Remote

MongoDB Database Engineer (work from home)
Cigna, St. Louis, MO

Technical Lead - Full Stack (NodeJS, Angular, MongoDB, JS)
Irisidea TechSolutions Pvt Ltd, Remote

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

Software Test Engineer (entry-level)
Real-Time Technology Solutions, Remote

Sales Account Executive- Remote
PingCAP, Remote

Software Engineer - Availability, Cash App
Cash App, New York, NY

Software Engineer - Availability, Cash App
Cash App, Los Angeles, CA

Software Engineer - Cash Cards
Cash App, Austin, TX

Software Engineer - Cash Cards
Cash App, New York, NY

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Vertica logo

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

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

Neo4j logo

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

Redis logo

The world’s most loved real‑time data platform.
Try free

Present your product here