Create entry

MongoDB vs. Redis vs. MySQL

MongoDB Redis MySQL
Preference 50% votes 26% votes 24% votes
Website www.​mongodb.​com redis.​io www.​mysql.​com
Database model
Data storage
Embeddable Yes 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 Yes Yes Yes
Isolation No Yes Yes
Durability (data storage) Yes Yes Yes
Transactions No Yes Yes
Referential integrity Yes No Yes
Revision control No No Yes
Locking model
Secondary Indexes Yes No Yes
Composite keys Yes No Yes
Full text search Yes No Yes
Geospatial Indexes Yes No Yes
Graph support No No No
Horizontal scalable Yes Yes Yes
Replication Yes Yes Yes
Replication mode
Sharding Yes Yes Yes
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 Yes Yes
Extension/Plug-in Yes Yes Yes
Database ?
Price rating ★★★★★ ★★★★☆ ★★★★★
Standard compliance No ? Yes
Software distribution
Release Date March 2009 ? 23ʳᵈ May 1995
Documentation level ★★★★☆ ★★★★★ ★★★★☆
RESTful No Yes Conditional
Lines of code 617 k 30 k 1 100 k
Free to use Yes Yes Conditional
Active Yes Yes Yes
Database Connection Pooling Yes Yes Yes
Real time analytics Yes Yes Conditional
Community Driven Basic Good Good
Web interface Yes No Yes
Data encryption Conditional ? Yes
Cloud platform support
Online backup Yes Yes Yes
Partial Index No No No
Function Based Index No No No
Key length max 255 ? 765
Log Yes Yes Yes
Implementation flexibility 78% votes 11% votes 11% 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 ? Yes
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
Op/s 5 000 ? ?
Triggers No No 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 No Yes
Server Side Java Script Yes Yes No
JSON Yes ? Yes
Flexible Table(Schema) Yes Yes No
Geo-distributed Yes No ?
Max rows in query result 1 000 ? ?
Re-Reduce Yes No ?
Clustering over WAN Yes ? ?
Stored Procedure Yes No Yes
Auto-Sharding Yes No ?
Does your mom understand it No ? No
Recursive queries No ? ?
Network datatype No ? ?
Windowed aggregate No ? ?
Object-Relational Mapping (ORM) ? Yes Yes
Distributed Counter ? Yes ?
Creation Date ? 2009 ?
WSDL ? No ?
API ? Good ?
Event Driven Architecture ? Yes ?
Maven support ? Yes ?
Corruption Resistant ? No ?
Number of systems in production ? 3 336 ?
SQL Queries ? Yes ?
memcached protocol ? Yes ?
Multilingual content ? ? Yes
WYSIWYG-Editor ? ? No
Multivariate Testing ? ? No
Text Analytics ? ? 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.