Create entry

MongoDB vs. Redis vs. MySQL

MongoDB Redis MySQL
Preference 52% votes 24% votes 23% votes
Website www.​mongodb.​org redis.​io www.​mysql.​com
Database model
Data storage
Embeddable No No Yes
Query language
Data types
Conditional entry updates Yes Yes Yes
Map and reduce Yes No No
Unicode Yes Yes Yes
TTL for entries Yes Yes No
Compression Yes Yes Yes
Integrity model ?
Atomicity Conditional Yes Yes
Consistency No Yes Yes
Isolation No Yes Yes
Durability (data storage) Yes Yes Yes
Transactions No Yes Yes
Referential integrity No No Yes
Revision control Yes No Yes
Locking model
Secondary Indexes Yes No Yes
Composite keys Yes No Yes
Full text search Yes No Yes
Geospatial Indexes Yes Yes Yes
Graph support No No No
Horizontal scalable Yes Yes Yes
Replication Yes Yes Yes
Replication mode
Sharding Yes Yes No
Shared nothing architecture Yes Yes Yes
Value size max. 16 MB 512 MB 10 B
System requirements
Operating system
Native driver
Memory minimum ? 3 GB 11 MB
Programming language
Description Document Oriented Database In-memory data structure store Relational database system
Brand ?
Multi-user system Yes No Conditional
Extension/Plug-in Yes No Yes
Database ? ?
Multilingual content Yes ? Yes
Price rating ★★★★★ ★★★★★ ★★★★☆
WYSIWYG-Editor Yes ? Yes
Standard compliance No Yes Yes
Software distribution
Object-Relational Mapping (ORM) Yes Yes Yes
Release Date March 2009 ? 1995
Documentation level ★★★★★ ★★★★★ ★★★★☆
RESTful Conditional Yes No
Lines of code 617 k 30 k 1 100 k
Free to use Yes Yes Yes
Active Yes Yes Yes
Database Connection Pooling Yes Yes Yes
Real time analytics Yes Yes Conditional
Community Driven Good Good Good
Web interface Yes No Yes
Data encryption Yes ? Yes
API Basic Good ?
Cloud platform support
Online backup Yes Yes Yes
Admin Generator Yes ? ?
Partial Index Yes No No
Function Based Index No No Yes
Key length max 128 10 246 3 072
Log Yes Yes Yes
Implementation flexibility 72% votes 11% votes 17% votes
Download mongodb.​org/​downloads redis.​io/​download dev.​mysql.​com/​downloads/​
Backup functionality Good Good Basic
Query Cache Yes Yes Yes
Ease of use ★★★★★ ★★★★★ ★★★★★
In-Place Update Yes ? No
Free for commercial use Yes Yes Yes
Sorts Yes Yes Yes
Capped Collections Yes Yes ?
Tuneable write concerns Yes Yes Yes
Read preferences Yes Yes ?
Open Source Yes Yes Yes
Triggers No Yes Yes
Perfomance ★★★★☆ ★★★★★ ★★★☆☆
Pause Test Yes ? ?
Cross Domain Testing No ? ?
Materialized Views No ? No
Pipeline Aggregation Yes Yes Yes
Spring Data Support Yes Yes Yes
Geospatial Yes Yes Yes
Server Side Java Script Yes Yes No
JSON Yes Yes Yes
Flexible Table(Schema) Yes Yes No
Geo-distributed Yes No ?
Max rows in query result 1 000 ? ?
ORM Join Support No No ?
Re-Reduce Yes No ?
Clustering over WAN No ? ?
Fully Distributed Yes ? ?
Stored Procedure No Yes Yes
Auto-Sharding Yes No ?
24/7 support No ? Yes
Free edition Yes Yes Yes
Yes ? ?
Multi-statement Transactions No ? ?
memcached protocol No Yes ?
Monitoring UI Yes Yes Yes
Network datatype No ? ?
CLI` Yes Yes Yes
Distributed Counter ? Yes ?
Creation Date ? 2009 1995
WSDL ? No ?
Event Driven Architecture ? Yes ?
Maven support ? Yes ?
Cloud-enabled ? Yes ?
Corruption Resistant ? No ?
Second Level Caching ? Yes ?
Aggregators ? No ?
Near cache ? No ?
Continuous query ? No ?
HTTP Session replication ? No ?
Number of systems in production ? 3 338 ?
Does your mom understand it ? No ?
Multiple projects ? ? Yes
Multivariate Testing ? ? No
Text Analytics ? ? Yes
Ajax ? ? Yes
Concurrency ? ? Yes
Попаболь ? ? Yes
Online backup (no locking) ? ? Yes
Abstracts complexity of UI Components ? ? Yes
+ Add row +++
MongoDB Redis MySQL
  • vsChart is like a wiki

    Just click a data cell to edit it.
    Take part and share your knowledge with the world.

  • blue
    = good
    = better
  • Embed it on your site
  • Copy & Share
  • Creative Commons License License
  • EnglishGerman (Deutsch)

Write a review or comment

Please login (with Facebook, Twitter or OpenID) to use this form.