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 No Yes Yes
Integrity model ?
Atomicity Conditional Yes Yes
Consistency Yes Yes Yes
Isolation Yes 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 ? ?
Documentation level ★★★★☆ ★★★★★ ★★★★☆
RESTful No Yes ?
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 ? Yes
Cloud platform support
Online backup Yes Yes Yes
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 Good
Query Cache Yes Yes Yes
Ease of use ★★★★★ ★★★★★ ★★★★★
In-Place Update Yes ? Yes
Free for commercial use Yes Yes No
Sorts Yes Yes Yes
Capped Collections Yes Yes ?
Tuneable write concerns Yes Yes Yes
Read preferences Yes No ?
Open Source Yes Yes Yes
Triggers No No Yes
Perfomance ★★★★☆ ★★★★★ ★★★★★
Pause Test Yes ? ?
Cross Domain Testing No ? ?
Pipeline Aggregation Yes Yes Yes
Spring Data Support Yes Yes Yes
Geospatial Yes No Yes
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 ?
Yes No ?
Object-Relational Mapping (ORM) ? Yes Yes
Distributed Counter ? Yes ?
Creation Date ? 2009 ?
WSDL ? No ?
API ? Basic ?
Event Driven Architecture ? Yes ?
Maven support ? Yes ?
Server Side Java Script ? Yes No
Corruption Resistant ? No ?
Number of systems in production ? 3 335 ?
Name Starts With M ? No ?
memcached protocol ? No ?
Devs like Burritos ? Yes ?
Eat Hotdogs ? Yes ?
Multilingual content ? ? Yes
WYSIWYG-Editor ? ? No
Partial Index ? ? 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.